rtio/sed/LaneDistributor: fix CRI address

This commit is contained in:
Sebastien Bourdeauducq 2017-09-16 14:13:01 +08:00
parent 25c644c663
commit 131f5e4a3b
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class LaneDistributor(Module):
lio.payload.timestamp.eq(self.cri.timestamp), lio.payload.timestamp.eq(self.cri.timestamp),
] ]
if hasattr(lio.payload, "address"): if hasattr(lio.payload, "address"):
self.comb += lio.payload.address.eq(self.cri.address) self.comb += lio.payload.address.eq(self.cri.o_address)
if hasattr(lio.payload, "data"): if hasattr(lio.payload, "data"):
self.comb += lio.payload.data.eq(self.cri.o_data) self.comb += lio.payload.data.eq(self.cri.o_data)