sca-ip-hdl
util Package Reference

Libraries

ieee 

Use Clauses

std_logic_1164 

Constants

key_bits  key_lookup := ( K_64 = > 64 , K_96 = > 96 , K_128 = > 128 )
final_rc  rc_lookup ( 0 to 100 ) := ( 64 = > " 01101 " , 80 = > " 10001 " , 96 = > " 10101 " , others = > " 00000 " )
rounds  round_lookup ( 0 to 100 ) := ( 64 = > 12 , 80 = > 16 , 96 = > 20 , others = > 0 )
key_bits  key_lookup := ( K_80 = > 80 , K_128 = > 128 , K_UNUSED = > 0 )

Types

key_enum ( K_64 , K_96 , K_128 )
key_lookup ( key_enum ) natural
rc_lookup array ( natural range <> ) of std_logic_vector ( 4 downto 0 )
round_lookup array ( natural range <> ) of natural
key_enum ( K_80 , K_128 , K_UNUSED )