added begin

This commit is contained in:
felsabbagh3
2019-10-21 12:06:10 -04:00
parent 85004899bd
commit 8050419511

View File

@@ -102,13 +102,12 @@ module VX_warp_scheduler (
always @(posedge clk or posedge reset) begin
if (reset) begin
warp_pcs[0] = (32'h80000000 - 4);
start = 0;
warp_active[0] = 1; // Activating first warp
visible_active[0] = 1; // Activating first warp
thread_masks[0][0] = 1; // Activating first thread in first warp
end
warp_pcs[0] <= (32'h80000000 - 4);
start <= 0;
warp_active[0] <= 1; // Activating first warp
visible_active[0] <= 1; // Activating first warp
thread_masks[0][0] <= 1; // Activating first thread in first warp
end else begin
// Wsapwning warps
if (wspawn && found_wspawn) begin
warp_pcs[warp_to_wsapwn] <= wsapwn_pc;
@@ -174,6 +173,7 @@ module VX_warp_scheduler (
warp_stalled[branch_warp_num] <= 0;
end
end
end
wire[(1+32+`NT_M1):0] q1 = {1'b1, warp_pcs[split_warp_num], thread_masks[split_warp_num]};
wire[(1+32+`NT_M1):0] q2 = {1'b0, split_save_pc , split_later_mask};