summaryrefslogtreecommitdiff
path: root/nandgame/computer.sv
diff options
context:
space:
mode:
authoruvok2026-01-18 10:58:56 +0100
committeruvok2026-01-18 10:58:56 +0100
commit1cfdda0d9f76d36df95677e631b8b15dd19b4dcb (patch)
tree414b86b7cb21c042bef0df13a39359ff93d713da /nandgame/computer.sv
parent16dc52fc55961e029efe2588cae7c4375132efe9 (diff)
counter: Add "count_enable" pin
Diffstat (limited to 'nandgame/computer.sv')
-rw-r--r--nandgame/computer.sv3
1 files changed, 2 insertions, 1 deletions
diff --git a/nandgame/computer.sv b/nandgame/computer.sv
index 3286bfe..3794270 100644
--- a/nandgame/computer.sv
+++ b/nandgame/computer.sv
@@ -80,7 +80,8 @@ counter PC (
.clk_in(clk_in),
.counter_out(PC_addr_int),
.X_in(reg_A_int),
- .st_store_X_in(cpu_do_jump_int)
+ .st_store_X_in(cpu_do_jump_int),
+ .count_enable_in('b1)
);
`ifdef VERILATOR