Files

67 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2026-03-25 15:58:59 +08:00
// Simple platform with LEON_Control_Regs_SIMPLE
sysbus:
Endianess: Endianess.BigEndian
//cpu: CPU.Sparc @ sysbus
cpu: CPU.Sparc @ sysbus
cpuType: "leon3"
rom: Memory.MappedMemory @ sysbus 0x00000000
size: 0x20000
ddr: Memory.MappedMemory @ sysbus 0x40000000
size: 0x20000000
sdram: Memory.MappedMemory @ sysbus 0x60000000
size: 0x10000000
ahbInfo: Bus.GaislerAHBPlugAndPlayInfo @ sysbus <0xfffff000, +0xfff>
apbController: Bus.GaislerAPBController @ sysbus <0x800ff000, +0xfff>
// Use simplified LEON Control Regs
//leonRegs: Miscellaneous.LEON_Control_Regs_SIMPLE @ sysbus 0x80000000
// MIC at the address VxWorks expects (0x80000090)
// Note: GaislerMIC needs a range, so we use <base, +size> syntax
//mic: IRQControllers.GaislerMIC @ sysbus <0x80000090, +0x10>
// 0 -> cpu@0 | cpu@1 | cpu@2
// 0 -> cpu@0
mic: IRQControllers.GaislerMIC @ sysbus <0x80000200, +0x100>
0 -> cpu@0 | cpu@1 | cpu@2
//ioRegs: Miscellaneous.Simple_IO_Regs @ sysbus 0x800000A0
// TimeSliceIRQ -> mic@4
uart: UART.GaislerAPBUART @ sysbus <0x80000100, +0x100>
-> mic@2
timer: Timers.Gaisler_GPTimer @ sysbus 0x80000300
// 0 -> mic@8
0 -> mic@8
numberOfTimers: 2
separateInterrupts: false
frequency: 50000000
eth: Network.GaislerEth @ sysbus 0x80000B00
-> mic@12
gpio: GPIOPort.Gaisler_GPIO @ sysbus 0x80000800
numberOfConnections: 16
numberOfInterrupts: 1
rtc: Timers.Custom_RTC_R17V1 @sysbus 0x20800D80
lc3233IntCtrl:IRQControllers.LC3233_InterruptController @sysbus 0x80020000
4 -> mic@4
lc3233Timer:Timers.LC3233_TaskTimer @ sysbus 0x80000000
IRQ -> lc3233IntCtrl@4
//adc1: ADUADC1.ADU1 @ sysbus 0x21800800
//timer1: Timers1.TimeSlice_Timer_v2.cs @ sysbus 0x80000000
// txInterrupt -> mic@2