Skip to content

Commit

Permalink
[ariane] Rolling back ariane interface to previous definition
Browse files Browse the repository at this point in the history
  • Loading branch information
hossein1387 committed Aug 10, 2023
1 parent 9f3d57f commit 3f78410
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions corev_apu/src/ariane.sv
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
module ariane import ariane_pkg::*; #(
parameter ariane_pkg::cva6_cfg_t CVA6Cfg = cva6_cfg_empty,
parameter type rvfi_instr_t = logic,
parameter type cvxif_req_t = logic,
parameter type cvxif_resp_t = logic,
//
parameter ariane_pkg::ariane_cfg_t ArianeCfg = ariane_pkg::ArianeDefaultConfig,
parameter int unsigned AxiAddrWidth = ariane_axi::AddrWidth,
Expand All @@ -44,26 +42,24 @@ module ariane import ariane_pkg::*; #(
// RISC-V formal interface port (`rvfi`):
// Can be left open when formal tracing is not needed.
output rvfi_instr_t [CVA6Cfg.NrCommitPorts-1:0] rvfi_o,
//
output cvxif_req_t cvxif_req_o,
input cvxif_resp_t cvxif_resp_i,

// memory side
output noc_req_t noc_req_o,
input noc_resp_t noc_resp_i
);

cvxif_pkg::cvxif_req_t cvxif_req;
cvxif_pkg::cvxif_resp_t cvxif_resp;

cva6 #(
.CVA6Cfg (CVA6Cfg ),
.rvfi_instr_t (rvfi_instr_t ),
.cvxif_req_t (cvxif_req_t ),
.cvxif_resp_t (cvxif_resp_t ),
.ArianeCfg (ArianeCfg ),
.axi_ar_chan_t (axi_ar_chan_t ),
.axi_aw_chan_t (axi_aw_chan_t ),
.axi_w_chan_t (axi_w_chan_t ),
.noc_req_t (noc_req_t ),
.noc_resp_t (noc_resp_t )
.CVA6Cfg ( CVA6Cfg ),
.rvfi_instr_t ( rvfi_instr_t ),
//
.ArianeCfg ( ArianeCfg ),
.axi_ar_chan_t (axi_ar_chan_t),
.axi_aw_chan_t (axi_aw_chan_t),
.axi_w_chan_t (axi_w_chan_t),
.noc_req_t (noc_req_t),
.noc_resp_t (noc_resp_t)
) i_cva6 (
.clk_i ( clk_i ),
.rst_ni ( rst_ni ),
Expand All @@ -74,8 +70,8 @@ module ariane import ariane_pkg::*; #(
.time_irq_i ( time_irq_i ),
.debug_req_i ( debug_req_i ),
.rvfi_o ( rvfi_o ),
.cvxif_req_o ( cvxif_req_o ),
.cvxif_resp_i ( cvxif_resp_i ),
.cvxif_req_o ( cvxif_req ),
.cvxif_resp_i ( cvxif_resp ),
.noc_req_o ( noc_req_o ),
.noc_resp_i ( noc_resp_i )
);
Expand All @@ -89,4 +85,4 @@ module ariane import ariane_pkg::*; #(
);
end

endmodule // ariane
endmodule // ariane

0 comments on commit 3f78410

Please sign in to comment.