From 4528700b84d34389e4fecbb522ffef5a20fec75c Mon Sep 17 00:00:00 2001 From: dengxingting Date: Wed, 25 Mar 2026 16:01:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=E3=80=8C/=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- generated.resc | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 generated.resc diff --git a/generated.resc b/generated.resc new file mode 100644 index 0000000..7a9aeaf --- /dev/null +++ b/generated.resc @@ -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