refactoring

This commit is contained in:
Blaise Tine
2020-06-23 10:59:30 -07:00
parent 5e718c2676
commit e6cc221a44
21 changed files with 236 additions and 320 deletions

View File

@@ -3,7 +3,7 @@
`include "VX_define.vh"
interface VX_frE_to_bckE_req_if ();
interface VX_backend_req_if ();
wire [11:0] csr_address;
wire is_csr;

View File

@@ -1,14 +0,0 @@
`ifndef VX_GPR_DATA_IF
`define VX_GPR_DATA_IF
`include "VX_define.vh"
interface VX_gpr_data_if ();
wire [`NUM_THREADS-1:0][31:0] a_reg_data;
wire [`NUM_THREADS-1:0][31:0] b_reg_data;
endinterface
`endif

View File

@@ -1,13 +0,0 @@
`ifndef VX_GPR_JAL_IF
`define VX_GPR_JAL_IF
`include "VX_define.vh"
interface VX_gpr_jal_if ();
wire is_jal;
wire[31:0] curr_PC;
endinterface
`endif

View File

@@ -8,6 +8,11 @@ interface VX_gpr_read_if ();
wire [4:0] rs1;
wire [4:0] rs2;
wire [`NW_BITS-1:0] warp_num;
wire is_jal;
wire[31:0] curr_PC;
wire [`NUM_THREADS-1:0][31:0] a_reg_data;
wire [`NUM_THREADS-1:0][31:0] b_reg_data;
endinterface