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/far.sv | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 rtl/core/cp15/far.sv (limited to 'rtl/core/cp15/far.sv') diff --git a/rtl/core/cp15/far.sv b/rtl/core/cp15/far.sv deleted file mode 100644 index 36e76db..0000000 --- a/rtl/core/cp15/far.sv +++ /dev/null @@ -1,31 +0,0 @@ -`include "core/uarch.sv" -`include "core/cp15/map.sv" - -module core_cp15_far -( - input logic clk, - rst_n, - - input logic load, - transfer, - input word write, - - input logic fault_register, - input ptr fault_addr, - - output word read /*verilator public*/ -); - - word far; - - assign read = far; - - always @(posedge clk or negedge rst_n) - if(!rst_n) - far <= 0; - else if(fault_register) - far <= {fault_addr, 2'b00}; - else if(transfer && !load) - far <= write; - -endmodule -- cgit v1.2.3