mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-24 22:07:41 -04:00
39 lines
No EOL
528 B
Verilog
39 lines
No EOL
528 B
Verilog
|
|
`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 |