16 standard cell library flip-flops are wired to 16 custom half adder cells, to make a 16 bit counter.
Provide a clock signal on clk. in0 is the input to the LSB of the counter, so the counter will increment only if in0 is high. The count is reset when rst_n is low.
None
# | Input | Output | Bidirectional |
---|---|---|---|
0 | Increment enable | Out 0 | Out 8 |
1 | Out 1 | Out 9 | |
2 | Out 2 | Out 10 | |
3 | Out 3 | Out 11 | |
4 | Out 4 | Out 12 | |
5 | Out 5 | Out 13 | |
6 | Out 6 | Out 14 | |
7 | Out 7 | Out 15 |