Chargement…
Chargement…
The module receives a BCD digit on i_bcd. For values 0 to 9, o_valid is '1' and o_xs3 is i_bcd + 3. For invalid combinations 10 to 15, o_valid is '0' and o_xs3 is 0000.
Behaviour
| Signal | Direction | Width | Description |
|---|---|---|---|
i_bcd | Input | 4 bits | BCD digit to encode |
o_xs3 | Output | 4 bits | Excess-3 code |
o_valid | Output | 1 bit | BCD digit validity |