Design Method - BINBCD
The truth table in this design expresses the design manually. However you
could also use a macro to create a truth table as follows:
A pair of equations generate an active-high LT22 signal to turn off the BUST
LED when Score is less than 22, and an active-high GT16 signal to turn off the
HIT LED when Score is less than 16.
@repeat 32 { binary - [binary/10,binary%10];
inc(binary);}