diff --git a/README.md b/README.md index 2d8eba9..369007b 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ Corona_NoC_Optical_230924/ │ ├── configuration.h │ ├── core.h │ ├── router.h +| |__ semaphore_manager.h ├── src/ │ ├── core.cpp │ ├── router.cpp diff --git a/include/semaphore_manager.h b/include/semaphore_manager.h index d30b67f..08fe9de 100644 --- a/include/semaphore_manager.h +++ b/include/semaphore_manager.h @@ -69,9 +69,9 @@ public: request_queues[semaphore_id].pop(); queue_entries[semaphore_id].erase(next_router); // Remove from set when dequeued semaphore_owners[semaphore_id] = next_router; - //semaphore_status[semaphore_id] = true; // Mark semaphore as in use + semaphore_status[semaphore_id] = true; // Mark semaphore as in use log_info("Token for destination router " + std::to_string(semaphore_id) + " passed to Router " + std::to_string(next_router)); - request_token(next_router, semaphore_id); + //request_token(next_router, semaphore_id); } else { semaphore_owners[semaphore_id] = -1; @@ -91,9 +91,10 @@ public: wait(20, SC_NS); for (int i = 0; i < ROUTER_NO; ++i) { std::lock_guard lock(mutex); // Ensure atomic update - if (semaphore_owners[i] == -1 && request_queues[i].empty()) { + if ((!semaphore_status[i] && (semaphore_owners[i] == -1 || request_queues[i].empty()))) { semaphore_owners[i] = (last_router_owner[i] + 1) % ROUTER_NO; log_info("Updated owner of semaphore " + std::to_string(i) + " to Router " + std::to_string(semaphore_owners[i])); + last_router_owner[i] = semaphore_owners[i]; } } diff --git a/obj/router.o b/obj/router.o index 285edee..a0f614d 100644 Binary files a/obj/router.o and b/obj/router.o differ diff --git a/out/noc_simulation b/out/noc_simulation index 36396d2..6b8fd49 100644 Binary files a/out/noc_simulation and b/out/noc_simulation differ diff --git a/out/report.log b/out/report.log index 7c15d31..42fb6c1 100644 --- a/out/report.log +++ b/out/report.log @@ -1,745 +1,778 @@ -0 s: Info: MY_LOG: Core 0 of Source Router: 0: Processing data 2 for router 1 and core 3 at time: 0 s -0 s: Info: MY_LOG: Router router0: Received transaction with data: 2 at time: 0 s -0 s: Info: MY_LOG: Core core0_0: Transaction successful, data sent: 2 at time: 0 s -0 s: Info: MY_LOG: Core 1 of Source Router: 0: Processing data 20 for router 2 and core 3 at time: 0 s -0 s: Info: MY_LOG: Router router0: Received transaction with data: 20 at time: 0 s -0 s: Info: MY_LOG: Core core0_1: Transaction successful, data sent: 20 at time: 0 s -0 s: Info: MY_LOG: Core 2 of Source Router: 0: Processing data 31 for router 1 and core 3 at time: 0 s -0 s: Info: MY_LOG: Router router0: Received transaction with data: 31 at time: 0 s -0 s: Info: MY_LOG: Core core0_2: Transaction successful, data sent: 31 at time: 0 s -0 s: Info: MY_LOG: Core 3 of Source Router: 0: Processing data 84 for router 3 and core 0 at time: 0 s -0 s: Info: MY_LOG: Router router0: Received transaction with data: 84 at time: 0 s -0 s: Info: MY_LOG: Core core0_3: Transaction successful, data sent: 84 at time: 0 s -0 s: Info: MY_LOG: Core 0 of Source Router: 1: Processing data 13 for router 0 and core 3 at time: 0 s -0 s: Info: MY_LOG: Router router1: Received transaction with data: 13 at time: 0 s -0 s: Info: MY_LOG: Core core1_0: Transaction successful, data sent: 13 at time: 0 s -0 s: Info: MY_LOG: Core 1 of Source Router: 1: Processing data 48 for router 0 and core 1 at time: 0 s -0 s: Info: MY_LOG: Router router1: Received transaction with data: 48 at time: 0 s -0 s: Info: MY_LOG: Core core1_1: Transaction successful, data sent: 48 at time: 0 s -0 s: Info: MY_LOG: Core 2 of Source Router: 1: Processing data 65 for router 3 and core 1 at time: 0 s -0 s: Info: MY_LOG: Router router1: Received transaction with data: 65 at time: 0 s -0 s: Info: MY_LOG: Core core1_2: Transaction successful, data sent: 65 at time: 0 s -0 s: Info: MY_LOG: Core 3 of Source Router: 1: Processing data 18 for router 2 and core 0 at time: 0 s -0 s: Info: MY_LOG: Router router1: Received transaction with data: 18 at time: 0 s -0 s: Info: MY_LOG: Core core1_3: Transaction successful, data sent: 18 at time: 0 s -0 s: Info: MY_LOG: Core 0 of Source Router: 2: Processing data 89 for router 0 and core 1 at time: 0 s -0 s: Info: MY_LOG: Router router2: Received transaction with data: 89 at time: 0 s -0 s: Info: MY_LOG: Core core2_0: Transaction successful, data sent: 89 at time: 0 s -0 s: Info: MY_LOG: Core 1 of Source Router: 2: Processing data 50 for router 1 and core 0 at time: 0 s -0 s: Info: MY_LOG: Router router2: Received transaction with data: 50 at time: 0 s -0 s: Info: MY_LOG: Core core2_1: Transaction successful, data sent: 50 at time: 0 s -0 s: Info: MY_LOG: Core 2 of Source Router: 2: Processing data 71 for router 0 and core 3 at time: 0 s -0 s: Info: MY_LOG: Router router2: Received transaction with data: 71 at time: 0 s -0 s: Info: MY_LOG: Core core2_2: Transaction successful, data sent: 71 at time: 0 s -0 s: Info: MY_LOG: Core 3 of Source Router: 2: Processing data 1 for router 0 and core 3 at time: 0 s -0 s: Info: MY_LOG: Router router2: Received transaction with data: 1 at time: 0 s -0 s: Info: MY_LOG: Core core2_3: Transaction successful, data sent: 1 at time: 0 s -0 s: Info: MY_LOG: Core 0 of Source Router: 3: Processing data 2 for router 0 and core 1 at time: 0 s -0 s: Info: MY_LOG: Router router3: Received transaction with data: 2 at time: 0 s -0 s: Info: MY_LOG: Core core3_0: Transaction successful, data sent: 2 at time: 0 s -0 s: Info: MY_LOG: Core 1 of Source Router: 3: Processing data 3 for router 0 and core 1 at time: 0 s -0 s: Info: MY_LOG: Router router3: Received transaction with data: 3 at time: 0 s -0 s: Info: MY_LOG: Core core3_1: Transaction successful, data sent: 3 at time: 0 s -0 s: Info: MY_LOG: Core 2 of Source Router: 3: Processing data 46 for router 1 and core 0 at time: 0 s -0 s: Info: MY_LOG: Router router3: Received transaction with data: 46 at time: 0 s -0 s: Info: MY_LOG: Core core3_2: Transaction successful, data sent: 46 at time: 0 s -0 s: Info: MY_LOG: Core 3 of Source Router: 3: Processing data 71 for router 0 and core 1 at time: 0 s -0 s: Info: MY_LOG: Router router3: Received transaction with data: 71 at time: 0 s -0 s: Info: MY_LOG: Core core3_3: Transaction successful, data sent: 71 at time: 0 s -0 s: Info: MY_LOG: Token for destination router 1 granted to Router 0 -0 s: Info: MY_LOG: router0 forwarded data: 2 to Router_1 -0 s: Info: MY_LOG: Token for destination router 0 granted to Router 1 -0 s: Info: MY_LOG: router1 forwarded data: 13 to Router_0 -0 s: Info: MY_LOG: Router 3 added to queue for semaphore 0 -0 s: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:2 -0 s: Info: MY_LOG: Router 2 added to queue for semaphore 0 -0 s: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:89 -5 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:2 -5 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:89 -10 ns: Info: MY_LOG: Router 0 released token for destination router 1 -10 ns: Info: MY_LOG: Router 1: Received transaction with data: 2 from Router 0 after a delay of:10 ns -10 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 2 to core 3 -10 ns: Info: MY_LOG: Core 3 of parent Router: 1: Processing transaction and received data: 2 -10 ns: Info: MY_LOG: Router router1: Core 3 completed transaction, data: 2 -10 ns: Info: MY_LOG: Token for destination router 2 granted to Router 0 -10 ns: Info: MY_LOG: router0 forwarded data: 20 to Router_2 -10 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:2 -10 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:89 -15 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:2 -15 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:89 -20 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 1 -20 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:2 -20 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:89 -25 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:2 -25 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:89 -30 ns: Info: MY_LOG: Router 1 released token for destination router 0 -30 ns: Info: MY_LOG: Token for destination router 0 passed to Router 3 -30 ns: Info: MY_LOG: Router 0: Received transaction with data: 13 from Router 1 after a delay of:30 ns -30 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 13 to core 3 -30 ns: Info: MY_LOG: Core 3 of parent Router: 0: Processing transaction and received data: 13 -30 ns: Info: MY_LOG: Router router0: Core 3 completed transaction, data: 13 -30 ns: Info: MY_LOG: Router 2: Received transaction with data: 20 from Router 0 after a delay of:20 ns -30 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 20 to core 3 -30 ns: Info: MY_LOG: Core 3 of parent Router: 2: Processing transaction and received data: 20 -30 ns: Info: MY_LOG: Router router2: Core 3 completed transaction, data: 20 -30 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 -30 ns: Info: MY_LOG: Router 1 added to queue for semaphore 0 -30 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:48 -30 ns: Info: MY_LOG: Router 0 released token for destination router 2 -30 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 -30 ns: Info: MY_LOG: router0 forwarded data: 31 to Router_1 -30 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 -30 ns: Info: MY_LOG: router3 forwarded data: 2 to Router_0 -30 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:89 -35 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:48 -35 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:89 -40 ns: Info: MY_LOG: Router 0 released token for destination router 1 -40 ns: Info: MY_LOG: Router 1: Received transaction with data: 31 from Router 0 after a delay of:10 ns -40 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 31 to core 3 -40 ns: Info: MY_LOG: Core 3 of parent Router: 1: Processing transaction and received data: 31 -40 ns: Info: MY_LOG: Router router1: Core 3 completed transaction, data: 31 -40 ns: Info: MY_LOG: Router 0: Received transaction with data: 2 from Router 3 after a delay of:10 ns -40 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 2 to core 1 -40 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 2 -40 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 2 -40 ns: Info: MY_LOG: Token for destination router 3 granted to Router 0 -40 ns: Info: MY_LOG: router0 forwarded data: 84 to Router_3 -40 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:89 -40 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:48 -40 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 1 -40 ns: Info: MY_LOG: Updated owner of semaphore 2 to Router 1 -40 ns: Info: MY_LOG: Router 3 released token for destination router 0 -40 ns: Info: MY_LOG: Token for destination router 0 passed to Router 2 -40 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 -40 ns: Info: MY_LOG: Router 3 added to queue for semaphore 0 -40 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:3 -45 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 -45 ns: Info: MY_LOG: router2 forwarded data: 89 to Router_0 -45 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:48 -45 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:3 -50 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:48 -50 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:3 -55 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:48 -55 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:3 -60 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:48 -60 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:3 -65 ns: Info: MY_LOG: Router 2 released token for destination router 0 -65 ns: Info: MY_LOG: Token for destination router 0 passed to Router 1 -65 ns: Info: MY_LOG: Router 0: Received transaction with data: 89 from Router 2 after a delay of:20 ns -65 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 89 to core 1 -65 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 89 -65 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 89 -65 ns: Info: MY_LOG: Token for destination router 0 granted to Router 1 -65 ns: Info: MY_LOG: Token for destination router 1 granted to Router 2 -65 ns: Info: MY_LOG: router2 forwarded data: 50 to Router_1 -65 ns: Info: MY_LOG: Token for destination router 0 granted to Router 1 -65 ns: Info: MY_LOG: router1 forwarded data: 48 to Router_0 -65 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:3 -70 ns: Info: MY_LOG: Router 0 released token for destination router 3 -70 ns: Info: MY_LOG: Router 3: Received transaction with data: 84 from Router 0 after a delay of:30 ns -70 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 84 to core 0 -70 ns: Info: MY_LOG: Core 0 of parent Router: 3: Processing transaction and received data: 84 -70 ns: Info: MY_LOG: Router router3: Core 0 completed transaction, data: 84 -70 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:3 -75 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:3 -80 ns: Info: MY_LOG: Updated owner of semaphore 3 to Router 1 -80 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:3 -85 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:3 -90 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:3 -95 ns: Info: MY_LOG: Router 1 released token for destination router 0 -95 ns: Info: MY_LOG: Token for destination router 0 passed to Router 3 -95 ns: Info: MY_LOG: Router 0: Received transaction with data: 48 from Router 1 after a delay of:30 ns -95 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 48 to core 1 -95 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 48 -95 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 48 -95 ns: Info: MY_LOG: Router 1: Received transaction with data: 50 from Router 2 after a delay of:30 ns -95 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 50 to core 0 -95 ns: Info: MY_LOG: Core 0 of parent Router: 1: Processing transaction and received data: 50 -95 ns: Info: MY_LOG: Router router1: Core 0 completed transaction, data: 50 -95 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 -95 ns: Info: MY_LOG: Token for destination router 3 granted to Router 1 -95 ns: Info: MY_LOG: router1 forwarded data: 65 to Router_3 -95 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 -95 ns: Info: MY_LOG: router3 forwarded data: 3 to Router_0 -95 ns: Info: MY_LOG: Router 2 released token for destination router 1 -95 ns: Info: MY_LOG: Router 2 added to queue for semaphore 0 -95 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:71 -100 ns: Info: MY_LOG: Core 0 of Source Router: 1: Processing data 97 for router 2 and core 2 at time: 100 ns -100 ns: Info: MY_LOG: Router router1: Received transaction with data: 97 at time: 100 ns -100 ns: Info: MY_LOG: Core core1_0: Transaction successful, data sent: 97 at time: 100 ns -100 ns: Info: MY_LOG: Core 0 of Source Router: 3: Processing data 52 for router 2 and core 2 at time: 100 ns -100 ns: Info: MY_LOG: Router router3: Received transaction with data: 52 at time: 100 ns -100 ns: Info: MY_LOG: Core core3_0: Transaction successful, data sent: 52 at time: 100 ns -100 ns: Info: MY_LOG: Core 0 of Source Router: 2: Processing data 0 for router 0 and core 1 at time: 100 ns -100 ns: Info: MY_LOG: Router router2: Received transaction with data: 0 at time: 100 ns -100 ns: Info: MY_LOG: Core core2_0: Transaction successful, data sent: 0 at time: 100 ns -100 ns: Info: MY_LOG: Core 2 of Source Router: 1: Processing data 94 for router 0 and core 2 at time: 100 ns -100 ns: Info: MY_LOG: Router router1: Received transaction with data: 94 at time: 100 ns -100 ns: Info: MY_LOG: Core core1_2: Transaction successful, data sent: 94 at time: 100 ns -100 ns: Info: MY_LOG: Core 0 of Source Router: 0: Processing data 71 for router 1 and core 0 at time: 100 ns -100 ns: Info: MY_LOG: Router router0: Received transaction with data: 71 at time: 100 ns -100 ns: Info: MY_LOG: Core core0_0: Transaction successful, data sent: 71 at time: 100 ns -100 ns: Info: MY_LOG: Core 3 of Source Router: 3: Processing data 56 for router 1 and core 0 at time: 100 ns -100 ns: Info: MY_LOG: Router router3: Received transaction with data: 56 at time: 100 ns -100 ns: Info: MY_LOG: Core core3_3: Transaction successful, data sent: 56 at time: 100 ns -100 ns: Info: MY_LOG: Core 3 of Source Router: 0: Processing data 33 for router 1 and core 2 at time: 100 ns -100 ns: Info: MY_LOG: Router router0: Received transaction with data: 33 at time: 100 ns -100 ns: Info: MY_LOG: Core core0_3: Transaction successful, data sent: 33 at time: 100 ns -100 ns: Info: MY_LOG: Core 1 of Source Router: 2: Processing data 72 for router 0 and core 3 at time: 100 ns -100 ns: Info: MY_LOG: Router router2: Received transaction with data: 72 at time: 100 ns -100 ns: Info: MY_LOG: Core core2_1: Transaction successful, data sent: 72 at time: 100 ns -100 ns: Info: MY_LOG: Core 2 of Source Router: 2: Processing data 67 for router 1 and core 3 at time: 100 ns -100 ns: Info: MY_LOG: Router router2: Received transaction with data: 67 at time: 100 ns -100 ns: Info: MY_LOG: Core core2_2: Transaction successful, data sent: 67 at time: 100 ns -100 ns: Info: MY_LOG: Core 3 of Source Router: 2: Processing data 71 for router 0 and core 1 at time: 100 ns -100 ns: Info: MY_LOG: Router router2: Received transaction with data: 71 at time: 100 ns -100 ns: Info: MY_LOG: Core core2_3: Transaction successful, data sent: 71 at time: 100 ns -100 ns: Info: MY_LOG: Core 2 of Source Router: 0: Processing data 59 for router 2 and core 0 at time: 100 ns -100 ns: Info: MY_LOG: Router router0: Received transaction with data: 59 at time: 100 ns -100 ns: Info: MY_LOG: Core core0_2: Transaction successful, data sent: 59 at time: 100 ns -100 ns: Info: MY_LOG: Core 1 of Source Router: 1: Processing data 36 for router 2 and core 2 at time: 100 ns -100 ns: Info: MY_LOG: Router router1: Received transaction with data: 36 at time: 100 ns -100 ns: Info: MY_LOG: Core core1_1: Transaction successful, data sent: 36 at time: 100 ns -100 ns: Info: MY_LOG: Core 1 of Source Router: 3: Processing data 22 for router 2 and core 2 at time: 100 ns -100 ns: Info: MY_LOG: Router router3: Received transaction with data: 22 at time: 100 ns -100 ns: Info: MY_LOG: Core core3_1: Transaction successful, data sent: 22 at time: 100 ns -100 ns: Info: MY_LOG: Core 2 of Source Router: 3: Processing data 87 for router 2 and core 2 at time: 100 ns -100 ns: Info: MY_LOG: Router router3: Received transaction with data: 87 at time: 100 ns -100 ns: Info: MY_LOG: Core core3_2: Transaction successful, data sent: 87 at time: 100 ns -100 ns: Info: MY_LOG: Core 3 of Source Router: 1: Processing data 41 for router 3 and core 2 at time: 100 ns -100 ns: Info: MY_LOG: Router router1: Received transaction with data: 41 at time: 100 ns -100 ns: Info: MY_LOG: Core core1_3: Transaction successful, data sent: 41 at time: 100 ns -100 ns: Info: MY_LOG: Core 1 of Source Router: 0: Processing data 64 for router 3 and core 3 at time: 100 ns -100 ns: Info: MY_LOG: Router router0: Received transaction with data: 64 at time: 100 ns -100 ns: Info: MY_LOG: Core core0_1: Transaction successful, data sent: 64 at time: 100 ns -100 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:71 +0 s: Info: MY_LOG: Core 0 of Source Router: 0: Processing data 76 for router 3 and core 3 at time: 0 s +0 s: Info: MY_LOG: Router router0: Received transaction with data: 76 at time: 0 s +0 s: Info: MY_LOG: Core core0_0: Transaction successful, data sent: 76 at time: 0 s +0 s: Info: MY_LOG: Core 1 of Source Router: 0: Processing data 95 for router 2 and core 1 at time: 0 s +0 s: Info: MY_LOG: Router router0: Received transaction with data: 95 at time: 0 s +0 s: Info: MY_LOG: Core core0_1: Transaction successful, data sent: 95 at time: 0 s +0 s: Info: MY_LOG: Core 2 of Source Router: 0: Processing data 5 for router 1 and core 3 at time: 0 s +0 s: Info: MY_LOG: Router router0: Received transaction with data: 5 at time: 0 s +0 s: Info: MY_LOG: Core core0_2: Transaction successful, data sent: 5 at time: 0 s +0 s: Info: MY_LOG: Core 3 of Source Router: 0: Processing data 27 for router 3 and core 2 at time: 0 s +0 s: Info: MY_LOG: Router router0: Received transaction with data: 27 at time: 0 s +0 s: Info: MY_LOG: Core core0_3: Transaction successful, data sent: 27 at time: 0 s +0 s: Info: MY_LOG: Core 0 of Source Router: 1: Processing data 22 for router 2 and core 2 at time: 0 s +0 s: Info: MY_LOG: Router router1: Received transaction with data: 22 at time: 0 s +0 s: Info: MY_LOG: Core core1_0: Transaction successful, data sent: 22 at time: 0 s +0 s: Info: MY_LOG: Core 1 of Source Router: 1: Processing data 4 for router 0 and core 2 at time: 0 s +0 s: Info: MY_LOG: Router router1: Received transaction with data: 4 at time: 0 s +0 s: Info: MY_LOG: Core core1_1: Transaction successful, data sent: 4 at time: 0 s +0 s: Info: MY_LOG: Core 2 of Source Router: 1: Processing data 37 for router 3 and core 0 at time: 0 s +0 s: Info: MY_LOG: Router router1: Received transaction with data: 37 at time: 0 s +0 s: Info: MY_LOG: Core core1_2: Transaction successful, data sent: 37 at time: 0 s +0 s: Info: MY_LOG: Core 3 of Source Router: 1: Processing data 95 for router 2 and core 3 at time: 0 s +0 s: Info: MY_LOG: Router router1: Received transaction with data: 95 at time: 0 s +0 s: Info: MY_LOG: Core core1_3: Transaction successful, data sent: 95 at time: 0 s +0 s: Info: MY_LOG: Core 0 of Source Router: 2: Processing data 23 for router 3 and core 2 at time: 0 s +0 s: Info: MY_LOG: Router router2: Received transaction with data: 23 at time: 0 s +0 s: Info: MY_LOG: Core core2_0: Transaction successful, data sent: 23 at time: 0 s +0 s: Info: MY_LOG: Core 1 of Source Router: 2: Processing data 41 for router 3 and core 2 at time: 0 s +0 s: Info: MY_LOG: Router router2: Received transaction with data: 41 at time: 0 s +0 s: Info: MY_LOG: Core core2_1: Transaction successful, data sent: 41 at time: 0 s +0 s: Info: MY_LOG: Core 2 of Source Router: 2: Processing data 16 for router 3 and core 0 at time: 0 s +0 s: Info: MY_LOG: Router router2: Received transaction with data: 16 at time: 0 s +0 s: Info: MY_LOG: Core core2_2: Transaction successful, data sent: 16 at time: 0 s +0 s: Info: MY_LOG: Core 3 of Source Router: 2: Processing data 17 for router 3 and core 1 at time: 0 s +0 s: Info: MY_LOG: Router router2: Received transaction with data: 17 at time: 0 s +0 s: Info: MY_LOG: Core core2_3: Transaction successful, data sent: 17 at time: 0 s +0 s: Info: MY_LOG: Core 0 of Source Router: 3: Processing data 74 for router 0 and core 0 at time: 0 s +0 s: Info: MY_LOG: Router router3: Received transaction with data: 74 at time: 0 s +0 s: Info: MY_LOG: Core core3_0: Transaction successful, data sent: 74 at time: 0 s +0 s: Info: MY_LOG: Core 1 of Source Router: 3: Processing data 88 for router 1 and core 2 at time: 0 s +0 s: Info: MY_LOG: Router router3: Received transaction with data: 88 at time: 0 s +0 s: Info: MY_LOG: Core core3_1: Transaction successful, data sent: 88 at time: 0 s +0 s: Info: MY_LOG: Core 2 of Source Router: 3: Processing data 91 for router 0 and core 3 at time: 0 s +0 s: Info: MY_LOG: Router router3: Received transaction with data: 91 at time: 0 s +0 s: Info: MY_LOG: Core core3_2: Transaction successful, data sent: 91 at time: 0 s +0 s: Info: MY_LOG: Core 3 of Source Router: 3: Processing data 40 for router 0 and core 1 at time: 0 s +0 s: Info: MY_LOG: Router router3: Received transaction with data: 40 at time: 0 s +0 s: Info: MY_LOG: Core core3_3: Transaction successful, data sent: 40 at time: 0 s +0 s: Info: MY_LOG: Token for destination router 3 granted to Router 0 +0 s: Info: MY_LOG: router0 forwarded data: 76 to Router_3 +0 s: Info: MY_LOG: Token for destination router 2 granted to Router 1 +0 s: Info: MY_LOG: router1 forwarded data: 22 to Router_2 +0 s: Info: MY_LOG: Token for destination router 0 granted to Router 3 +0 s: Info: MY_LOG: router3 forwarded data: 74 to Router_0 +0 s: Info: MY_LOG: Router 2 added to queue for semaphore 3 +0 s: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 23 +5 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 23 +10 ns: Info: MY_LOG: Router 1 released token for destination router 2 +10 ns: Info: MY_LOG: Router 2: Received transaction with data: 22 from Router 1 after a delay of:10 ns +10 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 22 to core 2 +10 ns: Info: MY_LOG: Core 2 of parent Router: 2: Processing transaction and received data: 22 +10 ns: Info: MY_LOG: Router router2: Core 2 completed transaction, data: 22 +10 ns: Info: MY_LOG: Router 0: Received transaction with data: 74 from Router 3 after a delay of:10 ns +10 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 74 to core 0 +10 ns: Info: MY_LOG: Core 0 of parent Router: 0: Processing transaction and received data: 74 +10 ns: Info: MY_LOG: Router router0: Core 0 completed transaction, data: 74 +10 ns: Info: MY_LOG: Router 1 added to queue for semaphore 0 +10 ns: Info: MY_LOG: Router router1: Semaphore for Router_0 is unavailable. Retrying with data: 4 +10 ns: Info: MY_LOG: Router 3 released token for destination router 0 +10 ns: Info: MY_LOG: Token for destination router 0 passed to Router 1 +10 ns: Info: MY_LOG: Token for destination router 1 granted to Router 3 +10 ns: Info: MY_LOG: router3 forwarded data: 88 to Router_1 +10 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 23 +15 ns: Info: MY_LOG: Token for destination router 0 granted to Router 1 +15 ns: Info: MY_LOG: router1 forwarded data: 4 to Router_0 +15 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 23 +20 ns: Info: MY_LOG: Updated owner of semaphore 2 to Router 2 +20 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 23 +25 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 23 +30 ns: Info: MY_LOG: Router 0 released token for destination router 3 +30 ns: Info: MY_LOG: Token for destination router 3 passed to Router 2 +30 ns: Info: MY_LOG: Router 3: Received transaction with data: 76 from Router 0 after a delay of:30 ns +30 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 76 to core 3 +30 ns: Info: MY_LOG: Core 3 of parent Router: 3: Processing transaction and received data: 76 +30 ns: Info: MY_LOG: Router router3: Core 3 completed transaction, data: 76 +30 ns: Info: MY_LOG: Router 1: Received transaction with data: 88 from Router 3 after a delay of:20 ns +30 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 88 to core 2 +30 ns: Info: MY_LOG: Core 2 of parent Router: 1: Processing transaction and received data: 88 +30 ns: Info: MY_LOG: Router router1: Core 2 completed transaction, data: 88 +30 ns: Info: MY_LOG: Token for destination router 2 granted to Router 0 +30 ns: Info: MY_LOG: router0 forwarded data: 95 to Router_2 +30 ns: Info: MY_LOG: Router 3 released token for destination router 1 +30 ns: Info: MY_LOG: Router 3 added to queue for semaphore 0 +30 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 91 +30 ns: Info: MY_LOG: Token for destination router 3 granted to Router 2 +30 ns: Info: MY_LOG: router2 forwarded data: 23 to Router_3 +35 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 91 +40 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 0 +40 ns: Info: MY_LOG: Router 2 released token for destination router 3 +40 ns: Info: MY_LOG: Router 3: Received transaction with data: 23 from Router 2 after a delay of:10 ns +40 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 23 to core 2 +40 ns: Info: MY_LOG: Core 2 of parent Router: 3: Processing transaction and received data: 23 +40 ns: Info: MY_LOG: Router router3: Core 2 completed transaction, data: 23 +40 ns: Info: MY_LOG: Token for destination router 3 granted to Router 2 +40 ns: Info: MY_LOG: router2 forwarded data: 41 to Router_3 +40 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 91 +45 ns: Info: MY_LOG: Router 1 released token for destination router 0 +45 ns: Info: MY_LOG: Token for destination router 0 passed to Router 3 +45 ns: Info: MY_LOG: Router 0: Received transaction with data: 4 from Router 1 after a delay of:30 ns +45 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 4 to core 2 +45 ns: Info: MY_LOG: Core 2 of parent Router: 0: Processing transaction and received data: 4 +45 ns: Info: MY_LOG: Router router0: Core 2 completed transaction, data: 4 +45 ns: Info: MY_LOG: Router 1 added to queue for semaphore 3 +45 ns: Info: MY_LOG: Router router1: Semaphore for Router_3 is unavailable. Retrying with data: 37 +45 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 +45 ns: Info: MY_LOG: router3 forwarded data: 91 to Router_0 +50 ns: Info: MY_LOG: Router 0 released token for destination router 2 +50 ns: Info: MY_LOG: Router 2: Received transaction with data: 95 from Router 0 after a delay of:20 ns +50 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 95 to core 1 +50 ns: Info: MY_LOG: Core 1 of parent Router: 2: Processing transaction and received data: 95 +50 ns: Info: MY_LOG: Router router2: Core 1 completed transaction, data: 95 +50 ns: Info: MY_LOG: Router 3: Received transaction with data: 41 from Router 2 after a delay of:10 ns +50 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 41 to core 2 +50 ns: Info: MY_LOG: Core 2 of parent Router: 3: Processing transaction and received data: 41 +50 ns: Info: MY_LOG: Router router3: Core 2 completed transaction, data: 41 +50 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 +50 ns: Info: MY_LOG: router0 forwarded data: 5 to Router_1 +50 ns: Info: MY_LOG: Router 2 released token for destination router 3 +50 ns: Info: MY_LOG: Token for destination router 3 passed to Router 1 +50 ns: Info: MY_LOG: Router 2 added to queue for semaphore 3 +50 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 16 +50 ns: Info: MY_LOG: Token for destination router 3 granted to Router 1 +50 ns: Info: MY_LOG: router1 forwarded data: 37 to Router_3 +55 ns: Info: MY_LOG: Router 3 released token for destination router 0 +55 ns: Info: MY_LOG: Router 0: Received transaction with data: 91 from Router 3 after a delay of:10 ns +55 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 91 to core 3 +55 ns: Info: MY_LOG: Core 3 of parent Router: 0: Processing transaction and received data: 91 +55 ns: Info: MY_LOG: Router router0: Core 3 completed transaction, data: 91 +55 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 +55 ns: Info: MY_LOG: router3 forwarded data: 40 to Router_0 +55 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 16 +60 ns: Info: MY_LOG: Router 0 released token for destination router 1 +60 ns: Info: MY_LOG: Router 1: Received transaction with data: 5 from Router 0 after a delay of:10 ns +60 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 5 to core 3 +60 ns: Info: MY_LOG: Core 3 of parent Router: 1: Processing transaction and received data: 5 +60 ns: Info: MY_LOG: Router router1: Core 3 completed transaction, data: 5 +60 ns: Info: MY_LOG: Router 0 added to queue for semaphore 3 +60 ns: Info: MY_LOG: Router router0: Semaphore for Router_3 is unavailable. Retrying with data: 27 +60 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 1 +60 ns: Info: MY_LOG: Updated owner of semaphore 2 to Router 1 +60 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 16 +65 ns: Info: MY_LOG: Router 3 released token for destination router 0 +65 ns: Info: MY_LOG: Router 0: Received transaction with data: 40 from Router 3 after a delay of:10 ns +65 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 40 to core 1 +65 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 40 +65 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 40 +65 ns: Info: MY_LOG: Router router0: Semaphore for Router_3 is unavailable. Retrying with data: 27 +65 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 16 +70 ns: Info: MY_LOG: Router 1 released token for destination router 3 +70 ns: Info: MY_LOG: Token for destination router 3 passed to Router 2 +70 ns: Info: MY_LOG: Router 3: Received transaction with data: 37 from Router 1 after a delay of:20 ns +70 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 37 to core 0 +70 ns: Info: MY_LOG: Core 0 of parent Router: 3: Processing transaction and received data: 37 +70 ns: Info: MY_LOG: Router router3: Core 0 completed transaction, data: 37 +70 ns: Info: MY_LOG: Token for destination router 2 granted to Router 1 +70 ns: Info: MY_LOG: router1 forwarded data: 95 to Router_2 +70 ns: Info: MY_LOG: Router router0: Semaphore for Router_3 is unavailable. Retrying with data: 27 +70 ns: Info: MY_LOG: Token for destination router 3 granted to Router 2 +70 ns: Info: MY_LOG: router2 forwarded data: 16 to Router_3 +75 ns: Info: MY_LOG: Router router0: Semaphore for Router_3 is unavailable. Retrying with data: 27 +80 ns: Info: MY_LOG: Updated owner of semaphore 0 to Router 0 +80 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 2 +80 ns: Info: MY_LOG: Router 1 released token for destination router 2 +80 ns: Info: MY_LOG: Router 2 released token for destination router 3 +80 ns: Info: MY_LOG: Token for destination router 3 passed to Router 0 +80 ns: Info: MY_LOG: Router 2: Received transaction with data: 95 from Router 1 after a delay of:10 ns +80 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 95 to core 3 +80 ns: Info: MY_LOG: Core 3 of parent Router: 2: Processing transaction and received data: 95 +80 ns: Info: MY_LOG: Router router2: Core 3 completed transaction, data: 95 +80 ns: Info: MY_LOG: Router 3: Received transaction with data: 16 from Router 2 after a delay of:10 ns +80 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 16 to core 0 +80 ns: Info: MY_LOG: Core 0 of parent Router: 3: Processing transaction and received data: 16 +80 ns: Info: MY_LOG: Router router3: Core 0 completed transaction, data: 16 +80 ns: Info: MY_LOG: Router 2 added to queue for semaphore 3 +80 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 17 +80 ns: Info: MY_LOG: Token for destination router 3 granted to Router 0 +80 ns: Info: MY_LOG: router0 forwarded data: 27 to Router_3 +85 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 17 +90 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 17 +95 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 17 +100 ns: Info: MY_LOG: Core 3 of Source Router: 2: Processing data 74 for router 0 and core 3 at time: 100 ns +100 ns: Info: MY_LOG: Router router2: Received transaction with data: 74 at time: 100 ns +100 ns: Info: MY_LOG: Core core2_3: Transaction successful, data sent: 74 at time: 100 ns +100 ns: Info: MY_LOG: Core 1 of Source Router: 0: Processing data 28 for router 1 and core 2 at time: 100 ns +100 ns: Info: MY_LOG: Router router0: Received transaction with data: 28 at time: 100 ns +100 ns: Info: MY_LOG: Core core0_1: Transaction successful, data sent: 28 at time: 100 ns +100 ns: Info: MY_LOG: Core 0 of Source Router: 2: Processing data 55 for router 0 and core 1 at time: 100 ns +100 ns: Info: MY_LOG: Router router2: Received transaction with data: 55 at time: 100 ns +100 ns: Info: MY_LOG: Core core2_0: Transaction successful, data sent: 55 at time: 100 ns +100 ns: Info: MY_LOG: Core 1 of Source Router: 1: Processing data 21 for router 2 and core 3 at time: 100 ns +100 ns: Info: MY_LOG: Router router1: Received transaction with data: 21 at time: 100 ns +100 ns: Info: MY_LOG: Core core1_1: Transaction successful, data sent: 21 at time: 100 ns +100 ns: Info: MY_LOG: Core 3 of Source Router: 0: Processing data 100 for router 1 and core 3 at time: 100 ns +100 ns: Info: MY_LOG: Router router0: Received transaction with data: 100 at time: 100 ns +100 ns: Info: MY_LOG: Core core0_3: Transaction successful, data sent: 100 at time: 100 ns +100 ns: Info: MY_LOG: Core 2 of Source Router: 3: Processing data 84 for router 0 and core 1 at time: 100 ns +100 ns: Info: MY_LOG: Router router3: Received transaction with data: 84 at time: 100 ns +100 ns: Info: MY_LOG: Core core3_2: Transaction successful, data sent: 84 at time: 100 ns +100 ns: Info: MY_LOG: Core 2 of Source Router: 0: Processing data 23 for router 1 and core 1 at time: 100 ns +100 ns: Info: MY_LOG: Router router0: Received transaction with data: 23 at time: 100 ns +100 ns: Info: MY_LOG: Core core0_2: Transaction successful, data sent: 23 at time: 100 ns +100 ns: Info: MY_LOG: Core 1 of Source Router: 2: Processing data 4 for router 0 and core 0 at time: 100 ns +100 ns: Info: MY_LOG: Router router2: Received transaction with data: 4 at time: 100 ns +100 ns: Info: MY_LOG: Core core2_1: Transaction successful, data sent: 4 at time: 100 ns +100 ns: Info: MY_LOG: Core 2 of Source Router: 2: Processing data 73 for router 3 and core 2 at time: 100 ns +100 ns: Info: MY_LOG: Router router2: Received transaction with data: 73 at time: 100 ns +100 ns: Info: MY_LOG: Core core2_2: Transaction successful, data sent: 73 at time: 100 ns +100 ns: Info: MY_LOG: Core 0 of Source Router: 3: Processing data 78 for router 0 and core 3 at time: 100 ns +100 ns: Info: MY_LOG: Router router3: Received transaction with data: 78 at time: 100 ns +100 ns: Info: MY_LOG: Core core3_0: Transaction successful, data sent: 78 at time: 100 ns +100 ns: Info: MY_LOG: Core 3 of Source Router: 1: Processing data 42 for router 2 and core 0 at time: 100 ns +100 ns: Info: MY_LOG: Router router1: Received transaction with data: 42 at time: 100 ns +100 ns: Info: MY_LOG: Core core1_3: Transaction successful, data sent: 42 at time: 100 ns +100 ns: Info: MY_LOG: Core 1 of Source Router: 3: Processing data 32 for router 1 and core 1 at time: 100 ns +100 ns: Info: MY_LOG: Router router3: Received transaction with data: 32 at time: 100 ns +100 ns: Info: MY_LOG: Core core3_1: Transaction successful, data sent: 32 at time: 100 ns +100 ns: Info: MY_LOG: Core 2 of Source Router: 1: Processing data 55 for router 3 and core 0 at time: 100 ns +100 ns: Info: MY_LOG: Router router1: Received transaction with data: 55 at time: 100 ns +100 ns: Info: MY_LOG: Core core1_2: Transaction successful, data sent: 55 at time: 100 ns +100 ns: Info: MY_LOG: Core 0 of Source Router: 0: Processing data 54 for router 3 and core 1 at time: 100 ns +100 ns: Info: MY_LOG: Router router0: Received transaction with data: 54 at time: 100 ns +100 ns: Info: MY_LOG: Core core0_0: Transaction successful, data sent: 54 at time: 100 ns +100 ns: Info: MY_LOG: Core 0 of Source Router: 1: Processing data 65 for router 0 and core 1 at time: 100 ns +100 ns: Info: MY_LOG: Router router1: Received transaction with data: 65 at time: 100 ns +100 ns: Info: MY_LOG: Core core1_0: Transaction successful, data sent: 65 at time: 100 ns +100 ns: Info: MY_LOG: Core 3 of Source Router: 3: Processing data 37 for router 2 and core 2 at time: 100 ns +100 ns: Info: MY_LOG: Router router3: Received transaction with data: 37 at time: 100 ns +100 ns: Info: MY_LOG: Core core3_3: Transaction successful, data sent: 37 at time: 100 ns +100 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 17 +100 ns: Info: MY_LOG: Updated owner of semaphore 0 to Router 1 100 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 3 -100 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 -100 ns: Info: MY_LOG: router0 forwarded data: 71 to Router_1 -105 ns: Info: MY_LOG: Router 3 released token for destination router 0 -105 ns: Info: MY_LOG: Token for destination router 0 passed to Router 2 -105 ns: Info: MY_LOG: Router 0: Received transaction with data: 3 from Router 3 after a delay of:10 ns -105 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 3 to core 1 -105 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 3 -105 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 3 -105 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 -105 ns: Info: MY_LOG: Router 3 added to queue for semaphore 1 -105 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:46 -105 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 -105 ns: Info: MY_LOG: router2 forwarded data: 71 to Router_0 -110 ns: Info: MY_LOG: Router 0 released token for destination router 1 -110 ns: Info: MY_LOG: Token for destination router 1 passed to Router 3 -110 ns: Info: MY_LOG: Router 1: Received transaction with data: 71 from Router 0 after a delay of:10 ns -110 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 71 to core 0 -110 ns: Info: MY_LOG: Core 0 of parent Router: 1: Processing transaction and received data: 71 -110 ns: Info: MY_LOG: Router router1: Core 0 completed transaction, data: 71 -110 ns: Info: MY_LOG: Token for destination router 1 granted to Router 3 -110 ns: Info: MY_LOG: Router 0 added to queue for semaphore 1 -110 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:33 -110 ns: Info: MY_LOG: Token for destination router 1 granted to Router 3 -110 ns: Info: MY_LOG: router3 forwarded data: 46 to Router_1 -115 ns: Info: MY_LOG: Router 1 released token for destination router 3 -115 ns: Info: MY_LOG: Router 3: Received transaction with data: 65 from Router 1 after a delay of:20 ns -115 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 65 to core 1 -115 ns: Info: MY_LOG: Core 1 of parent Router: 3: Processing transaction and received data: 65 -115 ns: Info: MY_LOG: Router router3: Core 1 completed transaction, data: 65 -115 ns: Info: MY_LOG: Token for destination router 2 granted to Router 1 -115 ns: Info: MY_LOG: router1 forwarded data: 18 to Router_2 -115 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:33 -120 ns: Info: MY_LOG: Updated owner of semaphore 3 to Router 2 -120 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:33 -125 ns: Info: MY_LOG: Router 2 released token for destination router 0 -125 ns: Info: MY_LOG: Router 0: Received transaction with data: 71 from Router 2 after a delay of:20 ns -125 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 71 to core 3 -125 ns: Info: MY_LOG: Core 3 of parent Router: 0: Processing transaction and received data: 71 -125 ns: Info: MY_LOG: Router router0: Core 3 completed transaction, data: 71 -125 ns: Info: MY_LOG: Router 2: Received transaction with data: 18 from Router 1 after a delay of:10 ns -125 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 18 to core 0 -125 ns: Info: MY_LOG: Core 0 of parent Router: 2: Processing transaction and received data: 18 -125 ns: Info: MY_LOG: Router router2: Core 0 completed transaction, data: 18 -125 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 -125 ns: Info: MY_LOG: router2 forwarded data: 1 to Router_0 -125 ns: Info: MY_LOG: Router 1 released token for destination router 2 -125 ns: Info: MY_LOG: Token for destination router 2 granted to Router 1 -125 ns: Info: MY_LOG: router1 forwarded data: 97 to Router_2 -125 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:33 -130 ns: Info: MY_LOG: Router 3 released token for destination router 1 -130 ns: Info: MY_LOG: Token for destination router 1 passed to Router 0 -130 ns: Info: MY_LOG: Router 1: Received transaction with data: 46 from Router 3 after a delay of:20 ns -130 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 46 to core 0 -130 ns: Info: MY_LOG: Core 0 of parent Router: 1: Processing transaction and received data: 46 -130 ns: Info: MY_LOG: Router router1: Core 0 completed transaction, data: 46 -130 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 -130 ns: Info: MY_LOG: Router 3 added to queue for semaphore 0 -130 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:71 -130 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 -130 ns: Info: MY_LOG: router0 forwarded data: 33 to Router_1 -135 ns: Info: MY_LOG: Router 1 released token for destination router 2 -135 ns: Info: MY_LOG: Router 2: Received transaction with data: 97 from Router 1 after a delay of:10 ns -135 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 97 to core 2 -135 ns: Info: MY_LOG: Core 2 of parent Router: 2: Processing transaction and received data: 97 -135 ns: Info: MY_LOG: Router router2: Core 2 completed transaction, data: 97 -135 ns: Info: MY_LOG: Router 1 added to queue for semaphore 0 -135 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:94 -135 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:71 +100 ns: Info: MY_LOG: Updated owner of semaphore 2 to Router 2 +100 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 +100 ns: Info: MY_LOG: router3 forwarded data: 84 to Router_0 +100 ns: Info: MY_LOG: Token for destination router 2 granted to Router 1 +100 ns: Info: MY_LOG: router1 forwarded data: 21 to Router_2 +105 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 17 +110 ns: Info: MY_LOG: Router 0 released token for destination router 3 +110 ns: Info: MY_LOG: Token for destination router 3 passed to Router 2 +110 ns: Info: MY_LOG: Router 3: Received transaction with data: 27 from Router 0 after a delay of:30 ns +110 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 27 to core 2 +110 ns: Info: MY_LOG: Core 2 of parent Router: 3: Processing transaction and received data: 27 +110 ns: Info: MY_LOG: Router router3: Core 2 completed transaction, data: 27 +110 ns: Info: MY_LOG: Router 0: Received transaction with data: 84 from Router 3 after a delay of:10 ns +110 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 84 to core 1 +110 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 84 +110 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 84 +110 ns: Info: MY_LOG: Router 2: Received transaction with data: 21 from Router 1 after a delay of:10 ns +110 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 21 to core 3 +110 ns: Info: MY_LOG: Core 3 of parent Router: 2: Processing transaction and received data: 21 +110 ns: Info: MY_LOG: Router router2: Core 3 completed transaction, data: 21 +110 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 +110 ns: Info: MY_LOG: router0 forwarded data: 28 to Router_1 +110 ns: Info: MY_LOG: Router 3 released token for destination router 0 +110 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 +110 ns: Info: MY_LOG: router3 forwarded data: 78 to Router_0 +110 ns: Info: MY_LOG: Token for destination router 3 granted to Router 2 +110 ns: Info: MY_LOG: router2 forwarded data: 17 to Router_3 +110 ns: Info: MY_LOG: Router 1 released token for destination router 2 +110 ns: Info: MY_LOG: Token for destination router 2 granted to Router 1 +110 ns: Info: MY_LOG: router1 forwarded data: 42 to Router_2 +120 ns: Info: MY_LOG: Router 0 released token for destination router 1 +120 ns: Info: MY_LOG: Router 1: Received transaction with data: 28 from Router 0 after a delay of:10 ns +120 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 28 to core 2 +120 ns: Info: MY_LOG: Core 2 of parent Router: 1: Processing transaction and received data: 28 +120 ns: Info: MY_LOG: Router router1: Core 2 completed transaction, data: 28 +120 ns: Info: MY_LOG: Router 0: Received transaction with data: 78 from Router 3 after a delay of:10 ns +120 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 78 to core 3 +120 ns: Info: MY_LOG: Core 3 of parent Router: 0: Processing transaction and received data: 78 +120 ns: Info: MY_LOG: Router router0: Core 3 completed transaction, data: 78 +120 ns: Info: MY_LOG: Router 3: Received transaction with data: 17 from Router 2 after a delay of:10 ns +120 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 17 to core 1 +120 ns: Info: MY_LOG: Core 1 of parent Router: 3: Processing transaction and received data: 17 +120 ns: Info: MY_LOG: Router router3: Core 1 completed transaction, data: 17 +120 ns: Info: MY_LOG: Router 2: Received transaction with data: 42 from Router 1 after a delay of:10 ns +120 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 42 to core 0 +120 ns: Info: MY_LOG: Core 0 of parent Router: 2: Processing transaction and received data: 42 +120 ns: Info: MY_LOG: Router router2: Core 0 completed transaction, data: 42 +120 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 +120 ns: Info: MY_LOG: router0 forwarded data: 100 to Router_1 +120 ns: Info: MY_LOG: Router 3 released token for destination router 0 +120 ns: Info: MY_LOG: Router 3 added to queue for semaphore 1 +120 ns: Info: MY_LOG: Router router3: Semaphore for Router_1 is unavailable. Retrying with data: 32 +120 ns: Info: MY_LOG: Router 1 released token for destination router 2 +120 ns: Info: MY_LOG: Router 1 added to queue for semaphore 3 +120 ns: Info: MY_LOG: Router router1: Semaphore for Router_3 is unavailable. Retrying with data: 55 +120 ns: Info: MY_LOG: Router 2 released token for destination router 3 +120 ns: Info: MY_LOG: Token for destination router 3 passed to Router 1 +120 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 +120 ns: Info: MY_LOG: router2 forwarded data: 74 to Router_0 +125 ns: Info: MY_LOG: Router router3: Semaphore for Router_1 is unavailable. Retrying with data: 32 +125 ns: Info: MY_LOG: Token for destination router 3 granted to Router 1 +125 ns: Info: MY_LOG: router1 forwarded data: 55 to Router_3 +130 ns: Info: MY_LOG: Router 0 released token for destination router 1 +130 ns: Info: MY_LOG: Token for destination router 1 passed to Router 3 +130 ns: Info: MY_LOG: Router 1: Received transaction with data: 100 from Router 0 after a delay of:10 ns +130 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 100 to core 3 +130 ns: Info: MY_LOG: Core 3 of parent Router: 1: Processing transaction and received data: 100 +130 ns: Info: MY_LOG: Router router1: Core 3 completed transaction, data: 100 +130 ns: Info: MY_LOG: Router 0 added to queue for semaphore 1 +130 ns: Info: MY_LOG: Router router0: Semaphore for Router_1 is unavailable. Retrying with data: 23 +130 ns: Info: MY_LOG: Token for destination router 1 granted to Router 3 +130 ns: Info: MY_LOG: router3 forwarded data: 32 to Router_1 +135 ns: Info: MY_LOG: Router router0: Semaphore for Router_1 is unavailable. Retrying with data: 23 140 ns: Info: MY_LOG: Updated owner of semaphore 2 to Router 2 -140 ns: Info: MY_LOG: Router 0 released token for destination router 1 -140 ns: Info: MY_LOG: Router 1: Received transaction with data: 33 from Router 0 after a delay of:10 ns -140 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 33 to core 2 -140 ns: Info: MY_LOG: Core 2 of parent Router: 1: Processing transaction and received data: 33 -140 ns: Info: MY_LOG: Router router1: Core 2 completed transaction, data: 33 -140 ns: Info: MY_LOG: Token for destination router 2 granted to Router 0 -140 ns: Info: MY_LOG: router0 forwarded data: 59 to Router_2 -140 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:94 -140 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:71 -145 ns: Info: MY_LOG: Router 2 released token for destination router 0 -145 ns: Info: MY_LOG: Token for destination router 0 passed to Router 3 -145 ns: Info: MY_LOG: Router 0: Received transaction with data: 1 from Router 2 after a delay of:20 ns -145 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 1 to core 3 -145 ns: Info: MY_LOG: Core 3 of parent Router: 0: Processing transaction and received data: 1 -145 ns: Info: MY_LOG: Router router0: Core 3 completed transaction, data: 1 -145 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 -145 ns: Info: MY_LOG: Router 2 added to queue for semaphore 0 -145 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:0 -145 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:94 -145 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 -145 ns: Info: MY_LOG: router3 forwarded data: 71 to Router_0 -150 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:0 -150 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:94 -155 ns: Info: MY_LOG: Router 3 released token for destination router 0 -155 ns: Info: MY_LOG: Token for destination router 0 passed to Router 1 -155 ns: Info: MY_LOG: Router 0: Received transaction with data: 71 from Router 3 after a delay of:10 ns -155 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 71 to core 1 -155 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 71 -155 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 71 -155 ns: Info: MY_LOG: Token for destination router 0 granted to Router 1 -155 ns: Info: MY_LOG: Router 3 added to queue for semaphore 2 -155 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:52 -155 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:0 -155 ns: Info: MY_LOG: Token for destination router 0 granted to Router 1 -155 ns: Info: MY_LOG: router1 forwarded data: 94 to Router_0 -160 ns: Info: MY_LOG: Router 0 released token for destination router 2 -160 ns: Info: MY_LOG: Token for destination router 2 passed to Router 3 -160 ns: Info: MY_LOG: Router 2: Received transaction with data: 59 from Router 0 after a delay of:20 ns -160 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 59 to core 0 -160 ns: Info: MY_LOG: Core 0 of parent Router: 2: Processing transaction and received data: 59 -160 ns: Info: MY_LOG: Router router2: Core 0 completed transaction, data: 59 -160 ns: Info: MY_LOG: Token for destination router 2 granted to Router 3 +140 ns: Info: MY_LOG: Router 2 released token for destination router 0 +140 ns: Info: MY_LOG: Router 0: Received transaction with data: 74 from Router 2 after a delay of:20 ns +140 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 74 to core 3 +140 ns: Info: MY_LOG: Core 3 of parent Router: 0: Processing transaction and received data: 74 +140 ns: Info: MY_LOG: Router router0: Core 3 completed transaction, data: 74 +140 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 +140 ns: Info: MY_LOG: router2 forwarded data: 55 to Router_0 +140 ns: Info: MY_LOG: Router router0: Semaphore for Router_1 is unavailable. Retrying with data: 23 +145 ns: Info: MY_LOG: Router 1 released token for destination router 3 +145 ns: Info: MY_LOG: Router 3: Received transaction with data: 55 from Router 1 after a delay of:20 ns +145 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 55 to core 0 +145 ns: Info: MY_LOG: Core 0 of parent Router: 3: Processing transaction and received data: 55 +145 ns: Info: MY_LOG: Router router3: Core 0 completed transaction, data: 55 +145 ns: Info: MY_LOG: Router 1 added to queue for semaphore 0 +145 ns: Info: MY_LOG: Router router1: Semaphore for Router_0 is unavailable. Retrying with data: 65 +145 ns: Info: MY_LOG: Router router0: Semaphore for Router_1 is unavailable. Retrying with data: 23 +150 ns: Info: MY_LOG: Router 3 released token for destination router 1 +150 ns: Info: MY_LOG: Token for destination router 1 passed to Router 0 +150 ns: Info: MY_LOG: Router 1: Received transaction with data: 32 from Router 3 after a delay of:20 ns +150 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 32 to core 1 +150 ns: Info: MY_LOG: Core 1 of parent Router: 1: Processing transaction and received data: 32 +150 ns: Info: MY_LOG: Router router1: Core 1 completed transaction, data: 32 +150 ns: Info: MY_LOG: Token for destination router 2 granted to Router 3 +150 ns: Info: MY_LOG: router3 forwarded data: 37 to Router_2 +150 ns: Info: MY_LOG: Router router1: Semaphore for Router_0 is unavailable. Retrying with data: 65 +150 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 +150 ns: Info: MY_LOG: router0 forwarded data: 23 to Router_1 +155 ns: Info: MY_LOG: Router router1: Semaphore for Router_0 is unavailable. Retrying with data: 65 +160 ns: Info: MY_LOG: Router 2 released token for destination router 0 +160 ns: Info: MY_LOG: Token for destination router 0 passed to Router 1 +160 ns: Info: MY_LOG: Router 0: Received transaction with data: 55 from Router 2 after a delay of:20 ns +160 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 55 to core 1 +160 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 55 +160 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 55 +160 ns: Info: MY_LOG: Router 1: Received transaction with data: 23 from Router 0 after a delay of:10 ns +160 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 23 to core 1 +160 ns: Info: MY_LOG: Core 1 of parent Router: 1: Processing transaction and received data: 23 +160 ns: Info: MY_LOG: Router router1: Core 1 completed transaction, data: 23 +160 ns: Info: MY_LOG: Router 2 added to queue for semaphore 0 +160 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 4 +160 ns: Info: MY_LOG: Updated owner of semaphore 3 to Router 2 +160 ns: Info: MY_LOG: Token for destination router 0 granted to Router 1 +160 ns: Info: MY_LOG: router1 forwarded data: 65 to Router_0 +160 ns: Info: MY_LOG: Router 0 released token for destination router 1 160 ns: Info: MY_LOG: Token for destination router 3 granted to Router 0 -160 ns: Info: MY_LOG: router0 forwarded data: 64 to Router_3 -160 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 1 -160 ns: Info: MY_LOG: Token for destination router 2 granted to Router 3 -160 ns: Info: MY_LOG: router3 forwarded data: 52 to Router_2 -160 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:0 -165 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:0 -170 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:0 -175 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:0 -180 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:0 -185 ns: Info: MY_LOG: Router 1 released token for destination router 0 -185 ns: Info: MY_LOG: Token for destination router 0 passed to Router 2 -185 ns: Info: MY_LOG: Router 0: Received transaction with data: 94 from Router 1 after a delay of:30 ns -185 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 94 to core 2 -185 ns: Info: MY_LOG: Core 2 of parent Router: 0: Processing transaction and received data: 94 -185 ns: Info: MY_LOG: Router router0: Core 2 completed transaction, data: 94 -185 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 -185 ns: Info: MY_LOG: Router 1 added to queue for semaphore 2 -185 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:36 -185 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 -185 ns: Info: MY_LOG: router2 forwarded data: 0 to Router_0 -190 ns: Info: MY_LOG: Router 3: Received transaction with data: 64 from Router 0 after a delay of:30 ns -190 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 64 to core 3 -190 ns: Info: MY_LOG: Core 3 of parent Router: 3: Processing transaction and received data: 64 -190 ns: Info: MY_LOG: Router router3: Core 3 completed transaction, data: 64 -190 ns: Info: MY_LOG: Router 2: Received transaction with data: 52 from Router 3 after a delay of:30 ns -190 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 52 to core 2 -190 ns: Info: MY_LOG: Core 2 of parent Router: 2: Processing transaction and received data: 52 -190 ns: Info: MY_LOG: Router router2: Core 2 completed transaction, data: 52 -190 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:36 +160 ns: Info: MY_LOG: router0 forwarded data: 54 to Router_3 +165 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 4 +170 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 4 +175 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 4 +180 ns: Info: MY_LOG: Router 3 released token for destination router 2 +180 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 1 +180 ns: Info: MY_LOG: Updated owner of semaphore 2 to Router 0 +180 ns: Info: MY_LOG: Router 2: Received transaction with data: 37 from Router 3 after a delay of:30 ns +180 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 37 to core 2 +180 ns: Info: MY_LOG: Core 2 of parent Router: 2: Processing transaction and received data: 37 +180 ns: Info: MY_LOG: Router router2: Core 2 completed transaction, data: 37 +180 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 4 +185 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 4 +190 ns: Info: MY_LOG: Router 3: Received transaction with data: 54 from Router 0 after a delay of:30 ns +190 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 54 to core 1 +190 ns: Info: MY_LOG: Core 1 of parent Router: 3: Processing transaction and received data: 54 +190 ns: Info: MY_LOG: Router router3: Core 1 completed transaction, data: 54 +190 ns: Info: MY_LOG: Router 0: Received transaction with data: 65 from Router 1 after a delay of:30 ns +190 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 65 to core 1 +190 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 65 +190 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 65 +190 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 4 190 ns: Info: MY_LOG: Router 0 released token for destination router 3 -190 ns: Info: MY_LOG: Router 3 released token for destination router 2 -190 ns: Info: MY_LOG: Token for destination router 2 passed to Router 1 -190 ns: Info: MY_LOG: Token for destination router 2 granted to Router 1 -190 ns: Info: MY_LOG: Token for destination router 1 granted to Router 3 -190 ns: Info: MY_LOG: router3 forwarded data: 56 to Router_1 -195 ns: Info: MY_LOG: Token for destination router 2 granted to Router 1 -195 ns: Info: MY_LOG: router1 forwarded data: 36 to Router_2 +190 ns: Info: MY_LOG: Router 1 released token for destination router 0 +190 ns: Info: MY_LOG: Token for destination router 0 passed to Router 2 +195 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 +195 ns: Info: MY_LOG: router2 forwarded data: 4 to Router_0 +200 ns: Info: MY_LOG: Core 3 of Source Router: 1: Processing data 42 for router 2 and core 3 at time: 200 ns +200 ns: Info: MY_LOG: Router router1: Received transaction with data: 42 at time: 200 ns +200 ns: Info: MY_LOG: Core core1_3: Transaction successful, data sent: 42 at time: 200 ns +200 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 2 +200 ns: Info: MY_LOG: Updated owner of semaphore 2 to Router 1 200 ns: Info: MY_LOG: Updated owner of semaphore 3 to Router 1 -200 ns: Info: MY_LOG: Core 1 of Source Router: 2: Processing data 90 for router 0 and core 1 at time: 200 ns -200 ns: Info: MY_LOG: Router router2: Received transaction with data: 90 at time: 200 ns -200 ns: Info: MY_LOG: Core core2_1: Transaction successful, data sent: 90 at time: 200 ns -200 ns: Info: MY_LOG: Core 1 of Source Router: 1: Processing data 62 for router 0 and core 1 at time: 200 ns -200 ns: Info: MY_LOG: Router router1: Received transaction with data: 62 at time: 200 ns -200 ns: Info: MY_LOG: Core core1_1: Transaction successful, data sent: 62 at time: 200 ns -200 ns: Info: MY_LOG: Core 0 of Source Router: 1: Processing data 35 for router 3 and core 3 at time: 200 ns -200 ns: Info: MY_LOG: Router router1: Received transaction with data: 35 at time: 200 ns -200 ns: Info: MY_LOG: Core core1_0: Transaction successful, data sent: 35 at time: 200 ns -200 ns: Info: MY_LOG: Core 0 of Source Router: 0: Processing data 33 for router 1 and core 2 at time: 200 ns -200 ns: Info: MY_LOG: Router router0: Received transaction with data: 33 at time: 200 ns -200 ns: Info: MY_LOG: Core core0_0: Transaction successful, data sent: 33 at time: 200 ns -200 ns: Info: MY_LOG: Core 2 of Source Router: 1: Processing data 84 for router 0 and core 2 at time: 200 ns -200 ns: Info: MY_LOG: Router router1: Received transaction with data: 84 at time: 200 ns -200 ns: Info: MY_LOG: Core core1_2: Transaction successful, data sent: 84 at time: 200 ns -200 ns: Info: MY_LOG: Core 1 of Source Router: 0: Processing data 42 for router 2 and core 2 at time: 200 ns -200 ns: Info: MY_LOG: Router router0: Received transaction with data: 42 at time: 200 ns -200 ns: Info: MY_LOG: Core core0_1: Transaction successful, data sent: 42 at time: 200 ns -200 ns: Info: MY_LOG: Core 3 of Source Router: 1: Processing data 35 for router 0 and core 0 at time: 200 ns -200 ns: Info: MY_LOG: Router router1: Received transaction with data: 35 at time: 200 ns -200 ns: Info: MY_LOG: Core core1_3: Transaction successful, data sent: 35 at time: 200 ns -200 ns: Info: MY_LOG: Core 3 of Source Router: 0: Processing data 64 for router 3 and core 3 at time: 200 ns -200 ns: Info: MY_LOG: Router router0: Received transaction with data: 64 at time: 200 ns -200 ns: Info: MY_LOG: Core core0_3: Transaction successful, data sent: 64 at time: 200 ns -200 ns: Info: MY_LOG: Core 2 of Source Router: 2: Processing data 42 for router 3 and core 3 at time: 200 ns -200 ns: Info: MY_LOG: Router router2: Received transaction with data: 42 at time: 200 ns -200 ns: Info: MY_LOG: Core core2_2: Transaction successful, data sent: 42 at time: 200 ns -200 ns: Info: MY_LOG: Core 3 of Source Router: 2: Processing data 53 for router 3 and core 3 at time: 200 ns -200 ns: Info: MY_LOG: Router router2: Received transaction with data: 53 at time: 200 ns -200 ns: Info: MY_LOG: Core core2_3: Transaction successful, data sent: 53 at time: 200 ns -200 ns: Info: MY_LOG: Core 2 of Source Router: 0: Processing data 53 for router 1 and core 2 at time: 200 ns -200 ns: Info: MY_LOG: Router router0: Received transaction with data: 53 at time: 200 ns -200 ns: Info: MY_LOG: Core core0_2: Transaction successful, data sent: 53 at time: 200 ns -200 ns: Info: MY_LOG: Core 1 of Source Router: 3: Processing data 64 for router 1 and core 1 at time: 200 ns -200 ns: Info: MY_LOG: Router router3: Received transaction with data: 64 at time: 200 ns -200 ns: Info: MY_LOG: Core core3_1: Transaction successful, data sent: 64 at time: 200 ns -200 ns: Info: MY_LOG: Core 0 of Source Router: 2: Processing data 98 for router 3 and core 1 at time: 200 ns -200 ns: Info: MY_LOG: Router router2: Received transaction with data: 98 at time: 200 ns -200 ns: Info: MY_LOG: Core core2_0: Transaction successful, data sent: 98 at time: 200 ns -200 ns: Info: MY_LOG: Core 2 of Source Router: 3: Processing data 82 for router 0 and core 0 at time: 200 ns -200 ns: Info: MY_LOG: Router router3: Received transaction with data: 82 at time: 200 ns -200 ns: Info: MY_LOG: Core core3_2: Transaction successful, data sent: 82 at time: 200 ns -200 ns: Info: MY_LOG: Core 3 of Source Router: 3: Processing data 90 for router 2 and core 2 at time: 200 ns -200 ns: Info: MY_LOG: Router router3: Received transaction with data: 90 at time: 200 ns -200 ns: Info: MY_LOG: Core core3_3: Transaction successful, data sent: 90 at time: 200 ns -200 ns: Info: MY_LOG: Core 0 of Source Router: 3: Processing data 91 for router 2 and core 1 at time: 200 ns -200 ns: Info: MY_LOG: Router router3: Received transaction with data: 91 at time: 200 ns -200 ns: Info: MY_LOG: Core core3_0: Transaction successful, data sent: 91 at time: 200 ns -200 ns: Info: MY_LOG: Router 0 added to queue for semaphore 1 -200 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:33 -205 ns: Info: MY_LOG: Router 2 released token for destination router 0 -205 ns: Info: MY_LOG: Router 0: Received transaction with data: 0 from Router 2 after a delay of:20 ns -205 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 0 to core 1 -205 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 0 -205 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 0 -205 ns: Info: MY_LOG: Router 2: Received transaction with data: 36 from Router 1 after a delay of:10 ns -205 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 36 to core 2 -205 ns: Info: MY_LOG: Core 2 of parent Router: 2: Processing transaction and received data: 36 -205 ns: Info: MY_LOG: Router router2: Core 2 completed transaction, data: 36 -205 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 -205 ns: Info: MY_LOG: router2 forwarded data: 72 to Router_0 -205 ns: Info: MY_LOG: Router 1 released token for destination router 2 -205 ns: Info: MY_LOG: Token for destination router 3 granted to Router 1 -205 ns: Info: MY_LOG: router1 forwarded data: 41 to Router_3 -205 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:33 -210 ns: Info: MY_LOG: Router 3 released token for destination router 1 -210 ns: Info: MY_LOG: Token for destination router 1 passed to Router 0 -210 ns: Info: MY_LOG: Router 1: Received transaction with data: 56 from Router 3 after a delay of:20 ns -210 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 56 to core 0 -210 ns: Info: MY_LOG: Core 0 of parent Router: 1: Processing transaction and received data: 56 -210 ns: Info: MY_LOG: Router router1: Core 0 completed transaction, data: 56 -210 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 -210 ns: Info: MY_LOG: Token for destination router 2 granted to Router 3 -210 ns: Info: MY_LOG: router3 forwarded data: 22 to Router_2 -210 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 -210 ns: Info: MY_LOG: router0 forwarded data: 33 to Router_1 -220 ns: Info: MY_LOG: Router 0 released token for destination router 1 -220 ns: Info: MY_LOG: Router 1: Received transaction with data: 33 from Router 0 after a delay of:10 ns -220 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 33 to core 2 -220 ns: Info: MY_LOG: Core 2 of parent Router: 1: Processing transaction and received data: 33 -220 ns: Info: MY_LOG: Router router1: Core 2 completed transaction, data: 33 -220 ns: Info: MY_LOG: Router 0 added to queue for semaphore 2 -220 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:42 -225 ns: Info: MY_LOG: Router 2 released token for destination router 0 -225 ns: Info: MY_LOG: Router 0: Received transaction with data: 72 from Router 2 after a delay of:20 ns -225 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 72 to core 3 -225 ns: Info: MY_LOG: Core 3 of parent Router: 0: Processing transaction and received data: 72 -225 ns: Info: MY_LOG: Router router0: Core 3 completed transaction, data: 72 -225 ns: Info: MY_LOG: Router 3: Received transaction with data: 41 from Router 1 after a delay of:20 ns -225 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 41 to core 2 -225 ns: Info: MY_LOG: Core 2 of parent Router: 3: Processing transaction and received data: 41 -225 ns: Info: MY_LOG: Router router3: Core 2 completed transaction, data: 41 -225 ns: Info: MY_LOG: Token for destination router 1 granted to Router 2 -225 ns: Info: MY_LOG: router2 forwarded data: 67 to Router_1 -225 ns: Info: MY_LOG: Router 1 released token for destination router 3 +200 ns: Info: MY_LOG: Core 1 of Source Router: 0: Processing data 81 for router 1 and core 1 at time: 200 ns +200 ns: Info: MY_LOG: Router router0: Received transaction with data: 81 at time: 200 ns +200 ns: Info: MY_LOG: Core core0_1: Transaction successful, data sent: 81 at time: 200 ns +200 ns: Info: MY_LOG: Core 3 of Source Router: 2: Processing data 25 for router 0 and core 0 at time: 200 ns +200 ns: Info: MY_LOG: Router router2: Received transaction with data: 25 at time: 200 ns +200 ns: Info: MY_LOG: Core core2_3: Transaction successful, data sent: 25 at time: 200 ns +200 ns: Info: MY_LOG: Core 3 of Source Router: 0: Processing data 43 for router 3 and core 2 at time: 200 ns +200 ns: Info: MY_LOG: Router router0: Received transaction with data: 43 at time: 200 ns +200 ns: Info: MY_LOG: Core core0_3: Transaction successful, data sent: 43 at time: 200 ns +200 ns: Info: MY_LOG: Core 2 of Source Router: 3: Processing data 55 for router 0 and core 2 at time: 200 ns +200 ns: Info: MY_LOG: Router router3: Received transaction with data: 55 at time: 200 ns +200 ns: Info: MY_LOG: Core core3_2: Transaction successful, data sent: 55 at time: 200 ns +200 ns: Info: MY_LOG: Core 2 of Source Router: 2: Processing data 89 for router 1 and core 3 at time: 200 ns +200 ns: Info: MY_LOG: Router router2: Received transaction with data: 89 at time: 200 ns +200 ns: Info: MY_LOG: Core core2_2: Transaction successful, data sent: 89 at time: 200 ns +200 ns: Info: MY_LOG: Core 1 of Source Router: 2: Processing data 43 for router 0 and core 3 at time: 200 ns +200 ns: Info: MY_LOG: Router router2: Received transaction with data: 43 at time: 200 ns +200 ns: Info: MY_LOG: Core core2_1: Transaction successful, data sent: 43 at time: 200 ns +200 ns: Info: MY_LOG: Core 3 of Source Router: 3: Processing data 63 for router 0 and core 2 at time: 200 ns +200 ns: Info: MY_LOG: Router router3: Received transaction with data: 63 at time: 200 ns +200 ns: Info: MY_LOG: Core core3_3: Transaction successful, data sent: 63 at time: 200 ns +200 ns: Info: MY_LOG: Core 0 of Source Router: 3: Processing data 33 for router 0 and core 3 at time: 200 ns +200 ns: Info: MY_LOG: Router router3: Received transaction with data: 33 at time: 200 ns +200 ns: Info: MY_LOG: Core core3_0: Transaction successful, data sent: 33 at time: 200 ns +200 ns: Info: MY_LOG: Core 0 of Source Router: 2: Processing data 25 for router 0 and core 1 at time: 200 ns +200 ns: Info: MY_LOG: Router router2: Received transaction with data: 25 at time: 200 ns +200 ns: Info: MY_LOG: Core core2_0: Transaction successful, data sent: 25 at time: 200 ns +200 ns: Info: MY_LOG: Core 1 of Source Router: 3: Processing data 28 for router 2 and core 3 at time: 200 ns +200 ns: Info: MY_LOG: Router router3: Received transaction with data: 28 at time: 200 ns +200 ns: Info: MY_LOG: Core core3_1: Transaction successful, data sent: 28 at time: 200 ns +200 ns: Info: MY_LOG: Core 2 of Source Router: 1: Processing data 64 for router 2 and core 0 at time: 200 ns +200 ns: Info: MY_LOG: Router router1: Received transaction with data: 64 at time: 200 ns +200 ns: Info: MY_LOG: Core core1_2: Transaction successful, data sent: 64 at time: 200 ns +200 ns: Info: MY_LOG: Core 0 of Source Router: 0: Processing data 39 for router 2 and core 0 at time: 200 ns +200 ns: Info: MY_LOG: Router router0: Received transaction with data: 39 at time: 200 ns +200 ns: Info: MY_LOG: Core core0_0: Transaction successful, data sent: 39 at time: 200 ns +200 ns: Info: MY_LOG: Core 2 of Source Router: 0: Processing data 45 for router 2 and core 3 at time: 200 ns +200 ns: Info: MY_LOG: Router router0: Received transaction with data: 45 at time: 200 ns +200 ns: Info: MY_LOG: Core core0_2: Transaction successful, data sent: 45 at time: 200 ns +200 ns: Info: MY_LOG: Core 0 of Source Router: 1: Processing data 25 for router 0 and core 3 at time: 200 ns +200 ns: Info: MY_LOG: Router router1: Received transaction with data: 25 at time: 200 ns +200 ns: Info: MY_LOG: Core core1_0: Transaction successful, data sent: 25 at time: 200 ns +200 ns: Info: MY_LOG: Core 1 of Source Router: 1: Processing data 71 for router 2 and core 0 at time: 200 ns +200 ns: Info: MY_LOG: Router router1: Received transaction with data: 71 at time: 200 ns +200 ns: Info: MY_LOG: Core core1_1: Transaction successful, data sent: 71 at time: 200 ns +200 ns: Info: MY_LOG: Token for destination router 2 granted to Router 1 +200 ns: Info: MY_LOG: router1 forwarded data: 42 to Router_2 +200 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 +200 ns: Info: MY_LOG: router0 forwarded data: 81 to Router_1 +200 ns: Info: MY_LOG: Router 3 added to queue for semaphore 0 +200 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 55 +205 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 55 +210 ns: Info: MY_LOG: Router 1 released token for destination router 2 +210 ns: Info: MY_LOG: Router 2: Received transaction with data: 42 from Router 1 after a delay of:10 ns +210 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 42 to core 3 +210 ns: Info: MY_LOG: Core 3 of parent Router: 2: Processing transaction and received data: 42 +210 ns: Info: MY_LOG: Router router2: Core 3 completed transaction, data: 42 +210 ns: Info: MY_LOG: Router 1: Received transaction with data: 81 from Router 0 after a delay of:10 ns +210 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 81 to core 1 +210 ns: Info: MY_LOG: Core 1 of parent Router: 1: Processing transaction and received data: 81 +210 ns: Info: MY_LOG: Router router1: Core 1 completed transaction, data: 81 +210 ns: Info: MY_LOG: Token for destination router 2 granted to Router 1 +210 ns: Info: MY_LOG: router1 forwarded data: 64 to Router_2 +210 ns: Info: MY_LOG: Router 0 released token for destination router 1 +210 ns: Info: MY_LOG: Token for destination router 3 granted to Router 0 +210 ns: Info: MY_LOG: router0 forwarded data: 43 to Router_3 +210 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 55 +215 ns: Info: MY_LOG: Router 2 released token for destination router 0 +215 ns: Info: MY_LOG: Token for destination router 0 passed to Router 3 +215 ns: Info: MY_LOG: Router 0: Received transaction with data: 4 from Router 2 after a delay of:20 ns +215 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 4 to core 0 +215 ns: Info: MY_LOG: Core 0 of parent Router: 0: Processing transaction and received data: 4 +215 ns: Info: MY_LOG: Router router0: Core 0 completed transaction, data: 4 +215 ns: Info: MY_LOG: Router 2 added to queue for semaphore 3 +215 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 73 +215 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 +215 ns: Info: MY_LOG: router3 forwarded data: 55 to Router_0 +220 ns: Info: MY_LOG: Router 1 released token for destination router 2 +220 ns: Info: MY_LOG: Router 2: Received transaction with data: 64 from Router 1 after a delay of:10 ns +220 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 64 to core 0 +220 ns: Info: MY_LOG: Core 0 of parent Router: 2: Processing transaction and received data: 64 +220 ns: Info: MY_LOG: Router router2: Core 0 completed transaction, data: 64 +220 ns: Info: MY_LOG: Router 1 added to queue for semaphore 0 +220 ns: Info: MY_LOG: Router router1: Semaphore for Router_0 is unavailable. Retrying with data: 25 +220 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 73 +220 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 1 +220 ns: Info: MY_LOG: Updated owner of semaphore 2 to Router 2 +225 ns: Info: MY_LOG: Router 3 released token for destination router 0 +225 ns: Info: MY_LOG: Token for destination router 0 passed to Router 1 +225 ns: Info: MY_LOG: Router 0: Received transaction with data: 55 from Router 3 after a delay of:10 ns +225 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 55 to core 2 +225 ns: Info: MY_LOG: Core 2 of parent Router: 0: Processing transaction and received data: 55 +225 ns: Info: MY_LOG: Router router0: Core 2 completed transaction, data: 55 +225 ns: Info: MY_LOG: Router 3 added to queue for semaphore 0 +225 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 63 225 ns: Info: MY_LOG: Token for destination router 0 granted to Router 1 -225 ns: Info: MY_LOG: router1 forwarded data: 62 to Router_0 -225 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:42 -230 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:42 -235 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:42 -240 ns: Info: MY_LOG: Updated owner of semaphore 3 to Router 2 -240 ns: Info: MY_LOG: Router 3 released token for destination router 2 -240 ns: Info: MY_LOG: Token for destination router 2 passed to Router 0 -240 ns: Info: MY_LOG: Router 2: Received transaction with data: 22 from Router 3 after a delay of:30 ns -240 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 22 to core 2 -240 ns: Info: MY_LOG: Core 2 of parent Router: 2: Processing transaction and received data: 22 -240 ns: Info: MY_LOG: Router router2: Core 2 completed transaction, data: 22 +225 ns: Info: MY_LOG: router1 forwarded data: 25 to Router_0 +225 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 73 +230 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 63 +230 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 73 +235 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 63 +235 ns: Info: MY_LOG: Router router2: Semaphore for Router_3 is unavailable. Retrying with data: 73 +240 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 2 +240 ns: Info: MY_LOG: Updated owner of semaphore 2 to Router 3 +240 ns: Info: MY_LOG: Router 0 released token for destination router 3 +240 ns: Info: MY_LOG: Token for destination router 3 passed to Router 2 +240 ns: Info: MY_LOG: Router 3: Received transaction with data: 43 from Router 0 after a delay of:30 ns +240 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 43 to core 2 +240 ns: Info: MY_LOG: Core 2 of parent Router: 3: Processing transaction and received data: 43 +240 ns: Info: MY_LOG: Router router3: Core 2 completed transaction, data: 43 240 ns: Info: MY_LOG: Token for destination router 2 granted to Router 0 -240 ns: Info: MY_LOG: Router 3 added to queue for semaphore 2 -240 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:87 -240 ns: Info: MY_LOG: Token for destination router 2 granted to Router 0 -240 ns: Info: MY_LOG: router0 forwarded data: 42 to Router_2 -245 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:87 -250 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:87 -255 ns: Info: MY_LOG: Router 2 released token for destination router 1 -255 ns: Info: MY_LOG: Router 1: Received transaction with data: 67 from Router 2 after a delay of:30 ns -255 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 67 to core 3 -255 ns: Info: MY_LOG: Core 3 of parent Router: 1: Processing transaction and received data: 67 -255 ns: Info: MY_LOG: Router router1: Core 3 completed transaction, data: 67 -255 ns: Info: MY_LOG: Router 0: Received transaction with data: 62 from Router 1 after a delay of:30 ns -255 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 62 to core 1 -255 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 62 -255 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 62 -255 ns: Info: MY_LOG: Router 2 added to queue for semaphore 0 -255 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:71 +240 ns: Info: MY_LOG: router0 forwarded data: 39 to Router_2 +240 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 63 +240 ns: Info: MY_LOG: Token for destination router 3 granted to Router 2 +240 ns: Info: MY_LOG: router2 forwarded data: 73 to Router_3 +245 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 63 +250 ns: Info: MY_LOG: Router 2 released token for destination router 3 +250 ns: Info: MY_LOG: Router 3: Received transaction with data: 73 from Router 2 after a delay of:10 ns +250 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 73 to core 2 +250 ns: Info: MY_LOG: Core 2 of parent Router: 3: Processing transaction and received data: 73 +250 ns: Info: MY_LOG: Router router3: Core 2 completed transaction, data: 73 +250 ns: Info: MY_LOG: Router 2 added to queue for semaphore 0 +250 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 25 +250 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 63 255 ns: Info: MY_LOG: Router 1 released token for destination router 0 -255 ns: Info: MY_LOG: Token for destination router 0 passed to Router 2 -255 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 -255 ns: Info: MY_LOG: Token for destination router 3 granted to Router 1 -255 ns: Info: MY_LOG: router1 forwarded data: 35 to Router_3 -255 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:87 +255 ns: Info: MY_LOG: Token for destination router 0 passed to Router 3 +255 ns: Info: MY_LOG: Router 0: Received transaction with data: 25 from Router 1 after a delay of:30 ns +255 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 25 to core 3 +255 ns: Info: MY_LOG: Core 3 of parent Router: 0: Processing transaction and received data: 25 +255 ns: Info: MY_LOG: Router router0: Core 3 completed transaction, data: 25 +255 ns: Info: MY_LOG: Router 1 added to queue for semaphore 2 +255 ns: Info: MY_LOG: Router router1: Semaphore for Router_2 is unavailable. Retrying with data: 71 +255 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 25 +255 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 +255 ns: Info: MY_LOG: router3 forwarded data: 63 to Router_0 260 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 3 +260 ns: Info: MY_LOG: Updated owner of semaphore 3 to Router 3 260 ns: Info: MY_LOG: Router 0 released token for destination router 2 -260 ns: Info: MY_LOG: Token for destination router 2 passed to Router 3 -260 ns: Info: MY_LOG: Router 2: Received transaction with data: 42 from Router 0 after a delay of:20 ns -260 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 42 to core 2 -260 ns: Info: MY_LOG: Core 2 of parent Router: 2: Processing transaction and received data: 42 -260 ns: Info: MY_LOG: Router router2: Core 2 completed transaction, data: 42 -260 ns: Info: MY_LOG: Token for destination router 2 granted to Router 3 -260 ns: Info: MY_LOG: Router 0 added to queue for semaphore 3 -260 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:64 -260 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 -260 ns: Info: MY_LOG: router2 forwarded data: 71 to Router_0 -260 ns: Info: MY_LOG: Token for destination router 2 granted to Router 3 -260 ns: Info: MY_LOG: router3 forwarded data: 87 to Router_2 -265 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:64 -270 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:64 -275 ns: Info: MY_LOG: Router 1 released token for destination router 3 -275 ns: Info: MY_LOG: Token for destination router 3 passed to Router 0 -275 ns: Info: MY_LOG: Router 3: Received transaction with data: 35 from Router 1 after a delay of:20 ns -275 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 35 to core 3 -275 ns: Info: MY_LOG: Core 3 of parent Router: 3: Processing transaction and received data: 35 -275 ns: Info: MY_LOG: Router router3: Core 3 completed transaction, data: 35 -275 ns: Info: MY_LOG: Token for destination router 3 granted to Router 0 -275 ns: Info: MY_LOG: Router 1 added to queue for semaphore 0 -275 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:84 -275 ns: Info: MY_LOG: Token for destination router 3 granted to Router 0 -275 ns: Info: MY_LOG: router0 forwarded data: 64 to Router_3 -280 ns: Info: MY_LOG: Router 2 released token for destination router 0 -280 ns: Info: MY_LOG: Token for destination router 0 passed to Router 1 -280 ns: Info: MY_LOG: Router 0: Received transaction with data: 71 from Router 2 after a delay of:20 ns -280 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 71 to core 1 -280 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 71 -280 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 71 -280 ns: Info: MY_LOG: Token for destination router 0 granted to Router 1 -280 ns: Info: MY_LOG: Router 2 added to queue for semaphore 0 -280 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:90 -280 ns: Info: MY_LOG: Token for destination router 0 granted to Router 1 -280 ns: Info: MY_LOG: router1 forwarded data: 84 to Router_0 -285 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:90 -290 ns: Info: MY_LOG: Router 2: Received transaction with data: 87 from Router 3 after a delay of:30 ns -290 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 87 to core 2 -290 ns: Info: MY_LOG: Core 2 of parent Router: 2: Processing transaction and received data: 87 -290 ns: Info: MY_LOG: Router router2: Core 2 completed transaction, data: 87 -290 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:90 -290 ns: Info: MY_LOG: Router 3 released token for destination router 2 -290 ns: Info: MY_LOG: Token for destination router 1 granted to Router 3 -290 ns: Info: MY_LOG: router3 forwarded data: 64 to Router_1 -295 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:90 -300 ns: Info: MY_LOG: Updated owner of semaphore 2 to Router 0 -300 ns: Info: MY_LOG: Core 2 of Source Router: 0: Processing data 37 for router 1 and core 0 at time: 300 ns -300 ns: Info: MY_LOG: Router router0: Received transaction with data: 37 at time: 300 ns -300 ns: Info: MY_LOG: Core core0_2: Transaction successful, data sent: 37 at time: 300 ns -300 ns: Info: MY_LOG: Core 3 of Source Router: 3: Processing data 79 for router 0 and core 3 at time: 300 ns -300 ns: Info: MY_LOG: Router router3: Received transaction with data: 79 at time: 300 ns -300 ns: Info: MY_LOG: Core core3_3: Transaction successful, data sent: 79 at time: 300 ns -300 ns: Info: MY_LOG: Core 1 of Source Router: 1: Processing data 99 for router 3 and core 3 at time: 300 ns -300 ns: Info: MY_LOG: Router router1: Received transaction with data: 99 at time: 300 ns -300 ns: Info: MY_LOG: Core core1_1: Transaction successful, data sent: 99 at time: 300 ns -300 ns: Info: MY_LOG: Core 1 of Source Router: 3: Processing data 51 for router 0 and core 3 at time: 300 ns -300 ns: Info: MY_LOG: Router router3: Received transaction with data: 51 at time: 300 ns -300 ns: Info: MY_LOG: Core core3_1: Transaction successful, data sent: 51 at time: 300 ns -300 ns: Info: MY_LOG: Core 2 of Source Router: 3: Processing data 31 for router 2 and core 2 at time: 300 ns -300 ns: Info: MY_LOG: Router router3: Received transaction with data: 31 at time: 300 ns -300 ns: Info: MY_LOG: Core core3_2: Transaction successful, data sent: 31 at time: 300 ns -300 ns: Info: MY_LOG: Core 0 of Source Router: 3: Processing data 67 for router 2 and core 0 at time: 300 ns -300 ns: Info: MY_LOG: Router router3: Received transaction with data: 67 at time: 300 ns -300 ns: Info: MY_LOG: Core core3_0: Transaction successful, data sent: 67 at time: 300 ns -300 ns: Info: MY_LOG: Core 3 of Source Router: 1: Processing data 53 for router 2 and core 0 at time: 300 ns -300 ns: Info: MY_LOG: Router router1: Received transaction with data: 53 at time: 300 ns -300 ns: Info: MY_LOG: Core core1_3: Transaction successful, data sent: 53 at time: 300 ns -300 ns: Info: MY_LOG: Core 3 of Source Router: 0: Processing data 42 for router 1 and core 2 at time: 300 ns -300 ns: Info: MY_LOG: Router router0: Received transaction with data: 42 at time: 300 ns -300 ns: Info: MY_LOG: Core core0_3: Transaction successful, data sent: 42 at time: 300 ns -300 ns: Info: MY_LOG: Core 0 of Source Router: 1: Processing data 33 for router 0 and core 0 at time: 300 ns -300 ns: Info: MY_LOG: Router router1: Received transaction with data: 33 at time: 300 ns -300 ns: Info: MY_LOG: Core core1_0: Transaction successful, data sent: 33 at time: 300 ns -300 ns: Info: MY_LOG: Core 3 of Source Router: 2: Processing data 54 for router 3 and core 1 at time: 300 ns -300 ns: Info: MY_LOG: Router router2: Received transaction with data: 54 at time: 300 ns -300 ns: Info: MY_LOG: Core core2_3: Transaction successful, data sent: 54 at time: 300 ns -300 ns: Info: MY_LOG: Core 1 of Source Router: 0: Processing data 38 for router 1 and core 2 at time: 300 ns -300 ns: Info: MY_LOG: Router router0: Received transaction with data: 38 at time: 300 ns -300 ns: Info: MY_LOG: Core core0_1: Transaction successful, data sent: 38 at time: 300 ns -300 ns: Info: MY_LOG: Core 0 of Source Router: 2: Processing data 27 for router 1 and core 1 at time: 300 ns -300 ns: Info: MY_LOG: Router router2: Received transaction with data: 27 at time: 300 ns -300 ns: Info: MY_LOG: Core core2_0: Transaction successful, data sent: 27 at time: 300 ns -300 ns: Info: MY_LOG: Core 1 of Source Router: 2: Processing data 44 for router 1 and core 0 at time: 300 ns -300 ns: Info: MY_LOG: Router router2: Received transaction with data: 44 at time: 300 ns -300 ns: Info: MY_LOG: Core core2_1: Transaction successful, data sent: 44 at time: 300 ns -300 ns: Info: MY_LOG: Core 2 of Source Router: 1: Processing data 75 for router 3 and core 2 at time: 300 ns -300 ns: Info: MY_LOG: Router router1: Received transaction with data: 75 at time: 300 ns -300 ns: Info: MY_LOG: Core core1_2: Transaction successful, data sent: 75 at time: 300 ns -300 ns: Info: MY_LOG: Core 2 of Source Router: 2: Processing data 41 for router 1 and core 3 at time: 300 ns -300 ns: Info: MY_LOG: Router router2: Received transaction with data: 41 at time: 300 ns -300 ns: Info: MY_LOG: Core core2_2: Transaction successful, data sent: 41 at time: 300 ns -300 ns: Info: MY_LOG: Core 0 of Source Router: 0: Processing data 5 for router 2 and core 1 at time: 300 ns -300 ns: Info: MY_LOG: Router router0: Received transaction with data: 5 at time: 300 ns -300 ns: Info: MY_LOG: Core core0_0: Transaction successful, data sent: 5 at time: 300 ns -300 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:90 -305 ns: Info: MY_LOG: Router 0 released token for destination router 3 -305 ns: Info: MY_LOG: Router 3: Received transaction with data: 64 from Router 0 after a delay of:30 ns -305 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 64 to core 3 -305 ns: Info: MY_LOG: Core 3 of parent Router: 3: Processing transaction and received data: 64 -305 ns: Info: MY_LOG: Router router3: Core 3 completed transaction, data: 64 -305 ns: Info: MY_LOG: Router 0 added to queue for semaphore 1 -305 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:53 -305 ns: Info: MY_LOG: Router router2: Semaphore unavailable. Retrying with data:90 -310 ns: Info: MY_LOG: Router 1 released token for destination router 0 -310 ns: Info: MY_LOG: Token for destination router 0 passed to Router 2 -310 ns: Info: MY_LOG: Router 0: Received transaction with data: 84 from Router 1 after a delay of:30 ns -310 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 84 to core 2 -310 ns: Info: MY_LOG: Core 2 of parent Router: 0: Processing transaction and received data: 84 -310 ns: Info: MY_LOG: Router router0: Core 2 completed transaction, data: 84 -310 ns: Info: MY_LOG: Router 1: Received transaction with data: 64 from Router 3 after a delay of:20 ns -310 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 64 to core 1 -310 ns: Info: MY_LOG: Core 1 of parent Router: 1: Processing transaction and received data: 64 -310 ns: Info: MY_LOG: Router router1: Core 1 completed transaction, data: 64 -310 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 -310 ns: Info: MY_LOG: Router 1 added to queue for semaphore 0 -310 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:35 -310 ns: Info: MY_LOG: Router router0: Semaphore unavailable. Retrying with data:53 -310 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 -310 ns: Info: MY_LOG: router2 forwarded data: 90 to Router_0 -310 ns: Info: MY_LOG: Router 3 released token for destination router 1 -310 ns: Info: MY_LOG: Token for destination router 1 passed to Router 0 -310 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 -310 ns: Info: MY_LOG: Router 3 added to queue for semaphore 0 -310 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:82 -315 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:35 -315 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 -315 ns: Info: MY_LOG: router0 forwarded data: 53 to Router_1 -315 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:82 -320 ns: Info: MY_LOG: Updated owner of semaphore 3 to Router 1 -320 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:35 -320 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:82 -325 ns: Info: MY_LOG: Router 0 released token for destination router 1 -325 ns: Info: MY_LOG: Router 1: Received transaction with data: 53 from Router 0 after a delay of:10 ns -325 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 53 to core 2 -325 ns: Info: MY_LOG: Core 2 of parent Router: 1: Processing transaction and received data: 53 -325 ns: Info: MY_LOG: Router router1: Core 2 completed transaction, data: 53 -325 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 -325 ns: Info: MY_LOG: router0 forwarded data: 37 to Router_1 -325 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:35 -325 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:82 -330 ns: Info: MY_LOG: Router 2 released token for destination router 0 -330 ns: Info: MY_LOG: Token for destination router 0 passed to Router 1 -330 ns: Info: MY_LOG: Router 0: Received transaction with data: 90 from Router 2 after a delay of:20 ns -330 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 90 to core 1 -330 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 90 -330 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 90 -330 ns: Info: MY_LOG: Token for destination router 0 granted to Router 1 -330 ns: Info: MY_LOG: Token for destination router 3 granted to Router 2 -330 ns: Info: MY_LOG: router2 forwarded data: 42 to Router_3 -330 ns: Info: MY_LOG: Token for destination router 0 granted to Router 1 -330 ns: Info: MY_LOG: router1 forwarded data: 35 to Router_0 -330 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:82 -335 ns: Info: MY_LOG: Router 0 released token for destination router 1 -335 ns: Info: MY_LOG: Router 1: Received transaction with data: 37 from Router 0 after a delay of:10 ns -335 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 37 to core 0 -335 ns: Info: MY_LOG: Core 0 of parent Router: 1: Processing transaction and received data: 37 -335 ns: Info: MY_LOG: Router router1: Core 0 completed transaction, data: 37 -335 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 -335 ns: Info: MY_LOG: router0 forwarded data: 42 to Router_1 -335 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:82 -340 ns: Info: MY_LOG: Router 2 released token for destination router 3 -340 ns: Info: MY_LOG: Router 3: Received transaction with data: 42 from Router 2 after a delay of:10 ns -340 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 42 to core 3 -340 ns: Info: MY_LOG: Core 3 of parent Router: 3: Processing transaction and received data: 42 -340 ns: Info: MY_LOG: Router router3: Core 3 completed transaction, data: 42 -340 ns: Info: MY_LOG: Token for destination router 3 granted to Router 2 -340 ns: Info: MY_LOG: router2 forwarded data: 53 to Router_3 -340 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:82 -345 ns: Info: MY_LOG: Router 0 released token for destination router 1 -345 ns: Info: MY_LOG: Router 1: Received transaction with data: 42 from Router 0 after a delay of:10 ns -345 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 42 to core 2 -345 ns: Info: MY_LOG: Core 2 of parent Router: 1: Processing transaction and received data: 42 -345 ns: Info: MY_LOG: Router router1: Core 2 completed transaction, data: 42 -345 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 -345 ns: Info: MY_LOG: router0 forwarded data: 38 to Router_1 -345 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:82 -350 ns: Info: MY_LOG: Router 2 released token for destination router 3 -350 ns: Info: MY_LOG: Router 3: Received transaction with data: 53 from Router 2 after a delay of:10 ns -350 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 53 to core 3 -350 ns: Info: MY_LOG: Core 3 of parent Router: 3: Processing transaction and received data: 53 -350 ns: Info: MY_LOG: Router router3: Core 3 completed transaction, data: 53 -350 ns: Info: MY_LOG: Token for destination router 3 granted to Router 2 -350 ns: Info: MY_LOG: router2 forwarded data: 98 to Router_3 -350 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:82 -355 ns: Info: MY_LOG: Router 0 released token for destination router 1 -355 ns: Info: MY_LOG: Router 1: Received transaction with data: 38 from Router 0 after a delay of:10 ns -355 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 38 to core 2 -355 ns: Info: MY_LOG: Core 2 of parent Router: 1: Processing transaction and received data: 38 -355 ns: Info: MY_LOG: Router router1: Core 2 completed transaction, data: 38 -355 ns: Info: MY_LOG: Token for destination router 2 granted to Router 0 -355 ns: Info: MY_LOG: router0 forwarded data: 5 to Router_2 -355 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:82 -360 ns: Info: MY_LOG: Router 2 released token for destination router 3 -360 ns: Info: MY_LOG: Router 3: Received transaction with data: 98 from Router 2 after a delay of:10 ns -360 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 98 to core 1 -360 ns: Info: MY_LOG: Core 1 of parent Router: 3: Processing transaction and received data: 98 -360 ns: Info: MY_LOG: Router router3: Core 1 completed transaction, data: 98 -360 ns: Info: MY_LOG: Router 0: Received transaction with data: 35 from Router 1 after a delay of:30 ns -360 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 35 to core 0 -360 ns: Info: MY_LOG: Core 0 of parent Router: 0: Processing transaction and received data: 35 -360 ns: Info: MY_LOG: Router router0: Core 0 completed transaction, data: 35 -360 ns: Info: MY_LOG: Token for destination router 3 granted to Router 2 -360 ns: Info: MY_LOG: router2 forwarded data: 54 to Router_3 -360 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 1 -360 ns: Info: MY_LOG: Router router3: Semaphore unavailable. Retrying with data:82 -360 ns: Info: MY_LOG: Router 1 released token for destination router 0 -360 ns: Info: MY_LOG: Token for destination router 0 passed to Router 3 -360 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 -360 ns: Info: MY_LOG: Router 1 added to queue for semaphore 3 -360 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:99 -365 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 -365 ns: Info: MY_LOG: router3 forwarded data: 82 to Router_0 -365 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:99 -370 ns: Info: MY_LOG: Router 2 released token for destination router 3 -370 ns: Info: MY_LOG: Token for destination router 3 passed to Router 1 -370 ns: Info: MY_LOG: Router 3: Received transaction with data: 54 from Router 2 after a delay of:10 ns -370 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 54 to core 1 -370 ns: Info: MY_LOG: Core 1 of parent Router: 3: Processing transaction and received data: 54 -370 ns: Info: MY_LOG: Router router3: Core 1 completed transaction, data: 54 -370 ns: Info: MY_LOG: Token for destination router 3 granted to Router 1 -370 ns: Info: MY_LOG: Token for destination router 1 granted to Router 2 -370 ns: Info: MY_LOG: router2 forwarded data: 27 to Router_1 -370 ns: Info: MY_LOG: Token for destination router 3 granted to Router 1 -370 ns: Info: MY_LOG: router1 forwarded data: 99 to Router_3 -375 ns: Info: MY_LOG: Router 0 released token for destination router 2 -375 ns: Info: MY_LOG: Router 3 released token for destination router 0 -375 ns: Info: MY_LOG: Router 2: Received transaction with data: 5 from Router 0 after a delay of:20 ns -375 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 5 to core 1 -375 ns: Info: MY_LOG: Core 1 of parent Router: 2: Processing transaction and received data: 5 -375 ns: Info: MY_LOG: Router router2: Core 1 completed transaction, data: 5 -375 ns: Info: MY_LOG: Router 0: Received transaction with data: 82 from Router 3 after a delay of:10 ns -375 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 82 to core 0 -375 ns: Info: MY_LOG: Core 0 of parent Router: 0: Processing transaction and received data: 82 -375 ns: Info: MY_LOG: Router router0: Core 0 completed transaction, data: 82 -375 ns: Info: MY_LOG: Token for destination router 2 granted to Router 3 -375 ns: Info: MY_LOG: router3 forwarded data: 90 to Router_2 -380 ns: Info: MY_LOG: Updated owner of semaphore 0 to Router 0 -390 ns: Info: MY_LOG: Router 1 released token for destination router 3 -390 ns: Info: MY_LOG: Router 3: Received transaction with data: 99 from Router 1 after a delay of:20 ns -390 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 99 to core 3 -390 ns: Info: MY_LOG: Core 3 of parent Router: 3: Processing transaction and received data: 99 -390 ns: Info: MY_LOG: Router router3: Core 3 completed transaction, data: 99 -390 ns: Info: MY_LOG: Router 1 added to queue for semaphore 2 -390 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:53 -395 ns: Info: MY_LOG: Router router1: Semaphore unavailable. Retrying with data:53 +260 ns: Info: MY_LOG: Token for destination router 2 passed to Router 1 +260 ns: Info: MY_LOG: Router 2: Received transaction with data: 39 from Router 0 after a delay of:20 ns +260 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 39 to core 0 +260 ns: Info: MY_LOG: Core 0 of parent Router: 2: Processing transaction and received data: 39 +260 ns: Info: MY_LOG: Router router2: Core 0 completed transaction, data: 39 +260 ns: Info: MY_LOG: Router 0 added to queue for semaphore 2 +260 ns: Info: MY_LOG: Router router0: Semaphore for Router_2 is unavailable. Retrying with data: 45 +260 ns: Info: MY_LOG: Token for destination router 2 granted to Router 1 +260 ns: Info: MY_LOG: router1 forwarded data: 71 to Router_2 +260 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 25 +265 ns: Info: MY_LOG: Router 3 released token for destination router 0 +265 ns: Info: MY_LOG: Token for destination router 0 passed to Router 2 +265 ns: Info: MY_LOG: Router 0: Received transaction with data: 63 from Router 3 after a delay of:10 ns +265 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 63 to core 2 +265 ns: Info: MY_LOG: Core 2 of parent Router: 0: Processing transaction and received data: 63 +265 ns: Info: MY_LOG: Router router0: Core 2 completed transaction, data: 63 +265 ns: Info: MY_LOG: Router 3 added to queue for semaphore 0 +265 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 33 +265 ns: Info: MY_LOG: Router router0: Semaphore for Router_2 is unavailable. Retrying with data: 45 +265 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 +265 ns: Info: MY_LOG: router2 forwarded data: 25 to Router_0 +270 ns: Info: MY_LOG: Router 1 released token for destination router 2 +270 ns: Info: MY_LOG: Token for destination router 2 passed to Router 0 +270 ns: Info: MY_LOG: Router 2: Received transaction with data: 71 from Router 1 after a delay of:10 ns +270 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 71 to core 0 +270 ns: Info: MY_LOG: Core 0 of parent Router: 2: Processing transaction and received data: 71 +270 ns: Info: MY_LOG: Router router2: Core 0 completed transaction, data: 71 +270 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 33 +270 ns: Info: MY_LOG: Token for destination router 2 granted to Router 0 +270 ns: Info: MY_LOG: router0 forwarded data: 45 to Router_2 +275 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 33 +280 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 0 +280 ns: Info: MY_LOG: Updated owner of semaphore 3 to Router 0 +280 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 33 +285 ns: Info: MY_LOG: Router 2 released token for destination router 0 +285 ns: Info: MY_LOG: Token for destination router 0 passed to Router 3 +285 ns: Info: MY_LOG: Router 0: Received transaction with data: 25 from Router 2 after a delay of:20 ns +285 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 25 to core 0 +285 ns: Info: MY_LOG: Core 0 of parent Router: 0: Processing transaction and received data: 25 +285 ns: Info: MY_LOG: Router router0: Core 0 completed transaction, data: 25 +285 ns: Info: MY_LOG: Token for destination router 1 granted to Router 2 +285 ns: Info: MY_LOG: router2 forwarded data: 89 to Router_1 +285 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 +285 ns: Info: MY_LOG: router3 forwarded data: 33 to Router_0 +290 ns: Info: MY_LOG: Router 0 released token for destination router 2 +290 ns: Info: MY_LOG: Router 2: Received transaction with data: 45 from Router 0 after a delay of:20 ns +290 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 45 to core 3 +290 ns: Info: MY_LOG: Core 3 of parent Router: 2: Processing transaction and received data: 45 +290 ns: Info: MY_LOG: Router router2: Core 3 completed transaction, data: 45 +295 ns: Info: MY_LOG: Router 3 released token for destination router 0 +295 ns: Info: MY_LOG: Router 0: Received transaction with data: 33 from Router 3 after a delay of:10 ns +295 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 33 to core 3 +295 ns: Info: MY_LOG: Core 3 of parent Router: 0: Processing transaction and received data: 33 +295 ns: Info: MY_LOG: Router router0: Core 3 completed transaction, data: 33 +295 ns: Info: MY_LOG: Token for destination router 2 granted to Router 3 +295 ns: Info: MY_LOG: router3 forwarded data: 28 to Router_2 +300 ns: Info: MY_LOG: Core 3 of Source Router: 3: Processing data 68 for router 0 and core 1 at time: 300 ns +300 ns: Info: MY_LOG: Router router3: Received transaction with data: 68 at time: 300 ns +300 ns: Info: MY_LOG: Core core3_3: Transaction successful, data sent: 68 at time: 300 ns +300 ns: Info: MY_LOG: Updated owner of semaphore 0 to Router 0 +300 ns: Info: MY_LOG: Updated owner of semaphore 3 to Router 1 +300 ns: Info: MY_LOG: Core 3 of Source Router: 0: Processing data 95 for router 3 and core 0 at time: 300 ns +300 ns: Info: MY_LOG: Router router0: Received transaction with data: 95 at time: 300 ns +300 ns: Info: MY_LOG: Core core0_3: Transaction successful, data sent: 95 at time: 300 ns +300 ns: Info: MY_LOG: Core 2 of Source Router: 3: Processing data 85 for router 2 and core 0 at time: 300 ns +300 ns: Info: MY_LOG: Router router3: Received transaction with data: 85 at time: 300 ns +300 ns: Info: MY_LOG: Core core3_2: Transaction successful, data sent: 85 at time: 300 ns +300 ns: Info: MY_LOG: Core 3 of Source Router: 2: Processing data 9 for router 3 and core 3 at time: 300 ns +300 ns: Info: MY_LOG: Router router2: Received transaction with data: 9 at time: 300 ns +300 ns: Info: MY_LOG: Core core2_3: Transaction successful, data sent: 9 at time: 300 ns +300 ns: Info: MY_LOG: Core 1 of Source Router: 1: Processing data 7 for router 2 and core 1 at time: 300 ns +300 ns: Info: MY_LOG: Router router1: Received transaction with data: 7 at time: 300 ns +300 ns: Info: MY_LOG: Core core1_1: Transaction successful, data sent: 7 at time: 300 ns +300 ns: Info: MY_LOG: Core 1 of Source Router: 2: Processing data 20 for router 0 and core 3 at time: 300 ns +300 ns: Info: MY_LOG: Router router2: Received transaction with data: 20 at time: 300 ns +300 ns: Info: MY_LOG: Core core2_1: Transaction successful, data sent: 20 at time: 300 ns +300 ns: Info: MY_LOG: Core 0 of Source Router: 3: Processing data 7 for router 1 and core 2 at time: 300 ns +300 ns: Info: MY_LOG: Router router3: Received transaction with data: 7 at time: 300 ns +300 ns: Info: MY_LOG: Core core3_0: Transaction successful, data sent: 7 at time: 300 ns +300 ns: Info: MY_LOG: Core 0 of Source Router: 1: Processing data 50 for router 2 and core 1 at time: 300 ns +300 ns: Info: MY_LOG: Router router1: Received transaction with data: 50 at time: 300 ns +300 ns: Info: MY_LOG: Core core1_0: Transaction successful, data sent: 50 at time: 300 ns +300 ns: Info: MY_LOG: Core 1 of Source Router: 3: Processing data 87 for router 0 and core 2 at time: 300 ns +300 ns: Info: MY_LOG: Router router3: Received transaction with data: 87 at time: 300 ns +300 ns: Info: MY_LOG: Core core3_1: Transaction successful, data sent: 87 at time: 300 ns +300 ns: Info: MY_LOG: Core 2 of Source Router: 1: Processing data 20 for router 0 and core 2 at time: 300 ns +300 ns: Info: MY_LOG: Router router1: Received transaction with data: 20 at time: 300 ns +300 ns: Info: MY_LOG: Core core1_2: Transaction successful, data sent: 20 at time: 300 ns +300 ns: Info: MY_LOG: Core 3 of Source Router: 1: Processing data 40 for router 3 and core 2 at time: 300 ns +300 ns: Info: MY_LOG: Router router1: Received transaction with data: 40 at time: 300 ns +300 ns: Info: MY_LOG: Core core1_3: Transaction successful, data sent: 40 at time: 300 ns +300 ns: Info: MY_LOG: Core 0 of Source Router: 0: Processing data 13 for router 3 and core 0 at time: 300 ns +300 ns: Info: MY_LOG: Router router0: Received transaction with data: 13 at time: 300 ns +300 ns: Info: MY_LOG: Core core0_0: Transaction successful, data sent: 13 at time: 300 ns +300 ns: Info: MY_LOG: Core 2 of Source Router: 0: Processing data 31 for router 1 and core 0 at time: 300 ns +300 ns: Info: MY_LOG: Router router0: Received transaction with data: 31 at time: 300 ns +300 ns: Info: MY_LOG: Core core0_2: Transaction successful, data sent: 31 at time: 300 ns +300 ns: Info: MY_LOG: Core 0 of Source Router: 2: Processing data 81 for router 1 and core 1 at time: 300 ns +300 ns: Info: MY_LOG: Router router2: Received transaction with data: 81 at time: 300 ns +300 ns: Info: MY_LOG: Core core2_0: Transaction successful, data sent: 81 at time: 300 ns +300 ns: Info: MY_LOG: Core 2 of Source Router: 2: Processing data 0 for router 1 and core 3 at time: 300 ns +300 ns: Info: MY_LOG: Router router2: Received transaction with data: 0 at time: 300 ns +300 ns: Info: MY_LOG: Core core2_2: Transaction successful, data sent: 0 at time: 300 ns +300 ns: Info: MY_LOG: Core 1 of Source Router: 0: Processing data 92 for router 2 and core 1 at time: 300 ns +300 ns: Info: MY_LOG: Router router0: Received transaction with data: 92 at time: 300 ns +300 ns: Info: MY_LOG: Core core0_1: Transaction successful, data sent: 92 at time: 300 ns +300 ns: Info: MY_LOG: Token for destination router 3 granted to Router 0 +300 ns: Info: MY_LOG: router0 forwarded data: 95 to Router_3 +300 ns: Info: MY_LOG: Router 1 added to queue for semaphore 2 +300 ns: Info: MY_LOG: Router router1: Semaphore for Router_2 is unavailable. Retrying with data: 7 +305 ns: Info: MY_LOG: Router router1: Semaphore for Router_2 is unavailable. Retrying with data: 7 +310 ns: Info: MY_LOG: Router router1: Semaphore for Router_2 is unavailable. Retrying with data: 7 +315 ns: Info: MY_LOG: Router 2 released token for destination router 1 +315 ns: Info: MY_LOG: Router 1: Received transaction with data: 89 from Router 2 after a delay of:30 ns +315 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 89 to core 3 +315 ns: Info: MY_LOG: Core 3 of parent Router: 1: Processing transaction and received data: 89 +315 ns: Info: MY_LOG: Router router1: Core 3 completed transaction, data: 89 +315 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 +315 ns: Info: MY_LOG: router2 forwarded data: 43 to Router_0 +315 ns: Info: MY_LOG: Router router1: Semaphore for Router_2 is unavailable. Retrying with data: 7 +320 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 3 +320 ns: Info: MY_LOG: Router router1: Semaphore for Router_2 is unavailable. Retrying with data: 7 +325 ns: Info: MY_LOG: Router 3 released token for destination router 2 +325 ns: Info: MY_LOG: Token for destination router 2 passed to Router 1 +325 ns: Info: MY_LOG: Router 2: Received transaction with data: 28 from Router 3 after a delay of:30 ns +325 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 28 to core 3 +325 ns: Info: MY_LOG: Core 3 of parent Router: 2: Processing transaction and received data: 28 +325 ns: Info: MY_LOG: Router router2: Core 3 completed transaction, data: 28 +325 ns: Info: MY_LOG: Router 3 added to queue for semaphore 0 +325 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 68 +325 ns: Info: MY_LOG: Token for destination router 2 granted to Router 1 +325 ns: Info: MY_LOG: router1 forwarded data: 7 to Router_2 +330 ns: Info: MY_LOG: Router 0 released token for destination router 3 +330 ns: Info: MY_LOG: Router 3: Received transaction with data: 95 from Router 0 after a delay of:30 ns +330 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 95 to core 0 +330 ns: Info: MY_LOG: Core 0 of parent Router: 3: Processing transaction and received data: 95 +330 ns: Info: MY_LOG: Router router3: Core 0 completed transaction, data: 95 +330 ns: Info: MY_LOG: Token for destination router 3 granted to Router 0 +330 ns: Info: MY_LOG: router0 forwarded data: 13 to Router_3 +330 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 68 +335 ns: Info: MY_LOG: Router 2 released token for destination router 0 +335 ns: Info: MY_LOG: Token for destination router 0 passed to Router 3 +335 ns: Info: MY_LOG: Router 0: Received transaction with data: 43 from Router 2 after a delay of:20 ns +335 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 43 to core 3 +335 ns: Info: MY_LOG: Core 3 of parent Router: 0: Processing transaction and received data: 43 +335 ns: Info: MY_LOG: Router router0: Core 3 completed transaction, data: 43 +335 ns: Info: MY_LOG: Router 2: Received transaction with data: 7 from Router 1 after a delay of:10 ns +335 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 7 to core 1 +335 ns: Info: MY_LOG: Core 1 of parent Router: 2: Processing transaction and received data: 7 +335 ns: Info: MY_LOG: Router router2: Core 1 completed transaction, data: 7 +335 ns: Info: MY_LOG: Router 2 added to queue for semaphore 0 +335 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 25 +335 ns: Info: MY_LOG: Router 1 released token for destination router 2 +335 ns: Info: MY_LOG: Token for destination router 2 granted to Router 1 +335 ns: Info: MY_LOG: router1 forwarded data: 50 to Router_2 +335 ns: Info: MY_LOG: Token for destination router 0 granted to Router 3 +335 ns: Info: MY_LOG: router3 forwarded data: 68 to Router_0 +340 ns: Info: MY_LOG: Updated owner of semaphore 1 to Router 0 +340 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 25 +345 ns: Info: MY_LOG: Router 1 released token for destination router 2 +345 ns: Info: MY_LOG: Router 2: Received transaction with data: 50 from Router 1 after a delay of:10 ns +345 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 50 to core 1 +345 ns: Info: MY_LOG: Core 1 of parent Router: 2: Processing transaction and received data: 50 +345 ns: Info: MY_LOG: Router router2: Core 1 completed transaction, data: 50 +345 ns: Info: MY_LOG: Router 0: Received transaction with data: 68 from Router 3 after a delay of:10 ns +345 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 68 to core 1 +345 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 68 +345 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 68 +345 ns: Info: MY_LOG: Router 1 added to queue for semaphore 0 +345 ns: Info: MY_LOG: Router router1: Semaphore for Router_0 is unavailable. Retrying with data: 20 +345 ns: Info: MY_LOG: Router 3 released token for destination router 0 +345 ns: Info: MY_LOG: Token for destination router 0 passed to Router 2 +345 ns: Info: MY_LOG: Token for destination router 2 granted to Router 3 +345 ns: Info: MY_LOG: router3 forwarded data: 85 to Router_2 +345 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 +345 ns: Info: MY_LOG: router2 forwarded data: 25 to Router_0 +350 ns: Info: MY_LOG: Router router1: Semaphore for Router_0 is unavailable. Retrying with data: 20 +355 ns: Info: MY_LOG: Router router1: Semaphore for Router_0 is unavailable. Retrying with data: 20 +360 ns: Info: MY_LOG: Router 0 released token for destination router 3 +360 ns: Info: MY_LOG: Router 3: Received transaction with data: 13 from Router 0 after a delay of:30 ns +360 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 13 to core 0 +360 ns: Info: MY_LOG: Core 0 of parent Router: 3: Processing transaction and received data: 13 +360 ns: Info: MY_LOG: Router router3: Core 0 completed transaction, data: 13 +360 ns: Info: MY_LOG: Token for destination router 1 granted to Router 0 +360 ns: Info: MY_LOG: router0 forwarded data: 31 to Router_1 +360 ns: Info: MY_LOG: Updated owner of semaphore 3 to Router 1 +360 ns: Info: MY_LOG: Router router1: Semaphore for Router_0 is unavailable. Retrying with data: 20 +365 ns: Info: MY_LOG: Router 2 released token for destination router 0 +365 ns: Info: MY_LOG: Token for destination router 0 passed to Router 1 +365 ns: Info: MY_LOG: Router 0: Received transaction with data: 25 from Router 2 after a delay of:20 ns +365 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 25 to core 1 +365 ns: Info: MY_LOG: Core 1 of parent Router: 0: Processing transaction and received data: 25 +365 ns: Info: MY_LOG: Router router0: Core 1 completed transaction, data: 25 +365 ns: Info: MY_LOG: Token for destination router 3 granted to Router 2 +365 ns: Info: MY_LOG: router2 forwarded data: 9 to Router_3 +365 ns: Info: MY_LOG: Token for destination router 0 granted to Router 1 +365 ns: Info: MY_LOG: router1 forwarded data: 20 to Router_0 +370 ns: Info: MY_LOG: Router 0 released token for destination router 1 +370 ns: Info: MY_LOG: Router 1: Received transaction with data: 31 from Router 0 after a delay of:10 ns +370 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 31 to core 0 +370 ns: Info: MY_LOG: Core 0 of parent Router: 1: Processing transaction and received data: 31 +370 ns: Info: MY_LOG: Router router1: Core 0 completed transaction, data: 31 +370 ns: Info: MY_LOG: Router 0 added to queue for semaphore 2 +370 ns: Info: MY_LOG: Router router0: Semaphore for Router_2 is unavailable. Retrying with data: 92 +375 ns: Info: MY_LOG: Router 3 released token for destination router 2 +375 ns: Info: MY_LOG: Token for destination router 2 passed to Router 0 +375 ns: Info: MY_LOG: Router 2: Received transaction with data: 85 from Router 3 after a delay of:30 ns +375 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 85 to core 0 +375 ns: Info: MY_LOG: Core 0 of parent Router: 2: Processing transaction and received data: 85 +375 ns: Info: MY_LOG: Router router2: Core 0 completed transaction, data: 85 +375 ns: Info: MY_LOG: Router 3: Received transaction with data: 9 from Router 2 after a delay of:10 ns +375 ns: Info: MY_LOG: Router router3: Forwarding transaction with data: 9 to core 3 +375 ns: Info: MY_LOG: Core 3 of parent Router: 3: Processing transaction and received data: 9 +375 ns: Info: MY_LOG: Router router3: Core 3 completed transaction, data: 9 +375 ns: Info: MY_LOG: Token for destination router 1 granted to Router 3 +375 ns: Info: MY_LOG: router3 forwarded data: 7 to Router_1 +375 ns: Info: MY_LOG: Router 2 released token for destination router 3 +375 ns: Info: MY_LOG: Router 2 added to queue for semaphore 0 +375 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 20 +375 ns: Info: MY_LOG: Token for destination router 2 granted to Router 0 +375 ns: Info: MY_LOG: router0 forwarded data: 92 to Router_2 +380 ns: Info: MY_LOG: Updated owner of semaphore 3 to Router 3 +380 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 20 +385 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 20 +390 ns: Info: MY_LOG: Router router2: Semaphore for Router_0 is unavailable. Retrying with data: 20 +395 ns: Info: MY_LOG: Router 3 released token for destination router 1 +395 ns: Info: MY_LOG: Router 1: Received transaction with data: 7 from Router 3 after a delay of:20 ns +395 ns: Info: MY_LOG: Router router1: Forwarding transaction with data: 7 to core 2 +395 ns: Info: MY_LOG: Core 2 of parent Router: 1: Processing transaction and received data: 7 +395 ns: Info: MY_LOG: Router router1: Core 2 completed transaction, data: 7 +395 ns: Info: MY_LOG: Router 0: Received transaction with data: 20 from Router 1 after a delay of:30 ns +395 ns: Info: MY_LOG: Router router0: Forwarding transaction with data: 20 to core 2 +395 ns: Info: MY_LOG: Core 2 of parent Router: 0: Processing transaction and received data: 20 +395 ns: Info: MY_LOG: Router router0: Core 2 completed transaction, data: 20 +395 ns: Info: MY_LOG: Router 2: Received transaction with data: 92 from Router 0 after a delay of:20 ns +395 ns: Info: MY_LOG: Router router2: Forwarding transaction with data: 92 to core 1 +395 ns: Info: MY_LOG: Core 1 of parent Router: 2: Processing transaction and received data: 92 +395 ns: Info: MY_LOG: Router router2: Core 1 completed transaction, data: 92 +395 ns: Info: MY_LOG: Router 3 added to queue for semaphore 0 +395 ns: Info: MY_LOG: Router router3: Semaphore for Router_0 is unavailable. Retrying with data: 87 +395 ns: Info: MY_LOG: Router 1 released token for destination router 0 +395 ns: Info: MY_LOG: Token for destination router 0 passed to Router 2 +395 ns: Info: MY_LOG: Token for destination router 3 granted to Router 1 +395 ns: Info: MY_LOG: router1 forwarded data: 40 to Router_3 +395 ns: Info: MY_LOG: Router 0 released token for destination router 2 +395 ns: Info: MY_LOG: Token for destination router 0 granted to Router 2 +395 ns: Info: MY_LOG: router2 forwarded data: 20 to Router_0 diff --git a/src/router.cpp b/src/router.cpp index 029e48d..2f3e186 100644 --- a/src/router.cpp +++ b/src/router.cpp @@ -106,7 +106,7 @@ void router::process_core_fifo() { sem_mgr->release_token(router_id, destination_router_id); } else { - log_info("Router " + std::string(name()) + ": Destination router's out_fifo full. Retrying with data:" + std::to_string(payload->data)); + log_info("Router " + std::string(name()) + ": Destination router Router_" + std::to_string(destination_router_id) + "'s out_fifo full. Retrying with data: " + std::to_string(payload->data)); other_sems[destination_router_id]->post(); // Release the semaphore sem_mgr->release_token(router_id, destination_router_id); // Release and retry wait(sc_time(5, SC_NS)); // Wait before retrying @@ -115,7 +115,7 @@ void router::process_core_fifo() { } else { - log_info("Router " + std::string(name()) + ": Semaphore unavailable. Retrying with data:" + std::to_string(payload->data)); + log_info("Router " + std::string(name()) + ": Semaphore for Router_" + std::to_string(destination_router_id) + " is unavailable. Retrying with data: " + std::to_string(payload->data)); wait(sc_time(5, SC_NS)); // Wait before retrying } }