There is some combinatorial logic which generates the first 1024 decimal digits and then decodes those digits (and the decimal) to the 7 segment display.
The clock is used to drive the incremental changes in the display. The reset pin is used to zero the index.
The seven segment display is used directly.

| # | Input | Output |
|---|---|---|
| 0 | clk | segment a |
| 1 | reset | segment b |
| 2 | segment c | |
| 3 | segment d | |
| 4 | segment e | |
| 5 | segment f | |
| 6 | segment g | |
| 7 | decimal LED |