|
SHA-2 Workbench
1.0
|
Detail of the test bench. More...
Processes | |
| clock_process | ( ) |
| Process for clock generation. | |
| transient_process | ( ) |
| stim_process | ( ) |
| Test process. | |
Constants | |
| clock_period | time := 10 ns |
| Clock period. | |
| IV | std_logic_vector ( 255 downto 0 ) := x " 6a09e667 " & x " bb67ae85 " & x " 3c6ef372 " & x " a54ff53a " & x " 510e527f " & x " 9b05688c " & x " 1f83d9ab " & x " 5be0cd19 " |
| Initialisation vector. | |
Signals | |
| clk | std_logic := ' 0 ' |
| Clock signal. | |
| not_rst | std_logic := ' 0 ' |
| Asynchronous active-low reset signal. | |
| en | std_logic := ' 0 ' |
| Enable signal. | |
| start | std_logic := ' 0 ' |
| Start signal. | |
| ready | std_logic := ' 0 ' |
| When asserted, a new input can be provided. | |
| completed | std_logic := ' 0 ' |
| When asserted, a new hash output is available. | |
| M_blk | std_logic_vector ( 511 downto 0 ) := ( others = > ' 0 ' ) |
| Padded data block to test. | |
| hash | std_logic_vector ( 255 downto 0 ) := ( others = > ' 0 ' ) |
| Output hash value. | |
Instantiations | |
| uut | SHA2_core <Entity SHA2_core> |
| Unit Under Test. | |
Detail of the test bench.
| clock_process | ( | ) |
Process for clock generation.
|
Process |
Test process.
|
Process |
|
Signal |
Clock signal.
|
Constant |
Clock period.
|
Signal |
When asserted, a new hash output is available.
|
Signal |
Enable signal.
|
Signal |
Output hash value.
|
Constant |
Initialisation vector.
|
Signal |
Padded data block to test.
|
Signal |
Asynchronous active-low reset signal.
|
Signal |
When asserted, a new input can be provided.
|
Signal |
Start signal.
|
Instantiation |
Unit Under Test.