2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-19 00:16:29 +08:00

wrpll.core: move collector into helper CD so we can get tags out while the filters are reset

This commit is contained in:
hartytp 2020-10-06 16:32:16 +01:00 committed by Sebastien Bourdeauducq
parent 3fa5d0b963
commit 7d7be6e711

View File

@ -93,7 +93,8 @@ class WRPLL(Module, AutoCSR):
self.submodules.ddmtd_main = DDMTD(ddmtd_counter, ddmtd_inputs.main_xo) self.submodules.ddmtd_main = DDMTD(ddmtd_counter, ddmtd_inputs.main_xo)
filter_cd = ClockDomainsRenamer("filter") filter_cd = ClockDomainsRenamer("filter")
self.submodules.collector = filter_cd(Collector(N)) helper_cd = ClockDomainsRenamer("helper")
self.submodules.collector = helper_cd(Collector(N))
self.submodules.filter_helper = filter_cd( self.submodules.filter_helper = filter_cd(
thls.make(filters.helper, data_width=48)) thls.make(filters.helper, data_width=48))
self.submodules.filter_main = filter_cd( self.submodules.filter_main = filter_cd(