From ca0c557e2c61e2fc6cc97482a17f68fd2ee61392 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sun, 5 Dec 2021 15:16:41 -0800 Subject: Implement DF and IF, and Dep and Exam switches. --- hdl/top.sv | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hdl/top.sv') 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]; assign switch_exam = switch[3][4]; assign switch_cont = switch[3][5]; assign switch_stop = switch[3][6]; +`ifdef HISTORIC_SWITCH_BEHAVIOUR +assign switch_sing_step = !switch[3][7]; +assign switch_sing_inst = !switch[3][8]; +`else assign switch_sing_step = switch[3][7]; assign switch_sing_inst = switch[3][8]; +`endif bit [11:0] led_pc; bit [11:0] led_memaddr; -- cgit v1.2.3