仿真平台内核初版 -tlib库 包含<sparc arm riscv powerPC>
This commit is contained in:
22
scripts/single-node/picosoc.resc
Normal file
22
scripts/single-node/picosoc.resc
Normal file
@@ -0,0 +1,22 @@
|
||||
:name: PicoSoC Example
|
||||
:description: This script runs PicoSoC test firmware
|
||||
|
||||
$name?="picosoc"
|
||||
|
||||
using sysbus
|
||||
|
||||
mach create $name
|
||||
machine LoadPlatformDescription @platforms/cpus/picosoc.repl
|
||||
|
||||
$bin?=@https://dl.antmicro.com/projects/renode/icebreaker_fw.elf-s_14080-c09a99cd3716d6428af7700e19af66d7935ea438
|
||||
|
||||
showAnalyzer sysbus.uart
|
||||
|
||||
macro reset
|
||||
"""
|
||||
cpu SetRegister 2 0x1000
|
||||
sysbus LoadELF $bin
|
||||
"""
|
||||
|
||||
runMacro $reset
|
||||
|
||||
Reference in New Issue
Block a user