Chargement…
Chargement…
The module selects one 4-bit operand, adds i_carry, then outputs a 5-bit sum.
Behaviour
i_sel = "00": use i_a;i_sel = "01": use i_b;i_sel = "10": use i_c;i_sel = "11": use 0;The starter code infers a latch because one case path does not assign the operand. Fix the process without adding a clock.
i_seli_a, i_b, i_ci_carryo_sum