A platonic ideal Renode machine on which to run Xous
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xous-platonic/platonic.repl

55 lines
1.2 KiB

cpu: CPU.VexRiscv @ sysbus
timeProvider: cpu_timer
cpuType: "rv32imac"
privilegeArchitecture: PrivilegeArchitecture.Priv1_10
uart: UART.LiteX_UART @ {
sysbus 0x60001800;
sysbus 0xE0001800 // shadow
}
-> cpu@2
rom: Memory.MappedMemory @ {
sysbus 0x00000000;
sysbus 0x80000000 // shadow
}
size: 0x00002000
sram: Memory.MappedMemory @ {
sysbus 0x40000000;
sysbus 0xc0000000 // shadow
}
size: 16777216
cpu_timer: Timers.LiteX_CPUTimer @ sysbus 0xf0000800
frequency: 66000000
// IRQ #100 is Machine Timer Interrupt
-> cpu@100
timer0: Timers.LiteX_Timer @ {
sysbus 0x60002800;
sysbus 0xE0002800 // shadow
}
frequency: 12000000
-> cpu@0
spi: SPI.PicoRV_SPI @ {
sysbus 0x60005000;
sysbus 0xe0005000 // shadow
}
flash: SPI.Micron_MT25Q @ spi
underlyingMemory: flash_mem
flash_mem: Memory.MappedMemory @ {
sysbus 0x20000000;
sysbus 0xA0000000 // shadow
}
size: 0x4000000
sysbus:
init:
Tag <0xe0000000 0x800> "CTRL"
Tag <0xE0006000 0x800> "REBOOT"
Tag <0xE0006800 0x800> "RGB"
Tag <0xE0007000 0x800> "VERSION"