diff options
| author | Julian Blake Kongslie | 2021-12-05 15:16:41 -0800 |
|---|---|---|
| committer | Julian Blake Kongslie | 2021-12-05 15:16:41 -0800 |
| commit | ca0c557e2c61e2fc6cc97482a17f68fd2ee61392 (patch) | |
| tree | f24926619e8e953a38250af02973b18cb0bede0e /hdl/top.sv | |
| parent | Interrupt-driven keyboard input. (diff) | |
| download | noncpu-ca0c557e2c61e2fc6cc97482a17f68fd2ee61392.tar.xz | |
Implement DF and IF, and Dep and Exam switches.
Diffstat (limited to 'hdl/top.sv')
| -rw-r--r-- | hdl/top.sv | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -73,8 +73,13 @@ assign switch_dep = switch[3][3]; | |||
| 73 | assign switch_exam = switch[3][4]; | 73 | assign switch_exam = switch[3][4]; |
| 74 | assign switch_cont = switch[3][5]; | 74 | assign switch_cont = switch[3][5]; |
| 75 | assign switch_stop = switch[3][6]; | 75 | assign switch_stop = switch[3][6]; |
| 76 | `ifdef HISTORIC_SWITCH_BEHAVIOUR | ||
| 77 | assign switch_sing_step = !switch[3][7]; | ||
| 78 | assign switch_sing_inst = !switch[3][8]; | ||
| 79 | `else | ||
| 76 | assign switch_sing_step = switch[3][7]; | 80 | assign switch_sing_step = switch[3][7]; |
| 77 | assign switch_sing_inst = switch[3][8]; | 81 | assign switch_sing_inst = switch[3][8]; |
| 82 | `endif | ||
| 78 | 83 | ||
| 79 | bit [11:0] led_pc; | 84 | bit [11:0] led_pc; |
| 80 | bit [11:0] led_memaddr; | 85 | bit [11:0] led_memaddr; |
