From f3b18ead59ae02f95dabbf0a1dea40873a816975 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 21 Jan 2024 06:23:46 -0600 Subject: rtl: refactor filenames and directory hierarchy --- rtl/core/control/debug.sv | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 rtl/core/control/debug.sv (limited to 'rtl/core/control/debug.sv') diff --git a/rtl/core/control/debug.sv b/rtl/core/control/debug.sv deleted file mode 100644 index 35b1334..0000000 --- a/rtl/core/control/debug.sv +++ /dev/null @@ -1,25 +0,0 @@ -`include "core/uarch.sv" - -module core_control_debug -( - input logic clk, - rst_n, - step, - - input ctrl_cycle next_cycle, - input logic issue, - next_bubble, - input insn_decode dec, - - output logic breakpoint -); - - logic stable, step_trigger; - - assign stable = next_cycle.issue && !dec.ctrl.nop && !next_bubble; - assign breakpoint = stable && (dec.ctrl.bkpt || step_trigger); - - always @(posedge clk or negedge rst_n) - step_trigger <= !rst_n ? 0 : step && (step_trigger || stable) && !breakpoint; - -endmodule -- cgit v1.2.3