diff options
Diffstat (limited to '')
| -rw-r--r-- | rtl/core/core_cp15_far.sv | 11 | ||||
| -rw-r--r-- | rtl/core/mod.mk | 9 |
2 files changed, 15 insertions, 5 deletions
diff --git a/rtl/core/core_cp15_far.sv b/rtl/core/core_cp15_far.sv index ca1dcf1..e990c52 100644 --- a/rtl/core/core_cp15_far.sv +++ b/rtl/core/core_cp15_far.sv @@ -16,16 +16,17 @@ module core_cp15_far output word read /*verilator public*/ ); - word far; + // %Warning-SYMRSVDWORD: rtl/core/core_cp15_far.sv:19:7: Symbol matches C++ common word: 'far' + word far_; - assign read = far; + assign read = far_; always @(posedge clk or negedge rst_n) if(!rst_n) - far <= 0; + far_ <= 0; else if(fault_register) - far <= {fault_addr, 2'b00}; + far_ <= {fault_addr, 2'b00}; else if(transfer && !load) - far <= write; + far_ <= write; endmodule diff --git a/rtl/core/mod.mk b/rtl/core/mod.mk new file mode 100644 index 0000000..960d1f1 --- /dev/null +++ b/rtl/core/mod.mk @@ -0,0 +1,9 @@ +define core + $(this)/deps := config + $(this)/rtl_dirs := . + $(this)/rtl_top := core + + ifeq (sim,$(flow/type)) + $(this)/deps += ip_mul + endif +endef |
