RTL code refactoring
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
module VX_d_e_reg (
|
||||
input wire clk,
|
||||
input wire reset,
|
||||
input wire branch_stall_i,
|
||||
input wire freeze_i,
|
||||
input wire branch_stall,
|
||||
input wire freeze,
|
||||
VX_frE_to_bckE_req_if frE_to_bckE_req_if,
|
||||
VX_frE_to_bckE_req_if bckE_req_if
|
||||
);
|
||||
|
||||
wire stall = freeze_i;
|
||||
wire flush = (branch_stall_i == `STALL);
|
||||
wire stall = freeze;
|
||||
wire flush = (branch_stall == `STALL);
|
||||
|
||||
VX_generic_register #(
|
||||
.N(233 + `NW_BITS-1 + 1 + `NUM_THREADS)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
module VX_f_d_reg (
|
||||
input wire clk,
|
||||
input wire reset,
|
||||
input wire freeze_i,
|
||||
input wire freeze,
|
||||
|
||||
VX_inst_meta_if fe_inst_meta_fd,
|
||||
VX_inst_meta_if fd_inst_meta_de
|
||||
@@ -11,7 +11,7 @@ module VX_f_d_reg (
|
||||
);
|
||||
|
||||
wire flush = 1'b0;
|
||||
wire stall = freeze_i == 1'b1;
|
||||
wire stall = freeze == 1'b1;
|
||||
|
||||
VX_generic_register #(
|
||||
.N(64+`NW_BITS-1+1+`NUM_THREADS)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
module VX_i_d_reg (
|
||||
input wire clk,
|
||||
input wire reset,
|
||||
input wire freeze_i,
|
||||
input wire freeze,
|
||||
|
||||
VX_inst_meta_if fe_inst_meta_fd,
|
||||
VX_inst_meta_if fd_inst_meta_de
|
||||
@@ -11,7 +11,7 @@ module VX_i_d_reg (
|
||||
);
|
||||
|
||||
wire flush = 1'b0;
|
||||
wire stall = freeze_i == 1'b1;
|
||||
wire stall = freeze == 1'b1;
|
||||
|
||||
|
||||
VX_generic_register #(
|
||||
|
||||
Reference in New Issue
Block a user