Chargement…
Chargement…
The entity comparateur_8bit has two inputs i_a and i_b of type std_logic_vector(7 downto 0) and three outputs o_gt, o_eq, o_lt of type std_logic.
Compares two 8-bit unsigned vectors. o_gt='1' when A>B, o_eq='1' when A=B, o_lt='1' when A<B.
| Signal | Direction | Width | Description |
|---|---|---|---|
i_a | Input | 8 bits | Input A |
i_b | Input | 8 bits | Input B |
o_gt | Output | 1 bit | Greater than (A > B) |
o_eq | Output | 1 bit | Equal (A = B) |
o_lt | Output | 1 bit | Less than (A < B) |