added begin
This commit is contained in:
@@ -102,13 +102,12 @@ module VX_warp_scheduler (
|
|||||||
|
|
||||||
always @(posedge clk or posedge reset) begin
|
always @(posedge clk or posedge reset) begin
|
||||||
if (reset) begin
|
if (reset) begin
|
||||||
warp_pcs[0] = (32'h80000000 - 4);
|
warp_pcs[0] <= (32'h80000000 - 4);
|
||||||
start = 0;
|
start <= 0;
|
||||||
warp_active[0] = 1; // Activating first warp
|
warp_active[0] <= 1; // Activating first warp
|
||||||
visible_active[0] = 1; // Activating first warp
|
visible_active[0] <= 1; // Activating first warp
|
||||||
thread_masks[0][0] = 1; // Activating first thread in first warp
|
thread_masks[0][0] <= 1; // Activating first thread in first warp
|
||||||
end
|
end else begin
|
||||||
|
|
||||||
// Wsapwning warps
|
// Wsapwning warps
|
||||||
if (wspawn && found_wspawn) begin
|
if (wspawn && found_wspawn) begin
|
||||||
warp_pcs[warp_to_wsapwn] <= wsapwn_pc;
|
warp_pcs[warp_to_wsapwn] <= wsapwn_pc;
|
||||||
@@ -174,6 +173,7 @@ module VX_warp_scheduler (
|
|||||||
warp_stalled[branch_warp_num] <= 0;
|
warp_stalled[branch_warp_num] <= 0;
|
||||||
end
|
end
|
||||||
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] 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};
|
wire[(1+32+`NT_M1):0] q2 = {1'b0, split_save_pc , split_later_mask};
|
||||||
|
|||||||
Reference in New Issue
Block a user