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

View File

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