Repair a verified behavior in xilinx/pynq.
Repair a verified behavior in xilinx/pynq.: a task in OriGent-SFT-Data (Harbor dataset). PYNQ's memory-mapped I/O API mishandles byte-payload writes at a nonzero offset. MMIO.write(offset, data) accepts an integer 32-bit value or a bytes payload, where offset is a byte offset from the MMIO base…
The task
PYNQ's memory-mapped I/O API mishandles byte-payload writes at a nonzero offset. `MMIO.write(offset, data)` accepts an integer 32-bit value or a `bytes` payload, where `offset` is a byte offset from the MMIO base address. For a `bytes` payload, both the offset and payload length are required to be multiples of 4.
Part of henryen/OriGent-SFT-Data.