summaryrefslogtreecommitdiff
path: root/hdl/top.sv
diff options
context:
space:
mode:
authorJulian Blake Kongslie2021-12-05 15:16:41 -0800
committerJulian Blake Kongslie2021-12-05 15:16:41 -0800
commitca0c557e2c61e2fc6cc97482a17f68fd2ee61392 (patch)
treef24926619e8e953a38250af02973b18cb0bede0e /hdl/top.sv
parentInterrupt-driven keyboard input. (diff)
downloadnoncpu-ca0c557e2c61e2fc6cc97482a17f68fd2ee61392.tar.xz
Implement DF and IF, and Dep and Exam switches.
Diffstat (limited to 'hdl/top.sv')
-rw-r--r--hdl/top.sv5
1 files changed, 5 insertions, 0 deletions
diff --git a/hdl/top.sv b/hdl/top.sv
index 67e3437..2dd52ab 100644
--- a/hdl/top.sv
+++ b/hdl/top.sv
@@ -73,8 +73,13 @@ assign switch_dep = switch[3][3];
73assign switch_exam = switch[3][4]; 73assign switch_exam = switch[3][4];
74assign switch_cont = switch[3][5]; 74assign switch_cont = switch[3][5];
75assign switch_stop = switch[3][6]; 75assign switch_stop = switch[3][6];
76`ifdef HISTORIC_SWITCH_BEHAVIOUR
77assign switch_sing_step = !switch[3][7];
78assign switch_sing_inst = !switch[3][8];
79`else
76assign switch_sing_step = switch[3][7]; 80assign switch_sing_step = switch[3][7];
77assign switch_sing_inst = switch[3][8]; 81assign switch_sing_inst = switch[3][8];
82`endif
78 83
79bit [11:0] led_pc; 84bit [11:0] led_pc;
80bit [11:0] led_memaddr; 85bit [11:0] led_memaddr;