summaryrefslogtreecommitdiff
path: root/rtl
diff options
context:
space:
mode:
Diffstat (limited to 'rtl')
-rw-r--r--rtl/top/decode_test.sv17
-rw-r--r--rtl/top/fetch_test.sv6
2 files changed, 6 insertions, 17 deletions
diff --git a/rtl/top/decode_test.sv b/rtl/top/decode_test.sv
index 6aa2159..91962ea 100644
--- a/rtl/top/decode_test.sv
+++ b/rtl/top/decode_test.sv
@@ -4,22 +4,11 @@
module decode_test
(
- input word insn,
- input logic n, z, c, v,
-
- output datapath_decode ctrl,
- output psr_decode psr_ctrl,
- output branch_decode branch_ctrl,
- output snd_decode snd_ctrl,
- output data_decode data_ctrl,
- output ldst_decode ldst_ctrl,
- output mul_decode mul_ctrl,
- output coproc_decode coproc_ctrl
+ input word insn,
+ output insn_decode dec
);
- psr_flags flags;
- assign flags = {n, z, c, v};
core_decode DUT (.*);
-endmodule \ No newline at end of file
+endmodule
diff --git a/rtl/top/fetch_test.sv b/rtl/top/fetch_test.sv
index bdfa2c5..4ab5fd1 100644
--- a/rtl/top/fetch_test.sv
+++ b/rtl/top/fetch_test.sv
@@ -6,7 +6,7 @@ module fetch_test
input logic clk,
stall,
branch,
- flush,
+ prefetch_flush,
fetched,
wr_pc,
input ptr branch_target,
@@ -20,6 +20,6 @@ module fetch_test
);
- core_fetch #(.PREFETCH_ORDER(3)) DUT (.*);
+ core_fetch #(.PREFETCH_ORDER(3)) DUT (.flush(), .*);
-endmodule \ No newline at end of file
+endmodule