90 3-bit 4-position register

90 : 3-bit 4-position register

Design renderSelect Project123456789ONSW2

How it works

Decodes addresses and stores the bits using multiplexers.

How to test

To write set the 3 data bits (WriteData0-WriteData2), address of the register to be written to (WriteAddress0/WriteAddress1) and toggle WriteEnable to write the 3-bits to the register at address. To read data set the address of the register to read (ReadAddress0/ReadAddress1) and the data is output on Data0-Data2. The internal state for Data2 at all addresses and an inverted WriteEnable is also output.

IO

#InputOutput
0WriteData0OutData0
1WriteData1Data2Address0
2WriteData2Data2Address1
3WriteAddress0OutData2
4Writeaddress0Data2Address2
5WriteEnableData2Address3
6ReadAddress0OutData1
7ReadAddress1NotWriteEnable