hdlbits-Bcdadd100
Bcdadd100
You are provided with a BCD one-digit adder named bcd_fadd that adds two BCD digits and carry-in, and produces a sum and carry-out.
1 |
|
Instantiate 100 copies of bcd_fadd to create a 100-digit BCD ripple-carry adder. Your adder should add two 100-digit BCD numbers (packed into 400-bit vectors) and a carry-in to produce a 100-digit sum and carry out.
Hint
An instance array or generate statement would be useful here.
solution
1 |
|
hdlbits-Bcdadd100
http://456-xiao.github.io/2024/08/25/hdlbits-Bcdadd100/