Interface Checkpoint 2 - Remove Lints
This commit is contained in:
@@ -11,7 +11,7 @@ module VX_forwarding (
|
||||
// INFO FROM EXE
|
||||
input wire[4:0] in_execute_dest,
|
||||
input wire[1:0] in_execute_wb,
|
||||
input wire[31:0] in_execute_alu_result[`NT_M1:0],
|
||||
input wire[`NT_M1:0][31:0] in_execute_alu_result,
|
||||
input wire[31:0] in_execute_PC_next,
|
||||
input wire in_execute_is_csr,
|
||||
input wire[11:0] in_execute_csr_address,
|
||||
@@ -20,8 +20,8 @@ module VX_forwarding (
|
||||
// INFO FROM MEM
|
||||
input wire[4:0] in_memory_dest,
|
||||
input wire[1:0] in_memory_wb,
|
||||
input wire[31:0] in_memory_alu_result[`NT_M1:0],
|
||||
input wire[31:0] in_memory_mem_data[`NT_M1:0],
|
||||
input wire[`NT_M1:0][31:0] in_memory_alu_result,
|
||||
input wire[`NT_M1:0][31:0] in_memory_mem_data,
|
||||
input wire[31:0] in_memory_PC_next,
|
||||
input wire in_memory_is_csr,
|
||||
input wire[11:0] in_memory_csr_address,
|
||||
@@ -31,8 +31,8 @@ module VX_forwarding (
|
||||
// INFO FROM WB
|
||||
input wire[4:0] in_writeback_dest,
|
||||
input wire[1:0] in_writeback_wb,
|
||||
input wire[31:0] in_writeback_alu_result[`NT_M1:0],
|
||||
input wire[31:0] in_writeback_mem_data[`NT_M1:0],
|
||||
input wire[`NT_M1:0][31:0] in_writeback_alu_result,
|
||||
input wire[`NT_M1:0][31:0] in_writeback_mem_data,
|
||||
input wire[31:0] in_writeback_PC_next,
|
||||
input wire[`NW_M1:0] in_writeback_warp_num,
|
||||
|
||||
@@ -41,8 +41,8 @@ module VX_forwarding (
|
||||
output wire out_src1_fwd,
|
||||
output wire out_src2_fwd,
|
||||
output wire out_csr_fwd,
|
||||
output wire[31:0] out_src1_fwd_data[`NT_M1:0],
|
||||
output wire[31:0] out_src2_fwd_data[`NT_M1:0],
|
||||
output wire[`NT_M1:0][31:0] out_src1_fwd_data,
|
||||
output wire[`NT_M1:0][31:0] out_src2_fwd_data,
|
||||
output wire[31:0] out_csr_fwd_data,
|
||||
output wire out_fwd_stall
|
||||
);
|
||||
@@ -66,9 +66,9 @@ module VX_forwarding (
|
||||
wire csr_exe_fwd;
|
||||
wire csr_mem_fwd;
|
||||
|
||||
wire[31:0] use_execute_PC_next[`NT_M1:0];
|
||||
wire[31:0] use_memory_PC_next[`NT_M1:0];
|
||||
wire[31:0] use_writeback_PC_next[`NT_M1:0];
|
||||
wire[`NT_M1:0][31:0] use_execute_PC_next;
|
||||
wire[`NT_M1:0][31:0] use_memory_PC_next;
|
||||
wire[`NT_M1:0][31:0] use_writeback_PC_next;
|
||||
|
||||
|
||||
genvar index;
|
||||
@@ -169,10 +169,11 @@ module VX_forwarding (
|
||||
(src2_mem_fwd) ? ((mem_jal) ? use_memory_PC_next : (mem_mem_read ? in_memory_mem_data : in_memory_alu_result)) :
|
||||
( src2_wb_fwd ) ? (wb_jal ? use_writeback_PC_next : (wb_mem_read ? in_writeback_mem_data : in_writeback_alu_result)) :
|
||||
in_execute_alu_result; // last one should be deadbeef
|
||||
|
||||
|
||||
assign out_csr_fwd_data = csr_exe_fwd ? in_execute_alu_result :
|
||||
csr_mem_fwd ? in_memory_csr_result :
|
||||
in_execute_alu_result; // last one should be deadbeef
|
||||
assign out_csr_fwd_data = csr_exe_fwd ? in_execute_alu_result[0][31:0] :
|
||||
csr_mem_fwd ? in_memory_csr_result[31:0] :
|
||||
in_execute_alu_result[0][31:0]; // last one should be deadbeef
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user