A circuit that stores 1s and 0s
First of all, we need a circuit that can store 1 and 0.
Once a appears 1, it will save 1, that is, the B circuit saves the event that A passes through the current.
Similarly, the B circuit saves the event that A cuts off the current.
Latches and Registers
Together, an AND-OR latch is made ;
a register is a combination of multiple latches, and the maximum number of digits it can store is called "bit width"
Register Arrangement Method
If there are n registers and one line controls all write-in lines, then n data lines + n output lines + 1 write-in lines are required = (2n+1); another solution is to start a certain lock in
the
matrix register, open the corresponding row and column lines, and still use one line to control all the write-allowed lines. In this case, only 32 position lines + 1 data line + 1 allow-write + 1 allow-read = 35 lines are enough
. Turn addresses into rows and columns, using a multiplexer