code refactoring for Vivado compatibility
This commit is contained in:
26
hw/rtl/interfaces/VX_wstall_if.sv
Normal file
26
hw/rtl/interfaces/VX_wstall_if.sv
Normal file
@@ -0,0 +1,26 @@
|
||||
`ifndef VX_WSTALL_IF
|
||||
`define VX_WSTALL_IF
|
||||
|
||||
`include "VX_define.vh"
|
||||
|
||||
interface VX_wstall_if();
|
||||
|
||||
wire valid;
|
||||
wire [`NW_BITS-1:0] wid;
|
||||
wire stalled;
|
||||
|
||||
modport master (
|
||||
output valid,
|
||||
output wid,
|
||||
output stalled
|
||||
);
|
||||
|
||||
modport slave (
|
||||
input valid,
|
||||
input wid,
|
||||
input stalled
|
||||
);
|
||||
|
||||
endinterface
|
||||
|
||||
`endif
|
||||
Reference in New Issue
Block a user