diff options
| author | JulianCamacho <jjulian.341@gmail.com> | 2022-11-07 23:35:46 -0600 |
|---|---|---|
| committer | JulianCamacho <jjulian.341@gmail.com> | 2022-11-07 23:35:46 -0600 |
| commit | 942461c315db3269fcbe9a9ca18beee9afa78d9c (patch) | |
| tree | 5a1d3e325c5c489166569d83a3e2715a6146b284 /rtl/top/fetch_test.sv | |
| parent | 6f08b7251f57778bd32f3cc2d44ddba63492cac8 (diff) | |
AƱade testbench para fetch y decode
Diffstat (limited to 'rtl/top/fetch_test.sv')
| -rw-r--r-- | rtl/top/fetch_test.sv | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/rtl/top/fetch_test.sv b/rtl/top/fetch_test.sv new file mode 100644 index 0000000..bdfa2c5 --- /dev/null +++ b/rtl/top/fetch_test.sv @@ -0,0 +1,25 @@ +`timescale 1 ns / 1 ps +`include "core/uarch.sv" + +module fetch_test +( + input logic clk, + stall, + branch, + flush, + fetched, + wr_pc, + input ptr branch_target, + input word wr_current, + fetch_data, + + output logic fetch, + output word insn, + output ptr insn_pc, + addr + +); + + core_fetch #(.PREFETCH_ORDER(3)) DUT (.*); + +endmodule
\ No newline at end of file |
