Cleanup: Correct long-standing bug in endian swapper
Cleanup: Correct long-standing bug in endian swapper

stuarthodgson/cocotb,stuarthodgson/cocotb,mkreider/cocotb2,stuarthodgson/cocotb,mkreider/cocotb2,mkreider/cocotb2