Commit 0dea934
committed
gemu: state_E2_E3 reset FI01 (CI81), missing vs the timing table
Verifying gemu against the authoritative per-clock timing tables (CPU[7] p61+,
drawing 14024137) row by row (Clock / Comando / Equazione / transfer):
- state_E0 (p61) matches 1:1.
- state_E2_E3 (p61): the table lists four FI resets at TI06 -- CI80/CI81/CI82/CI83
(Reset FI00/01/02/03) -- but gemu had only CI80/CI82/CI83. Add the missing
CI81 (Reset FI01). FI01 is set only by forcing (state 08) and the b1 peripheral
path, so clearing it at instruction fetch is a no-op for normal CPU flow; the
table's EC73A0 gate isn't transcribed, so (like the sibling CI80/CI83 whose
DI18B0 gate is the in-state decode) it is treated as unconditional.
- state_E4 (p62): CI60 = EC54A0 (RO7-based) confirms the bit-15 high-quartet gate
(gemu not_RO07, symmetric with E5).
docs/flowchart-sheets.md records the per-clock source, workflow, and these
results (incl. the OCR 'CO1O' caveat).
make check: 244 tests + funktionalcpu deck (0x175a) + roundtrip + cc, all green.1 parent dd90641 commit 0dea934
2 files changed
Lines changed: 29 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
171 | 184 | | |
172 | 185 | | |
173 | 186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
127 | 134 | | |
128 | 135 | | |
129 | 136 | | |
| |||
0 commit comments