diff options
| author | uvok | 2026-01-19 18:29:40 +0100 |
|---|---|---|
| committer | uvok | 2026-01-19 18:29:40 +0100 |
| commit | 1d6e5c813516a162b2b25053657b259ff8d77b54 (patch) | |
| tree | 622b6ee2b997d4a935ad7b4856f0048813771c63 /eater_cpu/cpp | |
| parent | e084767df02b39a4bce69682fa0876e96b7d5232 (diff) | |
eater,sim: Make decoder state actually public-flar
Diffstat (limited to 'eater_cpu/cpp')
| -rw-r--r-- | eater_cpu/cpp/Veater_computer__main.cpp | 2 | ||||
| -rw-r--r-- | eater_cpu/cpp/simpc_term.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/eater_cpu/cpp/Veater_computer__main.cpp b/eater_cpu/cpp/Veater_computer__main.cpp index 8f11b21..425fa4e 100644 --- a/eater_cpu/cpp/Veater_computer__main.cpp +++ b/eater_cpu/cpp/Veater_computer__main.cpp @@ -66,7 +66,7 @@ int main(int argc, char **argv, char **) { topp->clk_in = !topp->clk_in; if (topp->eater_computer->PC_out == 3 && - topp->eater_computer->__PVT__decoder__DOT__internal_state == 0x01) + topp->eater_computer->decoder__DOT__internal_state == 0x01) break; } contextp->timeInc(10); diff --git a/eater_cpu/cpp/simpc_term.cpp b/eater_cpu/cpp/simpc_term.cpp index 601a8cd..818389f 100644 --- a/eater_cpu/cpp/simpc_term.cpp +++ b/eater_cpu/cpp/simpc_term.cpp @@ -44,7 +44,7 @@ void simpc_ui_write(const std::unique_ptr<Veater_computer> &topp, uint64_t i) { PRINT_ME(3, NCUR_X, "CLK1: %4d\tState: 0x%02X\tHLT: %d", topp->clk_in, - topp->eater_computer->__PVT__decoder__DOT__internal_state, + topp->eater_computer->decoder__DOT__internal_state, halt); PRINT_ME(4, NCUR_X, "BUS: %02X\tPC: @0x%02X\tINS: 0x%02X", |
