Give some slack time for other cores to finish

This commit is contained in:
Hansung Kim
2024-06-12 09:46:51 -07:00
parent 1833e8a176
commit 86deaa8e07
2 changed files with 24 additions and 11 deletions

View File

@@ -280,6 +280,8 @@ module VX_schedule import VX_gpu_pkg::*; #(
assign gbar_bus_if.req_valid = gbar_req_valid;
assign gbar_bus_if.req_id = gbar_req_id;
assign gbar_bus_if.req_size_m1 = gbar_req_size_m1;
// NOTE(hansung): since CORE_ID is global across multiple clusters, we
// need the modulo to get the per-cluster local core id
assign gbar_bus_if.req_core_id = `NC_WIDTH'(CORE_ID % `NUM_CORES);
`endif