mirror of
https://github.com/enjoy-digital/litedram.git
synced 2025-01-04 09:52:25 -05:00
frontend/axi: same condition to connect connect wdata.we and wdata
This commit is contained in:
parent
d10e2e9d97
commit
4459bd25ed
1 changed files with 4 additions and 2 deletions
|
@ -195,8 +195,10 @@ class LiteDRAMAXI2NativeW(Module):
|
|||
# Write Data
|
||||
self.comb += [
|
||||
axi.w.connect(w_buffer.sink),
|
||||
If(id_buffer.source.valid, w_buffer.source.connect(port.wdata, omit={"strb"})),
|
||||
port.wdata.we.eq(w_buffer.source.strb)
|
||||
If(id_buffer.source.valid,
|
||||
w_buffer.source.connect(port.wdata, omit={"strb"}),
|
||||
port.wdata.we.eq(w_buffer.source.strb)
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue