Chargement…
Chargement…
The entity demi_additionneur has two inputs (i_a, i_b) and two outputs (o_sum, o_carry), all of type std_logic.
The sum o_sum is the XOR of both inputs. The carry o_carry is '1' only when both inputs are '1' (AND).
| Signal | Direction | Width | Description |
|---|---|---|---|
i_a | Input | 1 bit | Input A |
i_b | Input | 1 bit | Input B |
o_sum | Output | 1 bit | Sum |
o_carry | Output | 1 bit | Carry out |