Before FE BE abstraction
This commit is contained in:
39
rtl/interfaces/VX_forward_exe_inter.v
Normal file
39
rtl/interfaces/VX_forward_exe_inter.v
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
`include "VX_define.v"
|
||||
|
||||
`ifndef VX_FWD_EXE
|
||||
|
||||
`define VX_FWD_EXE
|
||||
|
||||
interface VX_forward_exe_inter ();
|
||||
|
||||
wire[4:0] dest;
|
||||
wire[1:0] wb;
|
||||
wire[`NT_M1:0][31:0] alu_result;
|
||||
wire[31:0] PC_next;
|
||||
wire[`NW_M1:0] warp_num;
|
||||
|
||||
// source-side view
|
||||
modport snk (
|
||||
input dest,
|
||||
input wb,
|
||||
input alu_result,
|
||||
input PC_next,
|
||||
input warp_num
|
||||
);
|
||||
|
||||
|
||||
// source-side view
|
||||
modport src (
|
||||
output dest,
|
||||
output wb,
|
||||
output alu_result,
|
||||
output PC_next,
|
||||
output warp_num
|
||||
);
|
||||
|
||||
|
||||
endinterface
|
||||
|
||||
|
||||
`endif
|
||||
Reference in New Issue
Block a user