Moved GPR to back-end

This commit is contained in:
felsabbagh3
2019-10-14 19:08:32 -04:00
parent e67310acfb
commit ee83e6d8c8
26 changed files with 2320 additions and 2564 deletions

View File

@@ -9,12 +9,13 @@ interface VX_frE_to_bckE_req_inter ();
wire[11:0] csr_address;
wire is_csr;
/* verilator lint_off UNUSED */
wire csr_immed;
/* verilator lint_on UNUSED */
wire[31:0] csr_mask;
wire[4:0] rd;
wire[4:0] rs1;
wire[4:0] rs2;
wire[`NT_M1:0][31:0] a_reg_data;
wire[`NT_M1:0][31:0] b_reg_data;
wire[4:0] alu_op;
wire[1:0] wb;
wire rs2_src;
@@ -24,6 +25,11 @@ interface VX_frE_to_bckE_req_inter ();
wire[2:0] branch_type;
wire[19:0] upper_immed;
wire[31:0] curr_PC;
/* verilator lint_off UNUSED */
wire ebreak;
wire wspawn;
/* verilator lint_on UNUSED */
wire jalQual;
wire jal;
wire[31:0] jal_offset;
wire[31:0] PC_next;

View File

@@ -0,0 +1,14 @@
`include "../VX_define.v"
`ifndef VX_gpr_data_INTER
`define VX_gpr_data_INTER
interface VX_gpr_data_inter ();
wire[`NT_M1:0][31:0] a_reg_data;
wire[`NT_M1:0][31:0] b_reg_data;
endinterface
`endif