My Project  v0.0.16
Libraries | Use Clauses | Subtypes | Types | Constants | Functions
decoder_testbench_package Package Reference
Package Body >> decoder_testbench_package

Functions

parity_ham_8bit   hamming_encoder_8bit ( data_in: in data_ham_8bit )
parity_ham_32bit   hamming_encoder_32bit ( data_in: in data_ham_32bit )
Addr_frame_42bit   send_broadcast (
EcntRst: in std_logic
BcntRst: in std_logic
TestCmd: in TestCmd_type
ShortCmd: in ShortCmd_type
)
Addr_frame_42bit   send_addressed (
TTCrxAdd: in TTCrxAddr_type
ExtBit: in std_logic
SubAddr: in Bus_8bits
Data: in Bus_8bits
)

Libraries

ieee 

Use Clauses

std_logic_1164 
std_logic_unsigned 

Constants

start  std_logic := ' 0 '
brdcst_fmt  std_logic := ' 0 '
addr_fmt  std_logic := ' 1 '
idle_B  std_logic_vector ( 41 downto 0 ) := " 111111111111111111111111111111111111111111 "
stop  std_logic := ' 1 '

Types

B_channel_command_list_type ( 0 to 16 ) Addr_frame_42bit

Subtypes

parity_ham_8bit  std_logic_vector ( 4 DOWNTO 0 )
data_ham_8bit  std_logic_vector ( 7 DOWNTO 0 )
coded_ham_8bit  std_logic_vector ( 12 DOWNTO 0 )
parity_ham_32bit  std_logic_vector ( 6 DOWNTO 0 )
data_ham_32bit  std_logic_vector ( 31 DOWNTO 0 )
coded_ham_32bit  std_logic_vector ( 38 DOWNTO 0 )
Addr_frame_42bit  std_logic_vector ( 41 DOWNTO 0 )
ShortCmd_type  std_logic_vector ( 3 DOWNTO 0 )
TestCmd_type  std_logic_vector ( 1 DOWNTO 0 )
TTCrxAddr_type  std_logic_vector ( 13 DOWNTO 0 )
Bus_8bits  std_logic_vector ( 7 DOWNTO 0 )

Member Function Documentation

◆ hamming_encoder_32bit()

parity_ham_32bit hamming_encoder_32bit (   data_in in data_ham_32bit  
)
Function

◆ hamming_encoder_8bit()

parity_ham_8bit hamming_encoder_8bit (   data_in in data_ham_8bit  
)
Function

◆ send_addressed()

Addr_frame_42bit send_addressed (   TTCrxAdd in TTCrxAddr_type ,
  ExtBit in std_logic ,
  SubAddr in Bus_8bits ,
  Data in Bus_8bits  
)
Function

◆ send_broadcast()

Addr_frame_42bit send_broadcast (   EcntRst in std_logic ,
  BcntRst in std_logic ,
  TestCmd in TestCmd_type ,
  ShortCmd in ShortCmd_type  
)
Function

Member Data Documentation

◆ addr_fmt

addr_fmt std_logic := ' 1 '
Constant

◆ Addr_frame_42bit

Addr_frame_42bit std_logic_vector ( 41 DOWNTO 0 )
Subtype

◆ B_channel_command_list_type

◆ brdcst_fmt

brdcst_fmt std_logic := ' 0 '
Constant

◆ Bus_8bits

Bus_8bits std_logic_vector ( 7 DOWNTO 0 )
Subtype

◆ coded_ham_32bit

coded_ham_32bit std_logic_vector ( 38 DOWNTO 0 )
Subtype

◆ coded_ham_8bit

coded_ham_8bit std_logic_vector ( 12 DOWNTO 0 )
Subtype

◆ data_ham_32bit

data_ham_32bit std_logic_vector ( 31 DOWNTO 0 )
Subtype

◆ data_ham_8bit

data_ham_8bit std_logic_vector ( 7 DOWNTO 0 )
Subtype

◆ idle_B

idle_B std_logic_vector ( 41 downto 0 ) := " 111111111111111111111111111111111111111111 "
Constant

◆ ieee

ieee
Library

◆ parity_ham_32bit

parity_ham_32bit std_logic_vector ( 6 DOWNTO 0 )
Subtype

◆ parity_ham_8bit

parity_ham_8bit std_logic_vector ( 4 DOWNTO 0 )
Subtype

◆ ShortCmd_type

ShortCmd_type std_logic_vector ( 3 DOWNTO 0 )
Subtype

◆ start

start std_logic := ' 0 '
Constant

◆ std_logic_1164

std_logic_1164
Package

◆ std_logic_unsigned

◆ stop

stop std_logic := ' 1 '
Constant

◆ TestCmd_type

TestCmd_type std_logic_vector ( 1 DOWNTO 0 )
Subtype

◆ TTCrxAddr_type

TTCrxAddr_type std_logic_vector ( 13 DOWNTO 0 )
Subtype

The documentation for this class was generated from the following file: