mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 19:28:26 +08:00
test_sawg_fe: add ref_multiplier to simulated core
This commit is contained in:
parent
b5772f478a
commit
e19bfd4781
@ -40,6 +40,7 @@ class SAWGTest(unittest.TestCase):
|
|||||||
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 = 6.66666
|
||||||
|
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"})(
|
||||||
Channel(width=16, parallelism=2))
|
Channel(width=16, parallelism=2))
|
||||||
|
Loading…
Reference in New Issue
Block a user