summaryrefslogtreecommitdiff
path: root/eater_cpu/readme.txt
diff options
context:
space:
mode:
authoruvok2026-01-21 20:17:44 +0100
committeruvok2026-01-21 20:17:44 +0100
commita7cb46cac7575875dd38e7d3135fd54d78598523 (patch)
treede80c0570f62dc027629c731f2f5174cec86a9a4 /eater_cpu/readme.txt
parentbd137cec37fade1acc2a5ee2db546b8dc67f64d0 (diff)
Explain separate PC++ state
need to get correct next state, once INS is loaded.
Diffstat (limited to 'eater_cpu/readme.txt')
-rw-r--r--eater_cpu/readme.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/eater_cpu/readme.txt b/eater_cpu/readme.txt
index aa72328..44fe1b1 100644
--- a/eater_cpu/readme.txt
+++ b/eater_cpu/readme.txt
@@ -40,8 +40,14 @@ operation
Increment PC.
a) PC out -> MAR
(PC_to_bus) + (bus_to_MAR) + (clk)
- b) MEM -> INS, PC++
- (RAM_to_bus) + (bus_to_INS) + (PC_count_en) + (clk)
+ b) MEM -> INS
+ (RAM_to_bus) + (bus_to_INS) + (clk)
+ c) PC++
+ (PC_count_en) + (clk)
+
+ NOTE:
+ Yes, I know Ben Eaters computer combines b and c.
+ See eater_types for details.
2. Decode and execute instruction.