forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,8 @@ class WRPLL(Module, AutoCSR):
self.submodules.ddmtd_main = DDMTD(ddmtd_counter, ddmtd_inputs.main_xo)
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(
thls.make(filters.helper, data_width=48))
self.submodules.filter_main = filter_cd(