1:name: RISC-V platform with a verilated UART
2:description: This script runs Zephyr using a verilated UART.
3
4$name?="LiteUART"
5
6using sysbus
7mach create $name
8machine LoadPlatformDescription @platforms/cpus/verilated/litex_vexriscv_verilated_liteuart.repl
9
10$bin?=@https://dl.antmicro.com/projects/renode/zephyr--verilated_liteuart--shell.elf-s_864780-63c7e83fb01451ac6683434997f6f03c6a8f9079
11$uartLinux?=@https://dl.antmicro.com/projects/renode/libVliteuart-Linux-x86_64-12746432362.so-s_2065816-334df4b5201438167096c12cd6d59715b43426e0
12$uartWindows?=@https://dl.antmicro.com/projects/renode/libVliteuart-Windows-x86_64-12746432362.dll-s_3236379-b1132516fb39f2484697e1aeca9836bb5559313e
13$uartMacOS?=@https://dl.antmicro.com/projects/renode/libVliteuart-macOS-x86_64-12746432362.dylib-s_219216-2682b8ed05e2290ebf173f01aa8908a3cb8624fe
14
15showAnalyzer uart
16
17uart SimulationFilePathLinux $uartLinux
18uart SimulationFilePathWindows $uartWindows
19# uart SimulationFilePathMacOS $uartMacOS
20
21macro reset
22"""
23    sysbus LoadELF $bin
24"""
25
26runMacro $reset
27
28