From 1ad9deaf910dd828321b3eedc8639f44569103b4 Mon Sep 17 00:00:00 2001 From: Harry Ho Date: Mon, 31 Aug 2020 13:55:19 +0800 Subject: [PATCH] fmcdio_vhdci_eem: fix pin naming --- artiq/gateware/fmcdio_vhdci_eem.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/gateware/fmcdio_vhdci_eem.py b/artiq/gateware/fmcdio_vhdci_eem.py index c1ab62864..0296efe8e 100644 --- a/artiq/gateware/fmcdio_vhdci_eem.py +++ b/artiq/gateware/fmcdio_vhdci_eem.py @@ -19,8 +19,9 @@ def _get_connectors(): for j, pair in enumerate(eem_fmc_connections[i]): for pn in "n", "p": cc = "cc_" if j == 0 else "" + lpc_cc = "CC_" if eem_fmc_connections[i][j] in (0, 1, 17, 18) else "" connections["d{}_{}{}".format(j, cc, pn)] = \ - "LPC:LA{:02d}_{}{}".format(pair, cc.upper(), pn.upper()) + "LPC:LA{:02d}_{}{}".format(pair, lpc_cc, pn.upper()) connectors.append(("eem{}".format(i), connections)) return connectors