diff --git a/hw/rtl/core/VX_decode.sv b/hw/rtl/core/VX_decode.sv index 8d52d450..36063cd9 100644 --- a/hw/rtl/core/VX_decode.sv +++ b/hw/rtl/core/VX_decode.sv @@ -551,15 +551,16 @@ module VX_decode #( end else begin op_type = `INST_TENSOR_HGMMA; end - // rd/rs1/rs2/rs3 unused to prevent hazard stalls at the - // scoreboard + // rs1 and rs2 encodes the sharedmem addresses for A and + // B matrix tiles + `USED_IREG (rs1); + `USED_IREG (rs2); `else ex_type = `EX_TENSOR; op_type = `INST_TENSOR_HMMA; // tensor core macroop is encoded as r-type // hazard stall logic in the scoreboard will handle // read-after-write dependency on rd -> rs3 - use_rd = 1; `USED_IREG (rd); `USED_IREG (rs1); `USED_IREG (rs2);