How renode/renode-infrastructure works
Renode is a platform emulator: its runtime models emulations containing machines, CPUs, buses, and peripherals, with a monitor and Python scripting for interaction. The supplied tree and excerpts support those major layers, but do not show the complete startup path or most runtime wiring. Edges are therefore limited to relationships visible in excerpts or explicitly listed by the source index; the README points elsewhere rather than documenting product capabilities.
Main entry points: Monitor.cs Monitor · MonitorPythonEngine.cs Monitor Python · DmaEngine.cs DMA engine · EmulationManager.cs Emulation manager
Components 21
Interaction and scripting
- Monitor
src/Emulator/Extensions/UserInterface/Monitor.cs - Command tokenizer
src/Emulator/Extensions/UserInterface/Tokenizer/Tokenizer.cs - Monitor Python
src/Emulator/Extensions/UserInterface/MonitorPythonEngine.cs - Python engine
src/Emulator/Main/Core/PythonEngine.cs - Monitor commands
src/Emulator/Extensions/UserInterface/Commands
Emulation runtime
- Emulation manager
src/Emulator/Main/Core/EmulationManager.cs - Emulation
src/Emulator/Main/Core/Emulation.cs - Machine
src/Emulator/Main/Core/Machine.cs - System bus
src/Emulator/Main/Peripherals/Bus/SystemBus.cs - Bus controller API
src/Emulator/Main/Peripherals/Bus/IBusController.cs - Logging
src/Emulator/Main/Logging/Logger.cs
CPU execution
- Translation CPU
src/Emulator/Peripherals/Peripherals/CPU/TranslationCPU.cs - Arm cores
src/Emulator/Cores/Arm - RISC-V cores
src/Emulator/Cores/RiscV - x86 cores
src/Emulator/Cores/X86
Peripheral devices
- Mapped memory
src/Emulator/Main/Peripherals/Memory/MappedMemory.cs - Peripheral API
src/Emulator/Main/Peripherals/IPeripheral.cs - DMA engine
src/Emulator/Main/Peripherals/DMA/DmaEngine.cs - USB mass storage
src/Emulator/Peripherals/Peripherals/USBDeprecated/MassStorage.cs - Arm interrupt controller
src/Emulator/Cores/Arm/ARM_GenericInterruptController.cs
Other components
- Operator
Connections 11
- Operator → Monitor: interacts with
- Monitor Python → Command tokenizer: parses tokens
src/Emulator/Extensions/UserInterface/MonitorPythonEngine.cs - Monitor Python → Monitor: uses monitor
src/Emulator/Extensions/UserInterface/MonitorPythonEngine.cs - Monitor → Monitor commands: loads commands
src/Emulator/Extensions/UserInterface/Monitor.cs - Python engine → Emulation manager: exposes to scripts
src/Emulator/Main/Core/PythonEngine.cs - Emulation manager → Emulation: creates
src/Emulator/Main/Core/EmulationManager.cs - System bus → Bus controller API: implements
- DMA engine → Bus controller API: transfers through
src/Emulator/Main/Peripherals/DMA/DmaEngine.cs - DMA engine → Mapped memory: accesses
src/Emulator/Main/Peripherals/DMA/DmaEngine.cs - USB mass storage → Peripheral API: implements
src/Emulator/Peripherals/Peripherals/USBDeprecated/MassStorage.cs - Arm interrupt controller → Peripheral API: implements