fix: the moved docs still described the test as "ctest -R rtl_sim"
That target stayed behind in R8Forge; here the equivalence check is a script, tests/rtl_sim.cmake, run with the three tool binaries as parameters. Four mentions corrected, including the milestone table and the schematic preamble.
This commit is contained in:
1 parent
d0dc2d4d66
commit
144c666f59
3 files changed
+4
-4
No files matched your search
@@ -85,7 +85,7 @@ rnz, 最低位 == 1: ip-- ; 深度=0
|
||||
(`'<'@0` 全为 0,说明没有靠回绕的写法):`calc` **51**、`hello` 49、`signed_demo` 34、
|
||||
`term` 27 —— 64 格装得下所有程序;只有 `asm/test.r8asm` 自检铺到 155(它把每个宏的格子块
|
||||
并排铺开,是自检不是程序)。实测:64 / 128 格下整轮自检 8/8 通过(11 位);物理机那套
|
||||
**8 位 + 64 格**下 `ctest -L widthfree` 5/5 通过,计算器纸带与 259 格版**逐字节相同**、
|
||||
**8 位 + 64 格**下工具链 5/5 通过(在 R8Forge 里跑),计算器纸带与 259 格版**逐字节相同**、
|
||||
会话步数也相同(166 348)。选环的规则见 SPEC §1.2:**≥ 程序碰到的最高格号 + 1**
|
||||
(碰到 ≥ 环大小的地址会被折回去,输出可能不变、步数会变)。
|
||||
|
||||
@@ -218,7 +218,7 @@ rnz, 最低位 == 1: ip-- ; 深度=0
|
||||
|
||||
| | 内容 | 验收 |
|
||||
|---|---|---|
|
||||
| ✅ M0 | 打包器 + RTL 仿真 | **做完**(2026-11,iverilog 14):`hello` 417 步、`term`(喂 `lhi`)17 643 步、`calc`(喂 `12 34 + .`)166 741 步、全家桶 100 142 步 —— RTL 的 OUT 流与步数和 `tape_run --loop-stack --retest` **逐字节一致**;`ctest -R rtl_sim` 固化 |
|
||||
| ✅ M0 | 打包器 + RTL 仿真 | **做完**(2026-11,iverilog 14):`hello` 417 步、`term`(喂 `lhi`)17 643 步、`calc`(喂 `12 34 + .`)166 741 步、全家桶 100 142 步 —— RTL 的 OUT 流与步数和 `tape_run --loop-stack --retest` **逐字节一致**;`tests/rtl_sim.cmake` 固化 |
|
||||
| M1 | 上板,面板 + 单步 | 单步跑 `hello`,OUT 与仿真逐字符一致 |
|
||||
| M2 | UART + 连续运行 | `asm/test.r8asm` 跑完:93 个 OUT、步数 = **100 142**(`--retest` 口径;软硬件都已对上,等真板子) |
|
||||
| M3 | 交互 | 终端里把计算器会话打出来(`12 34 + .` → `046`,**166 741** 步 —— 仿真里已经做到) |
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# TTL 主板接线表(8 位 / 64 格 / 27C512)
|
||||
|
||||
这台机器的骨架。**参数**:cell 8 位、数据环 64 格、程序 ROM 27C512(一条指令一字节,低 3 位
|
||||
是操作码)、时钟 1 MHz。逻辑等价物已经在 `rtl/rot8.v` 里对拍过(`ctest -R rtl_sim`),
|
||||
是操作码)、时钟 1 MHz。逻辑等价物已经在 `rtl/rot8.v` 里对拍过(`tests/rtl_sim.cmake`),
|
||||
这份表就是把那个 RTL 翻成 74LS 的连线。
|
||||
|
||||
> 说明:下面是**设计草稿**。引脚名按 74LS 系列数据手册的通用叫法写,具体物理脚号(DIP 的
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@
|
||||
| **`calc`(输入 `12 34 + .`)** | 51 378 | 166 741 | 19 | ✅ 打出 `> 12 34 + .` / `046` / `> ` |
|
||||
| 全家桶 `asm/test.r8asm` | 43 676 | 100 142 | 93 | ✅ |
|
||||
|
||||
自动化:`ctest -R rtl_sim`(在 8 位 / 64 格的构建里真跑,其它几何打印 SKIP)。
|
||||
自动化:`tests/rtl_sim.cmake`(要用 **8/64** 的 R8Forge 构建,见仓库根 `AGENTS.md`)。
|
||||
`tests/rtl_sim.cmake` 就是那一轮:汇编 → 打包 → 软件跑 → `iverilog` 编 → `vvp` 跑 → 比对
|
||||
OUT 流和步数。
|
||||
|
||||
|
||||
Reference in new issue
Block a user