From 8072fcbceed492ddb7737b1fd8e3636d470745d8 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Thu, 2 May 2024 21:02:17 +0200 Subject: [PATCH] missing set_memory_size --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index ef08444..8e5fd6e 100644 --- a/main.cpp +++ b/main.cpp @@ -69,6 +69,7 @@ int run_cpu_validation(const std::string & filename) // create environment event = 0; bus *b = new bus(); + b->set_memory_size(DEFAULT_N_PAGES * 8192l); cpu *c = new cpu(b, &event); b->add_cpu(c);