-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mmio: fix duplicate transactions in integral read/write methods
the integral write methods (e.g. write32, write16, write8) were causing duplicate writes on the memory bus, apparently due to the underlying implementation of packing / unpacking a memory mapping slice. this commit modifies the integral read and write methods to dereference a ctypes pointer of the appropriate width instead, which was tested and shown to only yield one transaction on the bus. special thanks to @paul-demo for raising this issue, investigating solutions, and testing. resolves #50.
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters