emulation: trng_server: fix trng register addresses

This swaps the STATUS and DATA registers, which were incorrectly
created.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2021-04-23 13:58:01 +08:00
parent 560cd696ab
commit b19dadd1c6

View file

@ -39,8 +39,8 @@ namespace Antmicro.Renode.Peripherals.Miscellaneous
private enum Registers
{
CONTROL = 0x0,
STATUS = 0x4,
DATA = 0x8,
STATUS = 0x8,
DATA = 0x4,
AV_CONFIG = 0xc,
RO_CONFIG = 0x10,
ERRORS = 0x14,