From fe96ef185b3f69c8fe96c4ae22a0a63e9926f5e0 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Tue, 26 Nov 2019 07:56:13 +0800 Subject: [PATCH] minor renaming of stuff Signed-off-by: Sean Cross --- Betrusted SoC.svd | 2885 ++++++++++++++++++++++++++ test.repl => betrusted-soc.repl | 0 test.resc => betrusted.resc | 9 +- kbd_soc.cs => kbd-soc.cs | 0 spi_ec.cs => spi-ec.cs | 0 spi_soc.cs => spi-soc.cs | 0 ticktimer_soc.cs => ticktimer-soc.cs | 0 7 files changed, 2890 insertions(+), 4 deletions(-) create mode 100644 Betrusted SoC.svd rename test.repl => betrusted-soc.repl (100%) rename test.resc => betrusted.resc (60%) rename kbd_soc.cs => kbd-soc.cs (100%) rename spi_ec.cs => spi-ec.cs (100%) rename spi_soc.cs => spi-soc.cs (100%) rename ticktimer_soc.cs => ticktimer-soc.cs (100%) diff --git a/Betrusted SoC.svd b/Betrusted SoC.svd new file mode 100644 index 0000000..e6531cf --- /dev/null +++ b/Betrusted SoC.svd @@ -0,0 +1,2885 @@ + + + + Betrusted-IO + BETRUSTED SOC + + + 8 + 32 + 32 + read-write + 0x00000000 + 0xFFFFFFFF + + + + BTEVENTS + 0xF0006800 + BTEVENTS + + + EV_STATUS + 0x0000 + 0x00 + + + status + 1 + [1:0] + 0 + + + + + EV_PENDING + 0x0004 + 0x00 + + + pending + 1 + [1:0] + 0 + + + + + EV_ENABLE + 0x0008 + 0x00 + + + enable + 1 + [1:0] + 0 + + + + + + 0 + 0xc + registers + + + btevents + 3 + + + + COM + 0xF0005800 + COM + + + TX1 + + 0x0000 + 0x00 + + + tx + 7 + [7:0] + 0 + + + + + TX0 + + 0x0004 + 0x00 + + + tx + 7 + [7:0] + 0 + + + + + RX1 + + 0x0008 + 0x00 + + + rx + 7 + [7:0] + 0 + + + + + RX0 + + 0x000c + 0x00 + + + rx + 7 + [7:0] + 0 + + + + + CONTROL + 0x0010 + 0x00 + + + clrdone + 0 + [0:0] + 0 + + + + go + 1 + [1:1] + 1 + + + + intena + 2 + [2:2] + 2 + + + + + + STATUS + 0x0014 + 0x00 + + + tip + 0 + [0:0] + 0 + + + + done + 1 + [1:1] + 1 + + + + + + EV_STATUS + 0x0018 + 0x00 + + + status + 0 + [0:0] + 0 + + + + + EV_PENDING + 0x001c + 0x00 + + + pending + 0 + [0:0] + 0 + + + + + EV_ENABLE + 0x0020 + 0x00 + + + enable + 0 + [0:0] + 0 + + + + + + 0 + 0x24 + registers + + + + CRG + 0xF0003800 + CRG + + + MMCM_READ + 0x0000 + 0x00 + + + mmcm_read + 0 + [0:0] + 0 + + + + + MMCM_WRITE + 0x0004 + 0x00 + + + mmcm_write + 0 + [0:0] + 0 + + + + + MMCM_DRDY + 0x0008 + 0x00 + + + mmcm_drdy + 0 + [0:0] + 0 + + + + + MMCM_ADR + 0x000c + 0x00 + + + mmcm_adr + 6 + [6:0] + 0 + + + + + MMCM_DAT_W1 + + 0x0010 + 0x00 + + + mmcm_dat_w + 7 + [7:0] + 0 + + + + + MMCM_DAT_W0 + + 0x0014 + 0x00 + + + mmcm_dat_w + 7 + [7:0] + 0 + + + + + MMCM_DAT_R1 + + 0x0018 + 0x00 + + + mmcm_dat_r + 7 + [7:0] + 0 + + + + + MMCM_DAT_R0 + + 0x001c + 0x00 + + + mmcm_dat_r + 7 + [7:0] + 0 + + + + + + 0 + 0x20 + registers + + + + CTRL + 0xF0000000 + CTRL + + + RESET + 0x0000 + 0x00 + + + reset + 0 + [0:0] + 0 + + + + + SCRATCH3 + + 0x0004 + 0x12 + + + scratch + 7 + [7:0] + 0 + + + + + SCRATCH2 + + 0x0008 + 0x34 + + + scratch + 7 + [7:0] + 0 + + + + + SCRATCH1 + + 0x000c + 0x56 + + + scratch + 7 + [7:0] + 0 + + + + + SCRATCH0 + + 0x0010 + 0x78 + + + scratch + 7 + [7:0] + 0 + + + + + BUS_ERRORS3 + + 0x0014 + 0x00 + + + bus_errors + 7 + [7:0] + 0 + + + + + BUS_ERRORS2 + + 0x0018 + 0x00 + + + bus_errors + 7 + [7:0] + 0 + + + + + BUS_ERRORS1 + + 0x001c + 0x00 + + + bus_errors + 7 + [7:0] + 0 + + + + + BUS_ERRORS0 + + 0x0020 + 0x00 + + + bus_errors + 7 + [7:0] + 0 + + + + + + 0 + 0x24 + registers + + + + I2C + 0xF0006000 + I2C + + + PRESCALE1 + + 0x0000 + 0x7f + + + prescale + 7 + [7:0] + 0 + + + + + PRESCALE0 + + 0x0004 + 0x7f + + + prescale + 7 + [7:0] + 0 + + + + + CONTROL + 0x0008 + 0x00 + + + Resvd + 5 + [5:0] + 0 + + + + IEN + 6 + [6:6] + 6 + + + + EN + 7 + [7:7] + 7 + + + + + + TXR + + 0x000c + 0x00 + + + txr + 7 + [7:0] + 0 + + + + + RXR + + 0x0010 + 0x00 + + + rxr + 7 + [7:0] + 0 + + + + + COMMAND + 0x0014 + 0x00 + + + IACK + 0 + [0:0] + 0 + + + + Resvd + 2 + [2:1] + 1 + + + + ACK + 3 + [3:3] + 3 + + + + WR + 4 + [4:4] + 4 + + + + RD + 5 + [5:5] + 5 + + + + STO + 6 + [6:6] + 6 + + + + STA + 7 + [7:7] + 7 + + + + + + STATUS + 0x0018 + 0x00 + + + IF + 0 + [0:0] + 0 + + + + TIP + 1 + [1:1] + 1 + + + + Resvd + 4 + [4:2] + 2 + + + + ArbLost + 5 + [5:5] + 5 + + + + Busy + 6 + [6:6] + 6 + + + + RxACK + 7 + [7:7] + 7 + + + + + + EV_STATUS + 0x001c + 0x00 + + + status + 0 + [0:0] + 0 + + + + + EV_PENDING + 0x0020 + 0x00 + + + pending + 0 + [0:0] + 0 + + + + + EV_ENABLE + 0x0024 + 0x00 + + + enable + 0 + [0:0] + 0 + + + + + + 0 + 0x28 + registers + + + i2c + 2 + + + + INFO + 0xF0004000 + INFO + + + DNA_ID7 + + 0x0000 + 0x00 + + + dna_id + 7 + [7:0] + 0 + + + + + DNA_ID6 + + 0x0004 + 0x00 + + + dna_id + 7 + [7:0] + 0 + + + + + DNA_ID5 + + 0x0008 + 0x00 + + + dna_id + 7 + [7:0] + 0 + + + + + DNA_ID4 + + 0x000c + 0x00 + + + dna_id + 7 + [7:0] + 0 + + + + + DNA_ID3 + + 0x0010 + 0x00 + + + dna_id + 7 + [7:0] + 0 + + + + + DNA_ID2 + + 0x0014 + 0x00 + + + dna_id + 7 + [7:0] + 0 + + + + + DNA_ID1 + + 0x0018 + 0x00 + + + dna_id + 7 + [7:0] + 0 + + + + + DNA_ID0 + + 0x001c + 0x00 + + + dna_id + 7 + [7:0] + 0 + + + + + GIT_COMMIT19 + + 0x0020 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT18 + + 0x0024 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT17 + + 0x0028 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT16 + + 0x002c + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT15 + + 0x0030 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT14 + + 0x0034 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT13 + + 0x0038 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT12 + + 0x003c + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT11 + + 0x0040 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT10 + + 0x0044 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT9 + + 0x0048 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT8 + + 0x004c + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT7 + + 0x0050 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT6 + + 0x0054 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT5 + + 0x0058 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT4 + + 0x005c + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT3 + + 0x0060 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT2 + + 0x0064 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT1 + + 0x0068 + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + GIT_COMMIT0 + + 0x006c + 0x00 + + + git_commit + 7 + [7:0] + 0 + + + + + PLATFORM_PLATFORM7 + + 0x0070 + 0x00 + + + platform_platform + 7 + [7:0] + 0 + + + + + PLATFORM_PLATFORM6 + + 0x0074 + 0x00 + + + platform_platform + 7 + [7:0] + 0 + + + + + PLATFORM_PLATFORM5 + + 0x0078 + 0x00 + + + platform_platform + 7 + [7:0] + 0 + + + + + PLATFORM_PLATFORM4 + + 0x007c + 0x00 + + + platform_platform + 7 + [7:0] + 0 + + + + + PLATFORM_PLATFORM3 + + 0x0080 + 0x00 + + + platform_platform + 7 + [7:0] + 0 + + + + + PLATFORM_PLATFORM2 + + 0x0084 + 0x00 + + + platform_platform + 7 + [7:0] + 0 + + + + + PLATFORM_PLATFORM1 + + 0x0088 + 0x00 + + + platform_platform + 7 + [7:0] + 0 + + + + + PLATFORM_PLATFORM0 + + 0x008c + 0x00 + + + platform_platform + 7 + [7:0] + 0 + + + + + PLATFORM_TARGET7 + + 0x0090 + 0x00 + + + platform_target + 7 + [7:0] + 0 + + + + + PLATFORM_TARGET6 + + 0x0094 + 0x00 + + + platform_target + 7 + [7:0] + 0 + + + + + PLATFORM_TARGET5 + + 0x0098 + 0x00 + + + platform_target + 7 + [7:0] + 0 + + + + + PLATFORM_TARGET4 + + 0x009c + 0x00 + + + platform_target + 7 + [7:0] + 0 + + + + + PLATFORM_TARGET3 + + 0x00a0 + 0x00 + + + platform_target + 7 + [7:0] + 0 + + + + + PLATFORM_TARGET2 + + 0x00a4 + 0x00 + + + platform_target + 7 + [7:0] + 0 + + + + + PLATFORM_TARGET1 + + 0x00a8 + 0x00 + + + platform_target + 7 + [7:0] + 0 + + + + + PLATFORM_TARGET0 + + 0x00ac + 0x00 + + + platform_target + 7 + [7:0] + 0 + + + + + XADC_TEMPERATURE1 + + 0x00b0 + 0x00 + + + xadc_temperature + 7 + [7:0] + 0 + + + + + XADC_TEMPERATURE0 + + 0x00b4 + 0x00 + + + xadc_temperature + 7 + [7:0] + 0 + + + + + XADC_VCCINT1 + + 0x00b8 + 0x00 + + + xadc_vccint + 7 + [7:0] + 0 + + + + + XADC_VCCINT0 + + 0x00bc + 0x00 + + + xadc_vccint + 7 + [7:0] + 0 + + + + + XADC_VCCAUX1 + + 0x00c0 + 0x00 + + + xadc_vccaux + 7 + [7:0] + 0 + + + + + XADC_VCCAUX0 + + 0x00c4 + 0x00 + + + xadc_vccaux + 7 + [7:0] + 0 + + + + + XADC_VCCBRAM1 + + 0x00c8 + 0x00 + + + xadc_vccbram + 7 + [7:0] + 0 + + + + + XADC_VCCBRAM0 + + 0x00cc + 0x00 + + + xadc_vccbram + 7 + [7:0] + 0 + + + + + + 0 + 0xd0 + registers + + + + KEYBOARD + 0xF0009000 + KEYBOARD + + + ROW0DAT1 + + 0x0000 + 0x00 + + + row0dat + 7 + [7:0] + 0 + + + + + ROW0DAT0 + + 0x0004 + 0x00 + + + row0dat + 7 + [7:0] + 0 + + + + + ROW1DAT1 + + 0x0008 + 0x00 + + + row1dat + 7 + [7:0] + 0 + + + + + ROW1DAT0 + + 0x000c + 0x00 + + + row1dat + 7 + [7:0] + 0 + + + + + ROW2DAT1 + + 0x0010 + 0x00 + + + row2dat + 7 + [7:0] + 0 + + + + + ROW2DAT0 + + 0x0014 + 0x00 + + + row2dat + 7 + [7:0] + 0 + + + + + ROW3DAT1 + + 0x0018 + 0x00 + + + row3dat + 7 + [7:0] + 0 + + + + + ROW3DAT0 + + 0x001c + 0x00 + + + row3dat + 7 + [7:0] + 0 + + + + + ROW4DAT1 + + 0x0020 + 0x00 + + + row4dat + 7 + [7:0] + 0 + + + + + ROW4DAT0 + + 0x0024 + 0x00 + + + row4dat + 7 + [7:0] + 0 + + + + + ROW5DAT1 + + 0x0028 + 0x00 + + + row5dat + 7 + [7:0] + 0 + + + + + ROW5DAT0 + + 0x002c + 0x00 + + + row5dat + 7 + [7:0] + 0 + + + + + ROW6DAT1 + + 0x0030 + 0x00 + + + row6dat + 7 + [7:0] + 0 + + + + + ROW6DAT0 + + 0x0034 + 0x00 + + + row6dat + 7 + [7:0] + 0 + + + + + ROW7DAT1 + + 0x0038 + 0x00 + + + row7dat + 7 + [7:0] + 0 + + + + + ROW7DAT0 + + 0x003c + 0x00 + + + row7dat + 7 + [7:0] + 0 + + + + + ROW8DAT1 + + 0x0040 + 0x00 + + + row8dat + 7 + [7:0] + 0 + + + + + ROW8DAT0 + + 0x0044 + 0x00 + + + row8dat + 7 + [7:0] + 0 + + + + + EV_STATUS + 0x0048 + 0x00 + + + status + 0 + [0:0] + 0 + + + + + EV_PENDING + 0x004c + 0x00 + + + pending + 0 + [0:0] + 0 + + + + + EV_ENABLE + 0x0050 + 0x00 + + + enable + 0 + [0:0] + 0 + + + + + ROWCHANGE1 + + 0x0054 + 0x00 + + + rowchange + 7 + [7:0] + 0 + + + + + ROWCHANGE0 + + 0x0058 + 0x00 + + + rowchange + 7 + [7:0] + 0 + + + + + + 0 + 0x5c + registers + + + keyboard + 4 + + + + MEMLCD + 0xF0005000 + MEMLCD + + + COMMAND + 0x0000 + 0x00 + + + UpdateDirty + 0 + [0:0] + 0 + + + + UpdateAll + 1 + [1:1] + 1 + + + + + + BUSY + + 0x0004 + 0x00 + + + busy + 0 + [0:0] + 0 + + + + + PRESCALER + + 0x0008 + 0x63 + + + prescaler + 7 + [7:0] + 0 + + + + + EV_STATUS + 0x000c + 0x00 + + + status + 0 + [0:0] + 0 + + + + + EV_PENDING + 0x0010 + 0x00 + + + pending + 0 + [0:0] + 0 + + + + + EV_ENABLE + 0x0014 + 0x00 + + + enable + 0 + [0:0] + 0 + + + + + + 0 + 0x18 + registers + + + + MESSIBLE + 0xF0007000 + MESSIBLE + + + IN + + 0x0000 + 0x00 + + + in + 7 + [7:0] + 0 + + + + + OUT + + 0x0004 + 0x00 + + + out + 7 + [7:0] + 0 + + + + + STATUS + 0x0008 + 0x00 + + + full + 0 + [0:0] + 0 + + + + have + 1 + [1:1] + 1 + + + + + + + 0 + 0xc + registers + + + + POWER + 0xF0008000 + POWER + + + POWER + 0x0000 + 0x0a + + + audio + 0 + [0:0] + 0 + + + + self + 1 + [1:1] + 1 + + + + ec_snoop + 2 + [2:2] + 2 + + + + state + 4 + [4:3] + 3 + + + + noisebias + 5 + [5:5] + 5 + + + + noise + 7 + [7:6] + 6 + + + + + + + 0 + 0x4 + registers + + + + REBOOT + 0xF0003000 + REBOOT + + + CTRL + 0x0000 + 0x00 + + + ctrl + 7 + [7:0] + 0 + + + + + ADDR3 + + 0x0004 + 0x20 + + + addr + 7 + [7:0] + 0 + + + + + ADDR2 + + 0x0008 + 0x50 + + + addr + 7 + [7:0] + 0 + + + + + ADDR1 + + 0x000c + 0x00 + + + addr + 7 + [7:0] + 0 + + + + + ADDR0 + + 0x0010 + 0x00 + + + addr + 7 + [7:0] + 0 + + + + + + 0 + 0x14 + registers + + + + SPINOR + 0xF0008800 + SPINOR + + + CFG1 + 0x0000 + 0x00 + + + cfg1 + 7 + [7:0] + 0 + + + + + CFG2 + 0x0004 + 0x00 + + + cfg2 + 7 + [7:0] + 0 + + + + + CFG3 + 0x0008 + 0x00 + + + cfg3 + 7 + [7:0] + 0 + + + + + CFG4 + 0x000c + 0x00 + + + cfg4 + 7 + [7:0] + 0 + + + + + STAT1 + 0x0010 + 0x00 + + + stat1 + 7 + [7:0] + 0 + + + + + STAT2 + 0x0014 + 0x00 + + + stat2 + 7 + [7:0] + 0 + + + + + STAT3 + 0x0018 + 0x00 + + + stat3 + 7 + [7:0] + 0 + + + + + STAT4 + 0x001c + 0x00 + + + stat4 + 7 + [7:0] + 0 + + + + + + 0 + 0x20 + registers + + + + SRAM_EXT + 0xF0004800 + SRAM_EXT + + + CONFIG_STATUS3 + + 0x0000 + 0x00 + + + mode + 7 + [7:0] + 0 + + + + + + CONFIG_STATUS2 + + 0x0004 + 0x00 + + + mode + 7 + [7:0] + 0 + + + + + + CONFIG_STATUS1 + + 0x0008 + 0x00 + + + mode + 7 + [7:0] + 0 + + + + + + CONFIG_STATUS0 + + 0x000c + 0x00 + + + mode + 7 + [7:0] + 0 + + + + + + READ_CONFIG + 0x0010 + 0x00 + + + trigger + 0 + [0:0] + 0 + + + + + + + 0 + 0x14 + registers + + + + TICKTIMER + 0xF0007800 + TICKTIMER + + + CONTROL + 0x0000 + 0x00 + + + reset + 0 + [0:0] + 0 + + + + pause + 1 + [1:1] + 1 + + + + + + TIME5 + + 0x0004 + 0x00 + + + time + 7 + [7:0] + 0 + + + + + TIME4 + + 0x0008 + 0x00 + + + time + 7 + [7:0] + 0 + + + + + TIME3 + + 0x000c + 0x00 + + + time + 7 + [7:0] + 0 + + + + + TIME2 + + 0x0010 + 0x00 + + + time + 7 + [7:0] + 0 + + + + + TIME1 + + 0x0014 + 0x00 + + + time + 7 + [7:0] + 0 + + + + + TIME0 + + 0x0018 + 0x00 + + + time + 7 + [7:0] + 0 + + + + + + 0 + 0x1c + registers + + + + TIMER0 + 0xF0002800 + TIMER0 + + + LOAD3 + + 0x0000 + 0x00 + + + load + 7 + [7:0] + 0 + + + + + LOAD2 + + 0x0004 + 0x00 + + + load + 7 + [7:0] + 0 + + + + + LOAD1 + + 0x0008 + 0x00 + + + load + 7 + [7:0] + 0 + + + + + LOAD0 + + 0x000c + 0x00 + + + load + 7 + [7:0] + 0 + + + + + RELOAD3 + + 0x0010 + 0x00 + + + reload + 7 + [7:0] + 0 + + + + + RELOAD2 + + 0x0014 + 0x00 + + + reload + 7 + [7:0] + 0 + + + + + RELOAD1 + + 0x0018 + 0x00 + + + reload + 7 + [7:0] + 0 + + + + + RELOAD0 + + 0x001c + 0x00 + + + reload + 7 + [7:0] + 0 + + + + + EN + + 0x0020 + 0x00 + + + en + 0 + [0:0] + 0 + + + + + UPDATE_VALUE + + 0x0024 + 0x00 + + + update_value + 0 + [0:0] + 0 + + + + + VALUE3 + + 0x0028 + 0x00 + + + value + 7 + [7:0] + 0 + + + + + VALUE2 + + 0x002c + 0x00 + + + value + 7 + [7:0] + 0 + + + + + VALUE1 + + 0x0030 + 0x00 + + + value + 7 + [7:0] + 0 + + + + + VALUE0 + + 0x0034 + 0x00 + + + value + 7 + [7:0] + 0 + + + + + EV_STATUS + 0x0038 + 0x00 + + + status + 0 + [0:0] + 0 + + + + + EV_PENDING + 0x003c + 0x00 + + + pending + 0 + [0:0] + 0 + + + + + EV_ENABLE + 0x0040 + 0x00 + + + enable + 0 + [0:0] + 0 + + + + + + 0 + 0x44 + registers + + + timer0 + 1 + + + + UART + 0xF0001800 + UART + + + RXTX + 0x0000 + 0x00 + + + rxtx + 7 + [7:0] + 0 + + + + + TXFULL + 0x0004 + 0x00 + + + txfull + 0 + [0:0] + 0 + + + + + RXEMPTY + 0x0008 + 0x00 + + + rxempty + 0 + [0:0] + 0 + + + + + EV_STATUS + 0x000c + 0x00 + + + status + 1 + [1:0] + 0 + + + + + EV_PENDING + 0x0010 + 0x00 + + + pending + 1 + [1:0] + 0 + + + + + EV_ENABLE + 0x0014 + 0x00 + + + enable + 1 + [1:0] + 0 + + + + + + 0 + 0x18 + registers + + + uart + 0 + + + + UART_PHY + 0xF0001000 + UART_PHY + + + TUNING_WORD3 + + 0x0000 + 0x00 + + + tuning_word + 7 + [7:0] + 0 + + + + + TUNING_WORD2 + + 0x0004 + 0x4b + + + tuning_word + 7 + [7:0] + 0 + + + + + TUNING_WORD1 + + 0x0008 + 0x7f + + + tuning_word + 7 + [7:0] + 0 + + + + + TUNING_WORD0 + + 0x000c + 0x5a + + + tuning_word + 7 + [7:0] + 0 + + + + + + 0 + 0x10 + registers + + + + IDENTIFIER_MEM + 0xF0002000 + IDENTIFIER_MEM + + + IDENTIFIER_MEM + + 0x0000 + 0x00 + + + identifier_mem + 7 + [7:0] + 0 + + + + + + 0 + 0x4 + registers + + + + diff --git a/test.repl b/betrusted-soc.repl similarity index 100% rename from test.repl rename to betrusted-soc.repl diff --git a/test.resc b/betrusted.resc similarity index 60% rename from test.resc rename to betrusted.resc index dc6daeb..75a19a4 100644 --- a/test.resc +++ b/betrusted.resc @@ -1,11 +1,12 @@ +path add $ORIGIN mach create i @fb.cs -i @spi_soc.cs -i @ticktimer_soc.cs +i @spi-soc.cs +i @ticktimer-soc.cs #i @kbd.cs using sysbus -machine LoadPlatformDescription $ORIGIN/test.repl +machine LoadPlatformDescription $ORIGIN/betrusted-soc.repl sysbus ApplySVD $ORIGIN/Betrusted\ SoC.svd sysbus LoadELF "D:/Code/Betrusted/betrusted-soc/sw/target/riscv32imac-unknown-none-elf/debug/betrusted-soc" showAnalyzer sysbus.fb -machine StartGdbServer 3333 true \ No newline at end of file +machine StartGdbServer 3333 true diff --git a/kbd_soc.cs b/kbd-soc.cs similarity index 100% rename from kbd_soc.cs rename to kbd-soc.cs diff --git a/spi_ec.cs b/spi-ec.cs similarity index 100% rename from spi_ec.cs rename to spi-ec.cs diff --git a/spi_soc.cs b/spi-soc.cs similarity index 100% rename from spi_soc.cs rename to spi-soc.cs diff --git a/ticktimer_soc.cs b/ticktimer-soc.cs similarity index 100% rename from ticktimer_soc.cs rename to ticktimer-soc.cs