mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 08:26:30 +08:00
drtio: more simple fixes
This commit is contained in:
parent
029e0d95b7
commit
a4e85081aa
@ -38,9 +38,9 @@ class DRTIOSatellite(Module):
|
||||
self.clock_domains.cd_rio_phy = ClockDomain()
|
||||
self.comb += [
|
||||
self.cd_rio.clk.eq(ClockSignal("rtio")),
|
||||
self.cd_rio.rst.eq(ResetSignal("rtio")),
|
||||
self.cd_rio.rst.eq(ResetSignal("rtio", allow_reset_less=True)),
|
||||
self.cd_rio_phy.clk.eq(ClockSignal("rtio")),
|
||||
self.cd_rio_phy.rst.eq(ResetSignal("rtio")),
|
||||
self.cd_rio_phy.rst.eq(ResetSignal("rtio", allow_reset_less=True)),
|
||||
]
|
||||
|
||||
|
||||
|
@ -406,7 +406,8 @@ class RTPacketMaster(Module):
|
||||
# # #
|
||||
|
||||
# CDC
|
||||
wfifo = AsyncFIFO(64+16+16+256, write_fifo_depth)
|
||||
wfifo = ClockDomainsRenamer({"write": "sys", "read": "rtio"})(
|
||||
AsyncFIFO(64+16+16+256, write_fifo_depth))
|
||||
self.submodules += wfifo
|
||||
write_timestamp = Signal(64)
|
||||
write_channel = Signal(16)
|
||||
|
Loading…
Reference in New Issue
Block a user