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/cp15/cyclecnt.sv | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 rtl/core/cp15/cyclecnt.sv (limited to 'rtl/core/cp15/cyclecnt.sv') diff --git a/rtl/core/cp15/cyclecnt.sv b/rtl/core/cp15/cyclecnt.sv deleted file mode 100644 index b079a1b..0000000 --- a/rtl/core/cp15/cyclecnt.sv +++ /dev/null @@ -1,23 +0,0 @@ -`include "core/uarch.sv" - -module core_cp15_cyclecnt -( - input logic clk, - rst_n, - - input logic halt, - - output word read -); - - word cyclecnt; - - assign read = cyclecnt; - - always @(posedge clk or negedge rst_n) - if(!rst_n) - cyclecnt <= 0; - else if(!halt) - cyclecnt <= cyclecnt + 1; - -endmodule -- cgit v1.2.3