Package: ResolutionPkg
- File: ResolutionPkg.vhd
Constants
Name | Type | Value | Description |
---|---|---|---|
MULTIPLE_DRIVER_SEVERITY | severity_level | ERROR |
Types
Name | Type | Description |
---|---|---|
std_logic_vector_max_c | array (natural range <>) of std_logic_max | for non VHDL-2008 |
unsigned_max_c | array (natural range <>) of std_logic_max | for non VHDL-2008 |
signed_max_c | array (natural range <>) of std_logic_max | for non VHDL-2008 |
bit_vector_max_c | array (natural range <>) of bit_max | for non VHDL-2008 |
integer_vector_max_c | array (natural range <>) of integer_max | for non VHDL-2008 |
time_vector_max_c | array (natural range <>) of time_max | for non VHDL-2008 |
real_vector_max_c | array (natural range <>) of real_max | for non VHDL-2008 |
string_max_c | array (positive range <>) of character_max | for non VHDL-2008 |
boolean_vector_max_c | array (natural range <>) of boolean_max | for non VHDL-2008 |
integer_vector_sum_c | array (natural range <>) of integer_sum | for non VHDL-2008 |
time_vector_sum_c | array (natural range <>) of time_sum | for non VHDL-2008 |
real_vector_sum_c | array (natural range <>) of real_sum | for non VHDL-2008 |
resolved_string | array (positive range <>) of resolved_character | will change to subtype -- assert but no init |
Functions
- resolved_max ( s : std_ulogic_vector) return std_ulogic
Description
Note that not all simulators support resolution functions of the form:
subtype std_logic_vector_max is (resolved_max) std_ulogic_vector ;
Hence, types of the form are offered as a temporary workaround until they do:
std_logic_vector_max_c is array (natural range <>) of std_logic_max ; -- for non VHDL-2008
resolved_max
return maximum value.
No initializations required on ports, default of type'left is ok
- resolved_max ( s : bit_vector) return bit
- resolved_max ( s : integer_vector ) return integer
- resolved_max ( s : time_vector ) return time
- resolved_max ( s : real_vector ) return real
- resolved_max ( s : string) return character
- resolved_max ( s : boolean_vector) return boolean
- resolved_sum ( s : integer_vector ) return integer
Description
return sum of values that /= type'left
No initializations required on ports, default of type'left is ok
- resolved_sum ( s : time_vector ) return time
- resolved_sum ( s : real_vector ) return real
- resolved_weak (s : std_ulogic_vector) return std_ulogic
Description
no init, type'left
- resolved ( s : integer_vector ) return integer
Description
legacy stuff
requires ports to be initialized to 0 in the appropriate type.
- resolved ( s : time_vector ) return time
- resolved ( s : real_vector ) return real
- resolved (s : string) return character
Description
same as resolved_max
- resolved ( s : boolean_vector) return boolean
Description
same as resolved_max