140 4x4 RAM

140 : 4x4 RAM

How it works

Set write enable to write to the given address. Read given address on output.

How to test

Set a word on data lines, set address on addr lines. Cycle write enable. Try reading value on rdata.


# Input Output
0 clock rdata[0]
1 data[0] rdata[1]
2 data[1] rdata[2]
3 data[2] rdata[3]
4 data[3] addr[0]
5 addr[0] addr[1]
6 addr[1] clock
7 write_enable write_enable