From df4db877195a4b828dd3e2b74607d57b49639fb1 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Wed, 25 Nov 2020 20:39:37 +0800 Subject: [PATCH] emulation: add fake COM interrupt for CI The `renode.svd` file hasn't been updated yet, but code depends on having an interrupt for COM. Add a fake interrupt to get CI building again. Signed-off-by: Sean Cross --- emulation/renode.svd | 178 ++++++++++++++++++++++++++----------------- 1 file changed, 109 insertions(+), 69 deletions(-) diff --git a/emulation/renode.svd b/emulation/renode.svd index 10bbc3176..27d5d3378 100644 --- a/emulation/renode.svd +++ b/emulation/renode.svd @@ -12,9 +12,68 @@ 0xFFFFFFFF + + CTRL + 0xF0000000 + CTRL + + + RESET + + 0x0000 + 0x00 + 32 + + + reset + 0 + [0:0] + 0 + + + + + SCRATCH + + 0x0004 + 0x12345678 + 32 + + + scratch + 31 + [31:0] + 0 + + + + + BUS_ERRORS + + 0x0008 + 0x00 + 32 + + + bus_errors + 31 + [31:0] + 0 + + + + + + 0 + 0xc + registers + + IDENTIFIER_MEM - 0xF0001000 + 0xF0002000 IDENTIFIER_MEM @@ -41,7 +100,7 @@ TIMER0 - 0xF0002000 + 0xF0003000 TIMER0 @@ -187,19 +246,17 @@ register to disable individual events.]]> REBOOT - 0xF0003000 + 0xF0004000 REBOOT - SOC_RESET - + CTRL 0x0000 0x00 32 - soc_reset + ctrl 7 [7:0] 0 @@ -208,7 +265,6 @@ peripherals]]> ADDR - 0x0004 0x00 32 @@ -221,32 +277,16 @@ peripherals]]> - - CPU_RESET - - 0x0008 - 0x00 - 32 - - - cpu_reset - 0 - [0:0] - 0 - - - 0 - 0xc + 0x8 registers CRG - 0xF0004000 + 0xF0005000 CRG @@ -370,7 +410,7 @@ affect CRG or peripherals]]> GPIO - 0xF0005000 + 0xF0006000 GPIO @@ -684,7 +724,7 @@ register to disable individual events.]]> UART_PHY - 0xF0006000 + 0xF0007000 UART_PHY @@ -710,7 +750,7 @@ register to disable individual events.]]> UART - 0xF0007000 + 0xF0008000 UART @@ -868,7 +908,7 @@ register to disable individual events.]]> CONSOLE_PHY - 0xF0008000 + 0xF0009000 CONSOLE_PHY @@ -894,7 +934,7 @@ register to disable individual events.]]> CONSOLE - 0xF0009000 + 0xF000A000 CONSOLE @@ -1052,7 +1092,7 @@ register to disable individual events.]]> SERVER0_PHY - 0xF000A000 + 0xF000B000 SERVER0_PHY @@ -1078,7 +1118,7 @@ register to disable individual events.]]> SERVER0 - 0xF000B000 + 0xF000C000 SERVER0 @@ -1236,7 +1276,7 @@ register to disable individual events.]]> SERVER1_PHY - 0xF000C000 + 0xF000D000 SERVER1_PHY @@ -1262,7 +1302,7 @@ register to disable individual events.]]> SERVER1 - 0xF000D000 + 0xF000E000 SERVER1 @@ -1420,7 +1460,7 @@ register to disable individual events.]]> INFO - 0xF000E000 + 0xF000F000 INFO @@ -1816,7 +1856,7 @@ VCCBRAM (V) = ``Value`` x 3 / 4096.]]> SRAM_EXT - 0xF000F000 + 0xF0010000 SRAM_EXT @@ -1858,7 +1898,7 @@ VCCBRAM (V) = ``Value`` x 3 / 4096.]]> MEMLCD - 0xF0010000 + 0xF0011000 MEMLCD @@ -1974,7 +2014,7 @@ register to disable individual events.]]> COM - 0xF0011000 + 0xF0012000 COM @@ -2126,19 +2166,19 @@ register to disable individual events.]]> + + com + 16 + 0 0x1c registers - - com - 6 - I2C - 0xF0012000 + 0xF0013000 I2C @@ -2386,12 +2426,12 @@ register to disable individual events.]]> i2c - 7 + 6 BTEVENTS - 0xF0013000 + 0xF0014000 BTEVENTS @@ -2475,12 +2515,12 @@ register to disable individual events.]]> btevents - 8 + 7 MESSIBLE - 0xF0014000 + 0xF0015000 MESSIBLE @@ -2546,7 +2586,7 @@ register advances the read pointer automatically.]]> MESSIBLE2 - 0xF0015000 + 0xF0016000 MESSIBLE2 @@ -2612,7 +2652,7 @@ register advances the read pointer automatically.]]> TICKTIMER - 0xF0016000 + 0xF0017000 TICKTIMER @@ -2757,12 +2797,12 @@ register to disable individual events.]]> ticktimer - 9 + 8 POWER - 0xF0017000 + 0xF0018000 POWER @@ -2922,7 +2962,7 @@ reset fashion]]> SPINOR - 0xF0018000 + 0xF0019000 SPINOR @@ -3203,7 +3243,7 @@ checked]]> KEYBOARD - 0xF0019000 + 0xF001A000 KEYBOARD @@ -3413,19 +3453,19 @@ again until the interrupt is serviced.]]> keyboard - 10 + 9 SEED - 0xF001A000 + 0xF001B000 SEED SEED1 0x0000 - 0x2c552c3f + 0x20483d3b 32 @@ -3440,7 +3480,7 @@ again until the interrupt is serviced.]]> SEED0 0x0004 - 0x3e20093a + 0x1febda0d 32 @@ -3460,7 +3500,7 @@ again until the interrupt is serviced.]]> ROMTEST - 0xF001B000 + 0xF001C000 ROMTEST @@ -3502,7 +3542,7 @@ again until the interrupt is serviced.]]> AUDIO - 0xF001C000 + 0xF001D000 AUDIO @@ -3869,12 +3909,12 @@ I2S_FORMAT.I2S_STANDARD is I2S standard]]> audio - 11 + 10 TRNG_OSC - 0xF001D000 + 0xF001E000 TRNG_OSC @@ -3960,7 +4000,7 @@ reading the `rand` register]]> AES - 0xF001E000 + 0xF001F000 AES @@ -4423,7 +4463,7 @@ automatically on data and IV ready]]> SHA512 - 0xF001F000 + 0xF0020000 SHA512 @@ -4913,12 +4953,12 @@ in bits]]> sha512 - 12 + 11 ENGINE - 0xF0020000 + 0xF0021000 ENGINE @@ -5142,12 +5182,12 @@ exactly reflects the binary layout of an Engine instruction.]]> engine - 13 + 12 JTAG - 0xF0021000 + 0xF0022000 JTAG @@ -5258,4 +5298,4 @@ exactly reflects the binary layout of an Engine instruction.]]> - \ No newline at end of file +