forked from M-Labs/artiq
1
0
Fork 0

analyzer: fix DDSHandler setup

This commit is contained in:
Sebastien Bourdeauducq 2016-03-15 22:14:44 +08:00
parent 0076fc4216
commit cb8e497ff6
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ def create_channel_handlers(vcd_manager, devices, ref_period,
raise ValueError("All DDS channels must have the same type") raise ValueError("All DDS channels must have the same type")
else: else:
dds_handler = DDSHandler(vcd_manager, desc["class"], dds_handler = DDSHandler(vcd_manager, desc["class"],
dds_sysclk, dds_onehot_sel) dds_onehot_sel, dds_sysclk)
channel_handlers[dds_bus_channel] = dds_handler channel_handlers[dds_bus_channel] = dds_handler
dds_handler.add_dds_channel(name, dds_channel) dds_handler.add_dds_channel(name, dds_channel)
return channel_handlers return channel_handlers