Added HW threads - Infinite loop + fixed valid

This commit is contained in:
felsabbagh3
2019-03-27 03:53:59 -04:00
parent 9b42e79dcf
commit 68f3ba84e5
17 changed files with 623 additions and 224 deletions

View File

@@ -5,13 +5,14 @@ module VX_f_d_reg (
input wire clk,
input wire reset,
input wire[31:0] in_instruction,
input wire[`NT_M1:0] in_valid,
input wire in_valid[`NT_M1:0],
input wire[31:0] in_curr_PC,
input wire in_fwd_stall,
input wire in_freeze,
output wire[31:0] out_instruction,
output wire[31:0] out_curr_PC,
output wire[`NT_M1:0] out_valid
output wire out_valid[`NT_M1:0]
);
// always @(posedge clk) begin
@@ -20,7 +21,7 @@ module VX_f_d_reg (
reg[31:0] instruction;
reg[31:0] curr_PC;
reg[`NT_M1:0] valid;
reg valid[`NT_M1:0];
integer reset_cur_thread = 0;