summaryrefslogtreecommitdiff
path: root/rtl/top/fetch_test.sv
blob: 4ab5fd145e1dca70b556f8cd8148ab84a1d45038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
`timescale 1 ns / 1 ps
`include "core/uarch.sv"

module fetch_test
(
    input  logic clk,
	             stall,
	             branch,
	             prefetch_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 (.flush(), .*);

endmodule