Package: codec_builder_pkg
- File: codec_builder.vhd
Constants
| Name | Type | Value | Description |
|---|---|---|---|
| integer_code_length | positive | 4 | |
| boolean_code_length | positive | 1 | |
| real_code_length | positive | boolean_code_length + 3 * integer_code_length | |
| std_ulogic_code_length | positive | 1 | |
| bit_code_length | positive | 1 | |
| time_code_length | positive | 8 | |
| severity_level_code_length | positive | 1 | |
| file_open_status_code_length | positive | 1 | |
| file_open_kind_code_length | positive | 1 | |
| complex_code_length | positive | 2 * real_code_length | |
| complex_polar_code_length | positive | 2 * real_code_length |
Types
| Name | Type | Description |
|---|---|---|
| std_ulogic_array | array (integer range <>) of std_ulogic |
Functions
- get_simulator_resolution () return time
- to_byte_array ( constant value : bit_vector) return string
- from_byte_array ( constant byte_array : string) return bit_vector
- decode ( constant code : string;
variable index : inout positive;
variable result : out integer) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out real) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out time) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out boolean) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out bit) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out std_ulogic) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out severity_level) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out file_open_status) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out file_open_kind) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out character) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out std_ulogic_array) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out string) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out bit_vector) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out std_ulogic_vector) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out complex) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out complex_polar) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out ieee.numeric_bit.unsigned) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out ieee.numeric_bit.signed) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out ieee.numeric_std.unsigned) return ()
- decode ( constant code : string;
variable index : inout positive;
variable result : out ieee.numeric_std.signed) return ()
- encode_array_header ( constant range_left1 : string;
constant range_right1 : string;
constant is_ascending1 : string;
constant range_left2 : string := "";
constant range_right2 : string := "";
constant is_ascending2 : string := "T") return string