tinyscanchain is a scan-chain implementation in less than 80 lines of Python. This is a test design based on the use of seven segment seconds.
After reset, the counter should increase by one every second with a 1kHz input clock. Experiment by changing the inputs to change the counting speed. Use the scan chain to test the internal state of the design.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | enable | segment a | |
1 | scan chain input | segment b | |
2 | scan chain enable | segment c | |
3 | segment d | ||
4 | segment e | ||
5 | segment f | ||
6 | segment g | ||
7 | scan chain output |