Finished FE and BE high-level

This commit is contained in:
felsabbagh3
2019-09-08 19:28:53 -04:00
parent 981bf0afe5
commit ecf81336db
32 changed files with 1984 additions and 1639 deletions

View File

@@ -0,0 +1,35 @@
`include "VX_define.v"
`ifndef VX_CSR_W_REQ
`define VX_CSR_W_REQ
interface VX_csr_write_request_inter ();
wire is_csr;
wire[11:0] csr_address;
/* verilator lint_off UNUSED */
wire[31:0] csr_result;
/* verilator lint_on UNUSED */
// source-side view
modport snk (
input is_csr,
input csr_address,
input csr_result
);
// source-side view
modport src (
output is_csr,
output csr_address,
output csr_result
);
endinterface
`endif