From 1f0fc1edcea04e5c1f04803f0bdda337c2245f09 Mon Sep 17 00:00:00 2001 From: uvok Date: Mon, 19 Jan 2026 19:43:58 +0100 Subject: eater: Combine counting in prev. state save 1 cycle, as explained in video. also, only print lo->hi clk states to term. --- eater_cpu/cpp/Veater_computer__main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eater_cpu/cpp/Veater_computer__main.cpp') diff --git a/eater_cpu/cpp/Veater_computer__main.cpp b/eater_cpu/cpp/Veater_computer__main.cpp index 425fa4e..315d52a 100644 --- a/eater_cpu/cpp/Veater_computer__main.cpp +++ b/eater_cpu/cpp/Veater_computer__main.cpp @@ -65,7 +65,7 @@ int main(int argc, char **argv, char **) { topp->clk_in = !topp->clk_in; - if (topp->eater_computer->PC_out == 3 && + if (topp->eater_computer->PC_out == 4 && topp->eater_computer->decoder__DOT__internal_state == 0x01) break; } -- cgit v1.2.3