1using sysbus
2$name?="Microwatt"
3
4mach create $name
5machine LoadPlatformDescription @platforms/cpus/microwatt.repl
6
7$bin?=@https://dl.antmicro.com/projects/renode/microwatt--micropython.elf-s_2282296-072a8aac5d4d9897425f72ec2ca8ca123e6d624f
8
9showAnalyzer uart
10
11macro reset
12"""
13    sysbus LoadELF $bin
14
15    # Microwatt should always boot from 0 but the ELF files tend to set the
16    # entry point differently. Adjust this to match your use case.
17    cpu PC 0
18"""
19
20runMacro $reset
21