|
VHDL-verification
Package to ease directed testing of HDL entities
|
Definition at line 100 of file txt_util.vhd.
Functions | |
| character | chr ( sl: in std_logic ) |
| converts std_logic into a character | |
| string | str ( sl: in std_logic ) |
| converts std_logic into a string (1 to 1) | |
| string | str ( slv: in std_logic_vector ) |
| converts std_logic_vector into a string (binary base) | |
| string | str ( b: in boolean ) |
| converts boolean into a string | |
| character | chr ( int: in integer ) |
| converts an integer into a character | |
| character | ascii ( int: in integer ) |
| string | str ( int: in integer , base: in integer ) |
| convert integer to string using specified base | |
| string | str ( int: in integer ) |
| convert integer to string, using base 10 | |
| string | hstr ( slv: in std_logic_vector ) |
| converts a std_logic_vector into a hex string. | |
| character | to_upper ( c: in character ) |
| convert a character to upper case | |
| character | to_lower ( c: in character ) |
| convert a character to lower case | |
| string | to_upper ( s: in string ) |
| convert a string to upper case | |
| string | to_lower ( s: in string ) |
| convert a string to lower case | |
| std_logic | to_std_logic ( c: in character ) |
| converts a character into a std_logic | |
| std_logic_vector | to_std_logic_vector ( s: in string ) |
| converts a string into std_logic_vector | |
Procedures | |
| print( text: string ) | |
| prints text to the screen | |
| print( active: boolean , text: string ) | |
| prints text to the screen when active | |
| str_read( res_string: out string ) | |
| read variable length string from input file | |
| print( new_string: in string ) | |
| print string to a file | |
| print( char: in character ) | |
| print character to a file and start new line | |
| str_write( new_string: in string ) | |
| appends contents of a string to a file until line feed occurs | |
1.8.13