|
SHA-2 Workbench
1.0
|
\(Maj\) function block More...
Entities | |
| RTL | architecture |
| Architecture of the \(Maj\) function block. More... | |
Libraries | |
| ieee | |
| Standard library. | |
Use Clauses | |
| std_logic_1164 | |
| Standard 9-values logic library. | |
Generics | |
| width | natural := 32 |
| Width of the words of the Compressor. | |
Ports | |
| x | in std_logic_vector ( width - 1 downto 0 ) |
| \(x\) input of the function block | |
| y | in std_logic_vector ( width - 1 downto 0 ) |
| \(y\) input of the function block | |
| z | in std_logic_vector ( width - 1 downto 0 ) |
| \(z\) input of the function block | |
| o | out std_logic_vector ( width - 1 downto 0 ) |
| Output of the function block. | |
\(Maj\) function block
This component computes the function
\[ Maj\left(x,y,z\right) = \left(x \wedge y\right) \oplus \left(x \wedge z\right) \oplus \left(y \wedge z\right) \]
|
Library |
Standard library.
|
Package |
Standard 9-values logic library.
|
Generic |
Width of the words of the Compressor.