Skip to main content

API Reference

API Reference

Auto-generated documentation for the RouteRTL Python API.

Public Interface

The RouteRTL SDK exposes its public API through the routertl.sim namespace:

from routertl.sim import Tb, run_simulation from routertl.sim import UartSource, SpiMaster, I2cMaster

Modules

Core

ModuleDescription
Testbench EnvironmentTb / TbEnv — clock, reset, logging, and monitor management
Simulation Runnerrun_simulation() — unified simulation entry point

Protocol Drivers

ModuleDescription
AXI-LiteAxiLiteMaster, AxiLiteSlave — AMBA AXI4-Lite BFMs
AXI4Full AXI4 burst-capable BFMs
Avalon-MMAvalonMMMaster, AvalonMMSlave — Intel Avalon BFMs
UARTUartSource, UartSink — async serial drivers
SPISpiMaster — SPI bus functional model
I2CI2cMaster — I²C bus functional model
Native MemoryDirect memory interface driver

Build & Hooks

ModuleDescription
Hook Authoringresolve_tool_binary(), load_project_config() — public API for pre-build hooks