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