phaser: kc705: syntax

This commit is contained in:
Robert Jördens 2016-10-13 12:38:32 +02:00
parent af0e8582a2
commit 78a41eec8f
1 changed files with 3 additions and 2 deletions

View File

@ -469,8 +469,9 @@ class AD9154(Module, AutoCSR):
self.submodules += jesd_qpll
jesd_phys = []
for i in range(4):
jesd_phy = [JESD204BPhyTX(jesd_qpll,
platform.request("ad9154_jesd", i), rtio_freq)
jesd_phy = JESD204BPhyTX(
jesd_qpll, platform.request("ad9154_jesd", i),
rtio_freq)
jesd_phys.append(jesd_phy)
setattr(self.submodules, "jesd_phy"+str(i), jesd_phy)
for jesd_phy in jesd_phys: