From bf80306e97dcf138c04f5266f6145ee214ca3a14 Mon Sep 17 00:00:00 2001 From: gatecat Date: Mon, 27 Jul 2026 10:51:33 +0200 Subject: [PATCH] nexus: Fix OSHX primitives Signed-off-by: gatecat --- nexus/pack.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nexus/pack.cc b/nexus/pack.cc index 67742fee..4bbc8f0a 100644 --- a/nexus/pack.cc +++ b/nexus/pack.cc @@ -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());