code refactoring for Vivado compatibility
This commit is contained in:
32
hw/rtl/interfaces/VX_icache_req_if.sv
Normal file
32
hw/rtl/interfaces/VX_icache_req_if.sv
Normal file
@@ -0,0 +1,32 @@
|
||||
`ifndef VX_ICACHE_CORE_REQ_IF
|
||||
`define VX_ICACHE_CORE_REQ_IF
|
||||
|
||||
`include "../cache/VX_cache_define.vh"
|
||||
|
||||
interface VX_icache_req_if #(
|
||||
parameter WORD_SIZE = 1,
|
||||
parameter TAG_WIDTH = 1
|
||||
) ();
|
||||
|
||||
wire valid;
|
||||
wire [`WORD_ADDR_WIDTH-1:0] addr;
|
||||
wire [TAG_WIDTH-1:0] tag;
|
||||
wire ready;
|
||||
|
||||
modport master (
|
||||
output valid,
|
||||
output addr,
|
||||
output tag,
|
||||
input ready
|
||||
);
|
||||
|
||||
modport slave (
|
||||
input valid,
|
||||
input addr,
|
||||
input tag,
|
||||
output ready
|
||||
);
|
||||
|
||||
endinterface
|
||||
|
||||
`endif
|
||||
Reference in New Issue
Block a user