Add endian support to device interface.
Verilog output supports big endian for read/write registers.