summaryrefslogtreecommitdiff
path: root/eater_cpu/cpp/simpc_curses.cpp
diff options
context:
space:
mode:
authoruvok2026-01-25 16:08:13 +0100
committeruvok2026-01-25 16:08:13 +0100
commit4576b63b0aed78f276586391784241aa70da402e (patch)
tree9c6fe1cc9cabe87bcaed69b1cbb6606fa22738d7 /eater_cpu/cpp/simpc_curses.cpp
parentd4c7711c21e5fef75d966a32dce96f9abc5af8b2 (diff)
eater: fix iverilog errors
b/c of OUT name clashes
Diffstat (limited to 'eater_cpu/cpp/simpc_curses.cpp')
-rw-r--r--eater_cpu/cpp/simpc_curses.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/eater_cpu/cpp/simpc_curses.cpp b/eater_cpu/cpp/simpc_curses.cpp
index 4b4f04f..5ae98b1 100644
--- a/eater_cpu/cpp/simpc_curses.cpp
+++ b/eater_cpu/cpp/simpc_curses.cpp
@@ -70,7 +70,7 @@ void simpc_ui_write(const std::unique_ptr<Veater_computer> &topp, uint64_t i) {
clock_regs, 3, 1, "A : 0x%02X\tB : 0x%02X\tALU: 0x%02X\tOUT: 0x%02X",
topp->eater_computer->A->r_datastore,
topp->eater_computer->B->r_datastore, topp->eater_computer->alu->result,
- topp->eater_computer->OUT->r_datastore);
+ topp->eater_computer->OUT_reg->r_datastore);
// "PC: 0x%02X, INS: 0x%02X", topp->eater_computer->PC_out, opcode;
// const wchar_t flag_on = L'\u26ab';