2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

sayma: fix AD9154NoSAWG ramp clock domain

This commit is contained in:
Sebastien Bourdeauducq 2018-01-10 12:11:33 +08:00
parent 0ce63e7f4a
commit 04b2fd3e13

View File

@ -107,7 +107,7 @@ class AD9154NoSAWG(Module, AutoCSR):
for i, conv in enumerate(self.jesd.core.sink.flatten()):
ramp = Signal(16)
self.sync += ramp.eq(ramp + (1 << 9 + i))
self.sync.rtio += ramp.eq(ramp + (1 << 9 + i))
self.comb += conv.eq(Cat(ramp
for i in range(len(conv) // len(ramp))))