TMC working and tested

This commit is contained in:
felsabbagh3
2019-10-18 16:09:06 -04:00
parent f7b55427b4
commit f7d826593f
9 changed files with 36 additions and 18 deletions

View File

@@ -1,5 +1,3 @@
`include "VX_define.v"
module VX_warp_scheduler (
@@ -40,6 +38,12 @@ module VX_warp_scheduler (
);
wire in_wspawn = wspawn;
wire in_ctm = ctm;
wire in_whalt = whalt;
wire in_wstall = wstall;
reg[`NW-1:0] warp_active;
reg[`NW-1:0] warp_stalled;
@@ -95,6 +99,7 @@ module VX_warp_scheduler (
// Changing thread masks
if (ctm) begin
thread_masks[ctm_warp_num] <= ctm_mask;
warp_stalled[ctm_warp_num] <= 0;
end
// Stalling the scheduling of warps