forked from M-Labs/artiq
sawg: accurate unittest rtio freq
This commit is contained in:
parent
6a7983cf89
commit
5b73dd8604
|
@ -42,7 +42,7 @@ class SAWGTest(unittest.TestCase):
|
||||||
self.rtio_manager.patch(spline)
|
self.rtio_manager.patch(spline)
|
||||||
self.rtio_manager.patch(sawg)
|
self.rtio_manager.patch(sawg)
|
||||||
self.core = sim_devices.Core({})
|
self.core = sim_devices.Core({})
|
||||||
self.core.coarse_ref_period = 6.66666
|
self.core.coarse_ref_period = 20/3
|
||||||
self.core.ref_multiplier = 1
|
self.core.ref_multiplier = 1
|
||||||
self.t = self.core.coarse_ref_period
|
self.t = self.core.coarse_ref_period
|
||||||
self.channel = mg.ClockDomainsRenamer({"rio_phy": "sys"})(
|
self.channel = mg.ClockDomainsRenamer({"rio_phy": "sys"})(
|
||||||
|
|
Loading…
Reference in New Issue