frontend/axi: same condition to connect connect wdata.we and wdata
This commit is contained in:
parent
d10e2e9d97
commit
4459bd25ed
|
@ -195,8 +195,10 @@ class LiteDRAMAXI2NativeW(Module):
|
||||||
# Write Data
|
# Write Data
|
||||||
self.comb += [
|
self.comb += [
|
||||||
axi.w.connect(w_buffer.sink),
|
axi.w.connect(w_buffer.sink),
|
||||||
If(id_buffer.source.valid, w_buffer.source.connect(port.wdata, omit={"strb"})),
|
If(id_buffer.source.valid,
|
||||||
port.wdata.we.eq(w_buffer.source.strb)
|
w_buffer.source.connect(port.wdata, omit={"strb"}),
|
||||||
|
port.wdata.we.eq(w_buffer.source.strb)
|
||||||
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue