Fix keyword argument issue in rtio.cri
This commit is contained in:
parent
ceab41f9da
commit
b4ec588630
|
@ -6,7 +6,7 @@ Formally verified implementation of the ARTIQ RTIO core in nMigen
|
|||
|
||||
- Devise a suitable migration strategy for `artiq.gateware.rtio` from Migen to nMigen
|
||||
- [x] Implement the core in nMigen
|
||||
- - [x] `rtio.cri` (`Interface` and `CRIDecoder` only)
|
||||
- - [ ] `rtio.cri` (`Interface` and `CRIDecoder` only)
|
||||
- - [x] `rtio.rtlink`
|
||||
- - [x] `rtio.sed.layouts`
|
||||
- - [x] `rtio.sed.output_network`
|
||||
|
|
|
@ -84,12 +84,12 @@ class CRIDecoder(Elaboratable):
|
|||
selected = Signal(slave_bits)
|
||||
|
||||
if enable_routing:
|
||||
routing_table = Memory(slave_bits, 256)
|
||||
routing_table = Memory(width=slave_bits, depth=256)
|
||||
|
||||
if mode == "async":
|
||||
rtp_decoder = routing_table.read_port()
|
||||
elif mode == "sync":
|
||||
rtp_decoder = routing_table.read_port(clock_domain="rtio")
|
||||
rtp_decoder = routing_table.read_port(clock_domain="rtio") # FIXME
|
||||
else:
|
||||
raise ValueError
|
||||
m.submodules += rtp_decoder
|
||||
|
|
Loading…
Reference in New Issue