Chargement…
Chargement…
The entity bcd_to_binary has one input i_bcd of type std_logic_vector(7 downto 0) and one output o_binary of type std_logic_vector(6 downto 0).
Converts a two-digit BCD number (4-bit tens + 4-bit units) to a 7-bit binary value. Formula: tens × 10 + units.
| Signal | Direction | Width | Description |
|---|---|---|---|
i_bcd | Input | 8 bits | BCD input |
o_binary | Output | 7 bits | Binary code |