Fix typo in rtio.sed.output_driver

This commit is contained in:
Donald Sebastian Leung 2020-10-27 13:39:19 +08:00
parent c04d21aa31
commit 160ac76ee7
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class OutputDriver(Elaboratable):
ts_shift = len(lane_data.payload.fine_ts) - len(oif.fine_ts)
onehot_fine_ts.append(Mux(selected, lane_data.payload.fine_ts[ts_shift:], 0))
if hasattr(lane_data.payload, "address"):
onehot_address.append(Mux(selected, lane_datapayload.address, 0))
onehot_address.append(Mux(selected, lane_data.payload.address, 0))
if hasattr(lane_data.payload, "data"):
onehot_data.append(Mux(selected, lane_data.payload.data, 0))