aboutsummaryrefslogtreecommitdiff
path: root/core/rtl/core.sv
blob: d9a51dd4f68ca30ed12a1fc17c18511b448406f0 (plain) (blame)
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
module core
import riscv_types::*;
(
  input  logic clk,
  input  logic rst_l,
  // Instruction mem interface
  output logic [31:0] if_imem_addr_IF,
  input  logic [31:0] imem_id_instr_ID

  // Data mem interface 
);

fetch fetch0 (
  .clk(clk),
  .rst_l(rst_l),
  .if_imem_addr_IF(if_imem_addr_IF)
);

decode decode0 (
  .clk(clk),
  .rst_l(rst_l),
  .imem_id_instr_ID(imem_id_instr_ID)
);

endmodule