forked from M-Labs/artiq
1
0
Fork 0

pipistrello: tie unused dds.p low

This commit is contained in:
Robert Jördens 2015-07-27 21:48:56 -06:00
parent 8e92cc91f5
commit e95b06e96d
1 changed files with 3 additions and 1 deletions

View File

@ -166,7 +166,9 @@ trce -v 12 -fastpaths -tsi {build_name}.tsi -o {build_name}.twr {build_name}.ncd
self.add_constant("RTIO_DDS_CHANNEL", len(rtio_channels))
self.add_constant("DDS_CHANNEL_COUNT", 8)
self.add_constant("DDS_AD9858")
phy = dds.AD9858(platform.request("dds"), 8)
dds_pins = platform.request("dds")
self.comb += dds_pins.p.eq(0)
phy = dds.AD9858(dds_pins, 8)
self.submodules += phy
rtio_channels.append(rtio.Channel.from_phy(phy,
ofifo_depth=512,