I've been designing a simple random number generator that is supposed to generate a number from 1-100 and display it using three 7-segment displays(D0, D1, D2). This design also uses a 555 timer(astable 1400Hz) and two BCD decade counters. For D0 and D1, I am using CD74HC4511E decoders, which allow me to lock the current inputs by changing *BL and *LE from low to high. This part of the circuit works fine.
For D2, the MSB, I use some logic gates that output a '1' when both BCD counters show '0000'. What I think I need here is a latch of some kind that can lock its value using the same switch from low to high as for the other two decoders. This way they can all lock to their respective values on the same switch.
I realize that I could simply use an additional decoder, but since this 7-seg display will only ever be blank or display a '1', I thought using another decoder would be a waste.
For D2, the MSB, I use some logic gates that output a '1' when both BCD counters show '0000'. What I think I need here is a latch of some kind that can lock its value using the same switch from low to high as for the other two decoders. This way they can all lock to their respective values on the same switch.
I realize that I could simply use an additional decoder, but since this 7-seg display will only ever be blank or display a '1', I thought using another decoder would be a waste.