From 05d5a79807fb0b8632aace844e5bf5ddc3a241cf Mon Sep 17 00:00:00 2001 From: HelenClaraGeorge Date: Fri, 3 Jan 2025 14:19:41 +0100 Subject: [PATCH] Changes to function calling in each module --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 1b97be8..96277e8 100644 --- a/main.cpp +++ b/main.cpp @@ -21,8 +21,8 @@ int sc_main(int argc, char* argv[]) { // Create an array of Interposer Interface instances InterposerInterface* interposers[num_chiplets]; ChipletInterface* chiplets[num_chiplets]; - O_E_converter* oec[num_chiplets][total_pes]; - ProcessingElement* pe[num_chiplets][total_pes]; + O_E_converter* oec[num_chiplets][num_pes]; + ProcessingElement* pe[num_chiplets][num_pes]; TokenManager* tokens[num_chiplets]; for (int i = 0; i < num_chiplets; ++i) {