From fa59c4b8e506e5503caa5b8b4499a3c1965800a5 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sun, 30 May 2021 16:47:19 -0700 Subject: Work in progress from May 30 --- hdl/core.sv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hdl/core.sv') diff --git a/hdl/core.sv b/hdl/core.sv index 12b5459..1b61944 100644 --- a/hdl/core.sv +++ b/hdl/core.sv @@ -124,9 +124,9 @@ always_ff @(posedge clk) begin state = FETCH; {opcode, operand} = `lag(mem_read_data); // $display("%o: decode %o %o", pc-1, opcode, operand); -// // verilator lint_off WIDTH + // verilator lint_off WIDTH // $display("%o %b %o 0000", 14'(pc-1), link, acc); -// // verilator lint_on WIDTH + // verilator lint_on WIDTH {i, z, wip} = operand; if (z) address = {page, wip}; @@ -186,7 +186,7 @@ always_ff @(posedge clk) begin if (spa && acc[11]) skip = 0; if (sna && acc == 0) skip = 0; if (szl && link != 0) skip = 0; - if (skip && (spa || sna || szl)) pc++; + if (skip) pc++; if (cla) acc = 0; if (osr) begin $display("%o: unsupported front panel switch test", pc); -- cgit v1.2.3