fmcdio_vhdci_eem: fix pin naming

This commit is contained in:
Harry Ho 2020-08-31 13:55:19 +08:00 committed by Sébastien Bourdeauducq
parent 45ae6202c0
commit 1ad9deaf91
1 changed files with 2 additions and 1 deletions

View File

@ -19,8 +19,9 @@ def _get_connectors():
for j, pair in enumerate(eem_fmc_connections[i]): for j, pair in enumerate(eem_fmc_connections[i]):
for pn in "n", "p": for pn in "n", "p":
cc = "cc_" if j == 0 else "" 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)] = \ 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)) connectors.append(("eem{}".format(i), connections))
return connectors return connectors