nexus: Fix OSHX primitives

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2026-07-27 10:51:33 +02:00
parent fb95bb8ea1
commit bf80306e97
1 changed files with 1 additions and 1 deletions

View File

@ -1347,7 +1347,7 @@ struct NexusPacker
iol_rules[oshxtype].port_xform[id_RST] = id_LSROUT;
iol_rules[oshxtype].port_xform[id_Q] = id_DOUT;
for (int i = 0; i < gear; i++)
iol_rules[oshxtype].port_xform[ctx->idf("D%d", i)] = ctx->idf("TXDATA%d", i);
iol_rules[oshxtype].port_xform[ctx->idf("D%d", i)] = ctx->idf("TXDATA%d", 2*i);
for (std::string dq : {"DQ", "DQS"}) {
IdString tshxtype = ctx->idf("TSHX%d%s", gear, dq.c_str());