上传文件至「/」
This commit is contained in:
43
generated.resc
Normal file
43
generated.resc
Normal file
@@ -0,0 +1,43 @@
|
||||
# Renode Simulation Script - Auto Generated
|
||||
# Generated: 2026-01-06 14:19:56
|
||||
# Architecture: SPARC V8 / Leon3
|
||||
using sysbus
|
||||
|
||||
# Load peripherals
|
||||
include @LEON_Control_Regs_SIMPLE.cs
|
||||
#include @Custom_RTC_R17V1_CORRECT_ADDR.cs
|
||||
#include @Simple_IO_Regs.cs
|
||||
include @LC3233_Timer_InterruptController.cs
|
||||
#include @Custom_ADC_R17V1.cs
|
||||
include @Custom_TLZA_Rwa.cs
|
||||
include @Custom_TLZA_ADU.cs
|
||||
include @Custom_TLZA_ADU1.cs
|
||||
include @Custom_RTC_TLZA.cs
|
||||
#include @timer_trigger.cs
|
||||
|
||||
# ===== 创建机器 =====
|
||||
mach create "SPARC V8_Leon3"
|
||||
|
||||
# ===== 加载硬件平台描述(引用 .repl 文件)=====
|
||||
machine LoadPlatformDescription @generated.repl
|
||||
|
||||
# ===== CPU 性能配置 =====
|
||||
cpu PerformanceInMips 80
|
||||
|
||||
# ===== 固件加载 =====
|
||||
# Load VxWorks
|
||||
sysbus LoadBinary @C:/Users/PingCe/Desktop/1_simulation/KX12A_Z/vxworks_smu/default/vxWorks 0x40003000
|
||||
|
||||
sysbus WriteDoubleWord 0x80000240 0x10
|
||||
|
||||
# ===== 调试配置 =====
|
||||
machine StartGdbServer 3333 true
|
||||
|
||||
# ===== 仿真参数 =====
|
||||
emulation SetGlobalQuantum "0.00001"
|
||||
|
||||
# ===== 日志配置 =====
|
||||
logLevel 1
|
||||
|
||||
# ===== 启动命令 =====
|
||||
# start
|
||||
Reference in New Issue
Block a user