EveryCircuit
Powering up...
Circuit
Public
Private
Unlisted
Save

4x2 RAM connected to adder

@miaoyinwang
4 years ago
https://everycircuit.com/circuit/6419961465274368
To start, press the switch on the left. The counter will start to load number 3,2,1,0 into the 4 RAM address. The middle number panel will show 3,2,1,0 by sequence. After load each number, it will be sent to a 3-bit adder. The number will be added by the current number in a 3 bit latch. So latch panel will show 3, 5, 6, 6, 1, 3, … (when number larger than 7 it will loop back to X mod 8) Structure: Top part from left to right: address encoder(8 and gates, 2 not gates in bottom) 4 address x 2 bit RAM (8 D-flip-flop) address de-coder (8 and gates and 2 DAC used as or gate) 3 bit adder (5 XOR gate, 4 and gate, 2 or gate) Bottom part from left to right: Clock (logic train, 1 NOT gate) Write signal input (logic train) Counter Part of address encoder (2 not gates) Reset button (do not touch) RAM current address value (digital panel) 3 bit latch (3 D-flip-flop) Latch current value (digital panel)
Comments
Post