Level 12: Tangible Memory
Task
Build an 8-bit register from DFFs. Connect its output to LED8.
Build an 8-bit register from eight D flip-flops. Eight 1-bit memory cells working in parallel.
Solution
Step 1 — split the bus: Take a Splitter and feed the Data input bus to it. The Splitter breaks it into 8 bits (Bit0...Bit7).
Step 2 — place DFFs: Place 8 DFFs vertically. Feed each D input with the corresponding bit: - DFF#1.D ← Splitter.Bit0 - DFF#2.D ← Splitter.Bit1 - ... - DFF#8.D ← Splitter.Bit7
Step 3 — clock signal: Connect Clock (already on canvas) to ALL DFFs in parallel — to each DFF Clock input. This ensures all 8 bits are written simultaneously.
Step 4 — assemble bus: Feed all DFF Q outputs to Maker (DFF#1.Q→Bit0... DFF#8.Q→Bit7).
Step 5 — visualization: Connect Maker output (OUT) to LED8 input (DataIn). The LEDs show the register value in binary: glowing green = 1, off = 0.