code refactoring for Vivado compatibility

This commit is contained in:
Blaise Tine
2021-09-29 04:48:53 -04:00
parent a45261b530
commit 04249c3ee9
112 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
`ifndef VX_IFETCH_REQ_IF
`define VX_IFETCH_REQ_IF
`include "VX_define.vh"
interface VX_ifetch_req_if ();
wire valid;
wire [`NUM_THREADS-1:0] tmask;
wire [`NW_BITS-1:0] wid;
wire [31:0] PC;
wire ready;
modport master (
output valid,
output tmask,
output wid,
output PC,
input ready
);
modport slave (
input valid,
input tmask,
input wid,
input PC,
output ready
);
endinterface
`endif