leonardt / fault

A Python package for testing hardware (part of the magma ecosystem)
BSD 3-Clause "New" or "Revised" License
41 stars 13 forks source link

Add support for both endian modes #119

Closed leonardt closed 5 years ago

leonardt commented 5 years ago

Reverts default file IO behavior to be little endian (the semantics got mixed up because Pythons file.write method is weird and caused some semantic mismatch in the expected behavior and actual behavior) and adds a parameter to file open to select endianness.