summaryrefslogtreecommitdiff
path: root/rtl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--rtl/core/arm810.sv27
1 files changed, 27 insertions, 0 deletions
diff --git a/rtl/core/arm810.sv b/rtl/core/arm810.sv
new file mode 100644
index 0000000..cbb0244
--- /dev/null
+++ b/rtl/core/arm810.sv
@@ -0,0 +1,27 @@
+module arm810
+(
+ input logic clk,
+
+ output logic[29:0] bus_addr,
+ output logic bus_start,
+ bus_write,
+ input logic bus_ready,
+ input logic[31:0] bus_data_rd,
+ output logic[31:0] bus_data_wr
+);
+
+ logic stall, prefetch_flush;
+ logic[31:0] insn;
+ logic[29:0] insn_pc;
+
+ core_fetch #(.PREFETCH_ORDER(2)) fetch
+ (
+ .flush(prefetch_flush),
+ .addr(bus_addr),
+ .fetched(bus_ready),
+ .fetch_data(bus_data_rd),
+ .fetch(bus_start),
+ .*
+ );
+
+endmodule