22 lines
402 B
Plaintext
22 lines
402 B
Plaintext
|
|
:name: LiteX VexRiscv
|
||
|
|
:description: This script runs LiteX BIOS on VexRiscv CPU.
|
||
|
|
|
||
|
|
$name?="LiteX"
|
||
|
|
|
||
|
|
using sysbus
|
||
|
|
mach create $name
|
||
|
|
machine LoadPlatformDescription @platforms/cpus/litex_vexriscv.repl
|
||
|
|
|
||
|
|
$bin?=@https://dl.antmicro.com/projects/renode/litex_zephyr.elf-s_331660-260af83eb5e49de4fde160001f7f4ea957f9ca8c
|
||
|
|
|
||
|
|
showAnalyzer sysbus.uart
|
||
|
|
|
||
|
|
macro reset
|
||
|
|
"""
|
||
|
|
sysbus LoadELF $bin
|
||
|
|
"""
|
||
|
|
|
||
|
|
runMacro $reset
|
||
|
|
|
||
|
|
|