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

rtio/sed: support negative latency compensation

This commit is contained in:
Sebastien Bourdeauducq 2017-09-26 16:11:08 +08:00
parent f079ac6af6
commit 9905b8723b

View File

@ -81,7 +81,8 @@ class LaneDistributor(Module):
self.comb += latency_compensation_port.adr.eq(self.cri.chan_sel[:16])
# cycle #2, write
compensation = latency_compensation_port.dat_r
compensation = Signal((14, True))
self.comb += compensation.eq(latency_compensation_port.dat_r)
timestamp_above_min = Signal()
timestamp_above_laneA_min = Signal()
timestamp_above_laneB_min = Signal()