blob: 4c72fa2508929c27451adf68b2fe4f199706875a (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
`include "core/uarch.sv"
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;
psr_flags flags;
assign flags = 4'b1010;
core_fetch #(.PREFETCH_ORDER(2)) fetch
(
.flush(prefetch_flush),
.addr(bus_addr),
.fetched(bus_ready),
.fetch_data(bus_data_rd),
.fetch(bus_start),
.*
);
//TODO
logic execute, undefined;
core_decode decode
(
.*
);
endmodule
|