mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
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:
parent
560cd696ab
commit
b19dadd1c6
1 changed files with 2 additions and 2 deletions
|
|
@ -39,8 +39,8 @@ namespace Antmicro.Renode.Peripherals.Miscellaneous
|
||||||
private enum Registers
|
private enum Registers
|
||||||
{
|
{
|
||||||
CONTROL = 0x0,
|
CONTROL = 0x0,
|
||||||
STATUS = 0x4,
|
STATUS = 0x8,
|
||||||
DATA = 0x8,
|
DATA = 0x4,
|
||||||
AV_CONFIG = 0xc,
|
AV_CONFIG = 0xc,
|
||||||
RO_CONFIG = 0x10,
|
RO_CONFIG = 0x10,
|
||||||
ERRORS = 0x14,
|
ERRORS = 0x14,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue