tensor: Fix elaboration error on VCS

This commit is contained in:
Hansung Kim
2024-05-01 21:35:53 -07:00
parent 675e8ea130
commit 7fc5b6a374
3 changed files with 8 additions and 7 deletions

View File

@@ -308,10 +308,11 @@ module VX_operands import VX_gpu_pkg::*; #(
if (cycle == 32'd25000) begin
for (integer k = 0; k < `NUM_REGS * ISSUE_RATIO; ++k) begin
integer warp = i * ISSUE_RATIO + (k / `NUM_REGS);
integer thread = j;
integer register = k % `NUM_REGS;
$display("warp %0d, thread %0d, register %0d: %0x", warp, thread, register, gpr_ram.ram[k]);
$display("warp %0d, thread %0d, register %0d: %0x",
i * ISSUE_RATIO + (k / `NUM_REGS),
j,
k % `NUM_REGS,
gpr_ram.ram[k]);
end
end
end