SHA-2 Workbench
1.0
|
Control Unit for the hash core. More...
Entities | |
FSM | architecture |
Finite State Machine to control the hash core. More... | |
Reordering | architecture |
Finite State Machine with support for resource reordering . More... | |
Libraries | |
ieee | |
Standard library. |
Use Clauses | |
std_logic_1164 | |
Standard 9-values logic library. |
Generics | |
CYCLES_PER_STAGE | natural := 1 |
Ports | |
clk | in std_logic |
Clock of this component. | |
not_rst | in std_logic |
Active-low asynchronous reset signal. | |
start | in std_logic |
When asserted, a new Padded Data Block to be hashed is present at input. | |
count_top | in std_logic |
Asserted when a round is over. | |
count_stages_top | in std_logic |
Asserted when the pipeline has been flushed. | |
not_reset_count | out std_logic |
Active-low signal to reset the step counter. | |
count | out std_logic |
Asserted during hash computation to enable step counting. | |
count_stages | out std_logic |
Asserted when no new Padded Data Block is available, in order to complete the ongoing hashes. | |
first_major_cycle | out std_logic |
Control signal to allow starting the hash core. | |
expander_init | out std_logic |
Control signal to initialises the expansion pipeline. | |
ready_cu | out std_logic |
Control signal asserted when the circuit can accept new inputs. |
Control Unit for the hash core.
It employs an external stage counter so as to be able to support a generic number of pipeline stages
|
Port |
Clock of this component.
|
Port |
Asserted during hash computation to enable step counting.
|
Port |
Asserted when no new Padded Data Block is available, in order to complete the ongoing hashes.
|
Port |
Asserted when the pipeline has been flushed.
|
Port |
Asserted when a round is over.
|
Generic |
|
Port |
Control signal to initialises the expansion pipeline.
|
Port |
Control signal to allow starting the hash core.
This signal fixes end_major_cycle behaviour during the very first major cycle
|
Library |
Standard library.
|
Port |
Active-low signal to reset the step counter.
|
Port |
Active-low asynchronous reset signal.
|
Port |
Control signal asserted when the circuit can accept new inputs.
This signal is used only in fully pipelined architectures. In other cases, it is always low
|
Port |
When asserted, a new Padded Data Block to be hashed is present at input.
|
Package |
Standard 9-values logic library.