blob: 03f0ff1903ad7f77390ef8dabb6ad12607ba6055 [file] [log] [blame]
:name: Verilated Ibex
:description: This script runs LiteX BIOS on the verilated Ibex CPU.
$name?="Verilated Ibex"
using sysbus
mach create $name
machine LoadPlatformDescription @platforms/cpus/verilated/verilated_ibex.repl
$bios?=@https://dl.antmicro.com/projects/renode/litex_ibex--bios.bin-s_20712-80d064cf8ab28801b78c0e5a63cac4830016f6c8
$cpuLinux?=@https://dl.antmicro.com/projects/renode/libVcpu_ibex-Linux-x86_64-12746432362.so-s_2224440-fb03313c1ba631156fcbbb5593a4f66e4c5fe459
$cpuWindows?=@https://dl.antmicro.com/projects/renode/libVcpu_ibex-Windows-x86_64-12746432362.dll-s_3401444-3e4e24fdc95d7436b490c95285169b3748ed2b76
$cpuMacOS?=@https://dl.antmicro.com/projects/renode/libVcpu_ibex-macOS-x86_64-12746432362.dylib-s_316064-ca204a33af0e742a326cf3cc407608caed5b225e
showAnalyzer sysbus.uart
cpu SimulationFilePathLinux $cpuLinux
cpu SimulationFilePathWindows $cpuWindows
cpu SimulationFilePathMacOS $cpuMacOS
macro reset
"""
sysbus LoadBinary $bios 0x0
sysbus.cpu PC 0x0
"""
runMacro $reset