forked from M-Labs/artiq
sayma: fix AD9154NoSAWG ramp clock domain
This commit is contained in:
parent
0ce63e7f4a
commit
04b2fd3e13
|
@ -107,7 +107,7 @@ class AD9154NoSAWG(Module, AutoCSR):
|
||||||
|
|
||||||
for i, conv in enumerate(self.jesd.core.sink.flatten()):
|
for i, conv in enumerate(self.jesd.core.sink.flatten()):
|
||||||
ramp = Signal(16)
|
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
|
self.comb += conv.eq(Cat(ramp
|
||||||
for i in range(len(conv) // len(ramp))))
|
for i in range(len(conv) // len(ramp))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue