mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-18 16:06:30 +08:00
wrpll: style
This commit is contained in:
parent
ebb7ccbfd1
commit
17c952b8fb
@ -130,7 +130,7 @@ class DDMTD(Module, AutoCSR):
|
|||||||
|
|
||||||
|
|
||||||
class Collector(Module):
|
class Collector(Module):
|
||||||
""" Generates loop filter inputs from DDMTD outputs.
|
"""Generates loop filter inputs from DDMTD outputs.
|
||||||
|
|
||||||
When the WR PLL is locked, the following ideally (no noise etc) obtain:
|
When the WR PLL is locked, the following ideally (no noise etc) obtain:
|
||||||
- f_main = f_ref
|
- f_main = f_ref
|
||||||
@ -234,7 +234,6 @@ class Collector(Module):
|
|||||||
|
|
||||||
|
|
||||||
def test_collector_main():
|
def test_collector_main():
|
||||||
|
|
||||||
N = 2
|
N = 2
|
||||||
collector = Collector(N=N)
|
collector = Collector(N=N)
|
||||||
# check collector phase unwrapping
|
# check collector phase unwrapping
|
||||||
@ -277,7 +276,6 @@ def test_collector_main():
|
|||||||
|
|
||||||
|
|
||||||
def test_collector_helper():
|
def test_collector_helper():
|
||||||
|
|
||||||
N = 3
|
N = 3
|
||||||
collector = Collector(N=N)
|
collector = Collector(N=N)
|
||||||
# check collector phase unwrapping
|
# check collector phase unwrapping
|
||||||
@ -304,6 +302,7 @@ def test_collector_helper():
|
|||||||
|
|
||||||
run_simulation(collector, generator())
|
run_simulation(collector, generator())
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
test_collector_main()
|
test_collector_main()
|
||||||
test_collector_helper()
|
test_collector_helper()
|
||||||
|
Loading…
Reference in New Issue
Block a user