diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ce1ab28 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,72 @@ +{ + "C_Cpp.errorSquiggles": "disabled", + "files.associations": { + "*.embeddedhtml": "html", + "algorithm": "cpp", + "array": "cpp", + "atomic": "cpp", + "bit": "cpp", + "cctype": "cpp", + "charconv": "cpp", + "clocale": "cpp", + "cmath": "cpp", + "compare": "cpp", + "concepts": "cpp", + "cstddef": "cpp", + "cstdint": "cpp", + "cstdio": "cpp", + "cstdlib": "cpp", + "cstring": "cpp", + "ctime": "cpp", + "cwchar": "cpp", + "deque": "cpp", + "exception": "cpp", + "format": "cpp", + "fstream": "cpp", + "initializer_list": "cpp", + "ios": "cpp", + "iosfwd": "cpp", + "iostream": "cpp", + "istream": "cpp", + "iterator": "cpp", + "limits": "cpp", + "list": "cpp", + "locale": "cpp", + "memory": "cpp", + "mutex": "cpp", + "new": "cpp", + "optional": "cpp", + "ostream": "cpp", + "queue": "cpp", + "ranges": "cpp", + "ratio": "cpp", + "span": "cpp", + "sstream": "cpp", + "stdexcept": "cpp", + "stop_token": "cpp", + "streambuf": "cpp", + "string": "cpp", + "system_error": "cpp", + "thread": "cpp", + "tuple": "cpp", + "type_traits": "cpp", + "typeinfo": "cpp", + "unordered_set": "cpp", + "utility": "cpp", + "vector": "cpp", + "xfacet": "cpp", + "xhash": "cpp", + "xiosbase": "cpp", + "xlocale": "cpp", + "xlocbuf": "cpp", + "xlocinfo": "cpp", + "xlocmes": "cpp", + "xlocmon": "cpp", + "xlocnum": "cpp", + "xloctime": "cpp", + "xmemory": "cpp", + "xstring": "cpp", + "xtr1common": "cpp", + "xutility": "cpp" + } +} \ No newline at end of file diff --git a/README.md b/README.md index d57b13d..d4c3739 100644 --- a/README.md +++ b/README.md @@ -46,11 +46,11 @@ SPACX - PE - Processing_Element.h - Processing_Element.cpp -- Utils - - configuration.h - - noc_logger.h - - noc_logger.cpp - - token_manager.h + - Utils + - configuration.h + - noc_logger.h + - noc_logger.cpp + - token_manager.h - scripts - input_feature.py - weight_kernal.py @@ -90,40 +90,40 @@ The log files are in 1. SPACX Overview: SPACX leverages photonic interconnects for efficient data communication in chiplet-based architectures, focusing on the needs of DNN inference, such as broadcast communication. It uses a hierarchical design: -• Global waveguide: Connects all chiplets. -• Local waveguide: Exists within each chiplet for intra-chiplet communication. +- Global waveguide: Connects all chiplets. +- Local waveguide: Exists within each chiplet for intra-chiplet communication. 2. Key Components: Chiplets and Processing Elements (PEs): -• Each chiplet has multiple PEs (e.g., 8 per chiplet in the example). -• PEs perform computations like Multiply-and-Accumulate (MAC) for DNN workloads. -• Each PE has: - o Two receivers for incoming broadcast data (local and global). - o One transmitter for sending computed results back to the global buffer (GB). +- Each chiplet has multiple PEs (e.g., 8 per chiplet in the example). +- PEs perform computations like Multiply-and-Accumulate (MAC) for DNN workloads. +- Each PE has: + - Two receivers for incoming broadcast data (local and global). + - One transmitter for sending computed results back to the global buffer (GB). Wavelengths and Waveguides: -• Data transmission uses wavelength-division multiplexing (WDM). -• Wavelength allocation: - o Global (cross-chiplet) wavelengths: Used for broadcasting the same data to corresponding PEs across all chiplets. - o Local (single-chiplet) wavelengths: Used for intra-chiplet broadcasts and communication between chiplet PEs and the GB. +- Data transmission uses wavelength-division multiplexing (WDM). +- Wavelength allocation: + - Global (cross-chiplet) wavelengths: Used for broadcasting the same data to corresponding PEs across all chiplets. + - Local (single-chiplet) wavelengths: Used for intra-chiplet broadcasts and communication between chiplet PEs and the GB. Optical Splitters and Filters: -• Optical splitters: Split light (data) across multiple destinations by controlling the split ratio. Used for broadcasts. -• Optical filters: Select or forward specific wavelengths for targeted communication. +- Optical splitters: Split light (data) across multiple destinations by controlling the split ratio. Used for broadcasts. +- Optical filters: Select or forward specific wavelengths for targeted communication. 3. Communication Mechanisms: A. Cross-Chiplet Broadcast (Global Waveguide): -• Example: Data for PE0 across all chiplets is sent using wavelength λ0. -• Process: - o The GB modulates data onto λ0. - o Splitters in the global waveguide distribute power to each chiplet's local waveguide. - o Local waveguides deliver the data to PE0 on each chiplet. +- Example: Data for PE0 across all chiplets is sent using wavelength λ0. +- Process: + - The GB modulates data onto λ0. + - Splitters in the global waveguide distribute power to each chiplet's local waveguide. + - Local waveguides deliver the data to PE0 on each chiplet. B. Single-Chiplet Broadcast (Local Waveguide): -• Example: Data for all PEs within a single chiplet (e.g., Chiplet0) is sent using wavelength λ8. -• Process: - o The GB modulates data onto λ8. - o Optical filters direct all power of λ8 from the global waveguide to the local waveguide. - o Splitters on the local waveguide evenly distribute data to all PEs within Chiplet0. +- Example: Data for all PEs within a single chiplet (e.g., Chiplet0) is sent using wavelength λ8. +- Process: + - The GB modulates data onto λ8. + - Optical filters direct all power of λ8 from the global waveguide to the local waveguide. + - Splitters on the local waveguide evenly distribute data to all PEs within Chiplet0. C. PE-to-GB Communication: -• Each chiplet's PEs share a single wavelength for sending computed results back to the GB (e.g. λ8 for Chiplet0). -• Token-based arbitration ensures orderly transmission: - o A token is passed sequentially among PEs, granting transmission access to one PE at a time. +- Each chiplet's PEs share a single wavelength for sending computed results back to the GB (e.g. λ8 for Chiplet0). +- Token-based arbitration ensures orderly transmission: + - A token is passed sequentially among PEs, granting transmission access to one PE at a time. diff --git a/input_features.txt b/input_features.txt index 5c73817..bc92539 100644 --- a/input_features.txt +++ b/input_features.txt @@ -1,29 +1,29 @@ -55 37 -74 45 +45 68 +34 61 -67 74 -90 52 +40 98 +30 89 -12 12 -7 55 +48 83 +48 80 -27 98 -70 39 +67 29 +80 29 -38 24 -29 11 +69 28 +32 77 -12 44 -36 70 +90 65 +85 99 -65 39 -29 35 +11 25 +65 98 -67 27 -42 81 +21 68 +16 22 -24 91 -69 52 +32 55 +81 58 -63 74 -77 24 +38 62 +61 39 diff --git a/obj/Chiplet_Interface.o b/obj/Chiplet_Interface.o index 701bcc8..12e42e0 100644 Binary files a/obj/Chiplet_Interface.o and b/obj/Chiplet_Interface.o differ diff --git a/obj/Global_Buffer.o b/obj/Global_Buffer.o index f93cfbc..663214c 100644 Binary files a/obj/Global_Buffer.o and b/obj/Global_Buffer.o differ diff --git a/obj/Interposer_Interface.o b/obj/Interposer_Interface.o index 327cab1..9755e25 100644 Binary files a/obj/Interposer_Interface.o and b/obj/Interposer_Interface.o differ diff --git a/obj/O_E_converter.o b/obj/O_E_converter.o index a5f9ea7..bedda44 100644 Binary files a/obj/O_E_converter.o and b/obj/O_E_converter.o differ diff --git a/obj/Processing_Element.o b/obj/Processing_Element.o index 65c8a0e..8939d33 100644 Binary files a/obj/Processing_Element.o and b/obj/Processing_Element.o differ diff --git a/out/chiplet_comm.log b/out/chiplet_comm.log index a467176..c12cf7c 100644 --- a/out/chiplet_comm.log +++ b/out/chiplet_comm.log @@ -1,120 +1,120 @@ -0 s: INFO: ChipletInterface: 0 Received input feature: 3 with Wavelength: 4 -0 s: INFO: ChipletInterface: 0 Forwarding input features: 3 with Wavelength: 4 to Optical to Electrical Converter: 0 -0 s: INFO: ChipletInterface: 0 Forwarding input features: 3 with Wavelength: 4 to Optical to Electrical Converter: 1 -0 s: INFO: ChipletInterface: 0 Forwarding input features: 3 with Wavelength: 4 to Optical to Electrical Converter: 2 -0 s: INFO: ChipletInterface: 0 Forwarding input features: 3 with Wavelength: 4 to Optical to Electrical Converter: 3 -0 s: INFO: ChipletInterface: 0 Transaction of input feature 3 completed successfully from Chiplet Interface: 0 to OEC -0 s: INFO: ChipletInterface: 0 Received Weight Kernal: 3 with Wavelength: 0 -0 s: INFO: ChipletInterface: 0 Forwarding Weight Kernal: 3 with Wavelength: 0 to Optical to Electrical Converter -0 s: INFO: ChipletInterface: 0 Transaction of weight kernal3 completed successfully from Chiplet Interface: 0 to OEC -0 s: INFO: ChipletInterface: 1 Received Weight Kernal: 3 with Wavelength: 0 -0 s: INFO: ChipletInterface: 1 Forwarding Weight Kernal: 3 with Wavelength: 0 to Optical to Electrical Converter -0 s: INFO: ChipletInterface: 1 Transaction of weight kernal3 completed successfully from Chiplet Interface: 1 to OEC -0 s: INFO: ChipletInterface: 2 Received Weight Kernal: 3 with Wavelength: 0 -0 s: INFO: ChipletInterface: 2 Forwarding Weight Kernal: 3 with Wavelength: 0 to Optical to Electrical Converter -0 s: INFO: ChipletInterface: 2 Transaction of weight kernal3 completed successfully from Chiplet Interface: 2 to OEC -0 s: INFO: ChipletInterface: 3 Received Weight Kernal: 3 with Wavelength: 0 -0 s: INFO: ChipletInterface: 3 Forwarding Weight Kernal: 3 with Wavelength: 0 to Optical to Electrical Converter -0 s: INFO: ChipletInterface: 3 Transaction of weight kernal3 completed successfully from Chiplet Interface: 3 to OEC -0 s: INFO: ChipletInterface: 0 Chiplet Interface received PSUM from PE: 0 through OEC with data: 9 -0 s: INFO: ChipletInterface: 0 Forwarding the PSUM 9 from PE: 0 to Interposer interface: 0 -0 s: INFO: ChipletInterface: 0 PSUM Transaction: 9 completed successfully from Chiplet Interface: 0 to Interposer Interface -10 ns: INFO: ChipletInterface: 1 Received input feature: 72 with Wavelength: 5 -10 ns: INFO: ChipletInterface: 1 Forwarding input features: 72 with Wavelength: 5 to Optical to Electrical Converter: 0 -10 ns: INFO: ChipletInterface: 1 Forwarding input features: 72 with Wavelength: 5 to Optical to Electrical Converter: 1 -10 ns: INFO: ChipletInterface: 1 Forwarding input features: 72 with Wavelength: 5 to Optical to Electrical Converter: 2 -10 ns: INFO: ChipletInterface: 1 Forwarding input features: 72 with Wavelength: 5 to Optical to Electrical Converter: 3 -10 ns: INFO: ChipletInterface: 1 Transaction of input feature 72 completed successfully from Chiplet Interface: 1 to OEC -10 ns: INFO: ChipletInterface: 1 Chiplet Interface received PSUM from PE: 0 through OEC with data: 216 -10 ns: INFO: ChipletInterface: 1 Forwarding the PSUM 216 from PE: 0 to Interposer interface: 1 -10 ns: INFO: ChipletInterface: 1 PSUM Transaction: 216 completed successfully from Chiplet Interface: 1 to Interposer Interface -15 ns: INFO: ChipletInterface: 0 Received Weight Kernal: 90 with Wavelength: 1 -15 ns: INFO: ChipletInterface: 0 Forwarding Weight Kernal: 90 with Wavelength: 1 to Optical to Electrical Converter -15 ns: INFO: ChipletInterface: 0 Transaction of weight kernal90 completed successfully from Chiplet Interface: 0 to OEC -15 ns: INFO: ChipletInterface: 1 Received Weight Kernal: 90 with Wavelength: 1 -15 ns: INFO: ChipletInterface: 1 Forwarding Weight Kernal: 90 with Wavelength: 1 to Optical to Electrical Converter -15 ns: INFO: ChipletInterface: 1 Transaction of weight kernal90 completed successfully from Chiplet Interface: 1 to OEC -15 ns: INFO: ChipletInterface: 2 Received Weight Kernal: 90 with Wavelength: 1 -15 ns: INFO: ChipletInterface: 2 Forwarding Weight Kernal: 90 with Wavelength: 1 to Optical to Electrical Converter -15 ns: INFO: ChipletInterface: 2 Transaction of weight kernal90 completed successfully from Chiplet Interface: 2 to OEC -15 ns: INFO: ChipletInterface: 3 Received Weight Kernal: 90 with Wavelength: 1 -15 ns: INFO: ChipletInterface: 3 Forwarding Weight Kernal: 90 with Wavelength: 1 to Optical to Electrical Converter -15 ns: INFO: ChipletInterface: 3 Transaction of weight kernal90 completed successfully from Chiplet Interface: 3 to OEC -15 ns: INFO: ChipletInterface: 1 Chiplet Interface received PSUM from PE: 1 through OEC with data: 6480 -15 ns: INFO: ChipletInterface: 1 Forwarding the PSUM 6480 from PE: 1 to Interposer interface: 1 -15 ns: INFO: ChipletInterface: 1 PSUM Transaction: 6480 completed successfully from Chiplet Interface: 1 to Interposer Interface -15 ns: INFO: ChipletInterface: 0 Chiplet Interface received PSUM from PE: 1 through OEC with data: 270 -15 ns: INFO: ChipletInterface: 0 Forwarding the PSUM 270 from PE: 1 to Interposer interface: 0 -15 ns: INFO: ChipletInterface: 0 PSUM Transaction: 270 completed successfully from Chiplet Interface: 0 to Interposer Interface -20 ns: INFO: ChipletInterface: 2 Received input feature: 52 with Wavelength: 6 -20 ns: INFO: ChipletInterface: 2 Forwarding input features: 52 with Wavelength: 6 to Optical to Electrical Converter: 0 -20 ns: INFO: ChipletInterface: 2 Forwarding input features: 52 with Wavelength: 6 to Optical to Electrical Converter: 1 -20 ns: INFO: ChipletInterface: 2 Forwarding input features: 52 with Wavelength: 6 to Optical to Electrical Converter: 2 -20 ns: INFO: ChipletInterface: 2 Forwarding input features: 52 with Wavelength: 6 to Optical to Electrical Converter: 3 -20 ns: INFO: ChipletInterface: 2 Transaction of input feature 52 completed successfully from Chiplet Interface: 2 to OEC -20 ns: INFO: ChipletInterface: 2 Chiplet Interface received PSUM from PE: 0 through OEC with data: 156 -20 ns: INFO: ChipletInterface: 2 Forwarding the PSUM 156 from PE: 0 to Interposer interface: 2 -20 ns: INFO: ChipletInterface: 2 PSUM Transaction: 156 completed successfully from Chiplet Interface: 2 to Interposer Interface -20 ns: INFO: ChipletInterface: 2 Chiplet Interface received PSUM from PE: 1 through OEC with data: 4680 -20 ns: INFO: ChipletInterface: 2 Forwarding the PSUM 4680 from PE: 1 to Interposer interface: 2 -20 ns: INFO: ChipletInterface: 2 PSUM Transaction: 4680 completed successfully from Chiplet Interface: 2 to Interposer Interface -30 ns: INFO: ChipletInterface: 0 Received Weight Kernal: 35 with Wavelength: 2 -30 ns: INFO: ChipletInterface: 0 Forwarding Weight Kernal: 35 with Wavelength: 2 to Optical to Electrical Converter -30 ns: INFO: ChipletInterface: 0 Transaction of weight kernal35 completed successfully from Chiplet Interface: 0 to OEC -30 ns: INFO: ChipletInterface: 1 Received Weight Kernal: 35 with Wavelength: 2 -30 ns: INFO: ChipletInterface: 1 Forwarding Weight Kernal: 35 with Wavelength: 2 to Optical to Electrical Converter -30 ns: INFO: ChipletInterface: 1 Transaction of weight kernal35 completed successfully from Chiplet Interface: 1 to OEC -30 ns: INFO: ChipletInterface: 2 Received Weight Kernal: 35 with Wavelength: 2 -30 ns: INFO: ChipletInterface: 2 Forwarding Weight Kernal: 35 with Wavelength: 2 to Optical to Electrical Converter -30 ns: INFO: ChipletInterface: 2 Transaction of weight kernal35 completed successfully from Chiplet Interface: 2 to OEC -30 ns: INFO: ChipletInterface: 3 Received Weight Kernal: 35 with Wavelength: 2 -30 ns: INFO: ChipletInterface: 3 Forwarding Weight Kernal: 35 with Wavelength: 2 to Optical to Electrical Converter -30 ns: INFO: ChipletInterface: 3 Transaction of weight kernal35 completed successfully from Chiplet Interface: 3 to OEC -30 ns: INFO: ChipletInterface: 3 Received input feature: 13 with Wavelength: 7 -30 ns: INFO: ChipletInterface: 3 Forwarding input features: 13 with Wavelength: 7 to Optical to Electrical Converter: 0 -30 ns: INFO: ChipletInterface: 3 Forwarding input features: 13 with Wavelength: 7 to Optical to Electrical Converter: 1 -30 ns: INFO: ChipletInterface: 3 Forwarding input features: 13 with Wavelength: 7 to Optical to Electrical Converter: 2 -30 ns: INFO: ChipletInterface: 3 Forwarding input features: 13 with Wavelength: 7 to Optical to Electrical Converter: 3 -30 ns: INFO: ChipletInterface: 3 Transaction of input feature 13 completed successfully from Chiplet Interface: 3 to OEC -30 ns: INFO: ChipletInterface: 3 Chiplet Interface received PSUM from PE: 0 through OEC with data: 39 -30 ns: INFO: ChipletInterface: 3 Forwarding the PSUM 39 from PE: 0 to Interposer interface: 3 -30 ns: INFO: ChipletInterface: 3 PSUM Transaction: 39 completed successfully from Chiplet Interface: 3 to Interposer Interface -30 ns: INFO: ChipletInterface: 2 Chiplet Interface received PSUM from PE: 2 through OEC with data: 1820 -30 ns: INFO: ChipletInterface: 2 Forwarding the PSUM 1820 from PE: 2 to Interposer interface: 2 -30 ns: INFO: ChipletInterface: 2 PSUM Transaction: 1820 completed successfully from Chiplet Interface: 2 to Interposer Interface -30 ns: INFO: ChipletInterface: 1 Chiplet Interface received PSUM from PE: 2 through OEC with data: 2520 -30 ns: INFO: ChipletInterface: 1 Forwarding the PSUM 2520 from PE: 2 to Interposer interface: 1 -30 ns: INFO: ChipletInterface: 1 PSUM Transaction: 2520 completed successfully from Chiplet Interface: 1 to Interposer Interface -30 ns: INFO: ChipletInterface: 0 Chiplet Interface received PSUM from PE: 2 through OEC with data: 105 -30 ns: INFO: ChipletInterface: 0 Forwarding the PSUM 105 from PE: 2 to Interposer interface: 0 -30 ns: INFO: ChipletInterface: 0 PSUM Transaction: 105 completed successfully from Chiplet Interface: 0 to Interposer Interface -30 ns: INFO: ChipletInterface: 3 Chiplet Interface received PSUM from PE: 1 through OEC with data: 1170 -30 ns: INFO: ChipletInterface: 3 Forwarding the PSUM 1170 from PE: 1 to Interposer interface: 3 -30 ns: INFO: ChipletInterface: 3 PSUM Transaction: 1170 completed successfully from Chiplet Interface: 3 to Interposer Interface -30 ns: INFO: ChipletInterface: 3 Chiplet Interface received PSUM from PE: 2 through OEC with data: 455 -30 ns: INFO: ChipletInterface: 3 Forwarding the PSUM 455 from PE: 2 to Interposer interface: 3 -30 ns: INFO: ChipletInterface: 3 PSUM Transaction: 455 completed successfully from Chiplet Interface: 3 to Interposer Interface -45 ns: INFO: ChipletInterface: 0 Received Weight Kernal: 24 with Wavelength: 3 -45 ns: INFO: ChipletInterface: 0 Forwarding Weight Kernal: 24 with Wavelength: 3 to Optical to Electrical Converter -45 ns: INFO: ChipletInterface: 0 Transaction of weight kernal24 completed successfully from Chiplet Interface: 0 to OEC -45 ns: INFO: ChipletInterface: 1 Received Weight Kernal: 24 with Wavelength: 3 -45 ns: INFO: ChipletInterface: 1 Forwarding Weight Kernal: 24 with Wavelength: 3 to Optical to Electrical Converter -45 ns: INFO: ChipletInterface: 1 Transaction of weight kernal24 completed successfully from Chiplet Interface: 1 to OEC -45 ns: INFO: ChipletInterface: 2 Received Weight Kernal: 24 with Wavelength: 3 -45 ns: INFO: ChipletInterface: 2 Forwarding Weight Kernal: 24 with Wavelength: 3 to Optical to Electrical Converter -45 ns: INFO: ChipletInterface: 2 Transaction of weight kernal24 completed successfully from Chiplet Interface: 2 to OEC -45 ns: INFO: ChipletInterface: 3 Received Weight Kernal: 24 with Wavelength: 3 -45 ns: INFO: ChipletInterface: 3 Forwarding Weight Kernal: 24 with Wavelength: 3 to Optical to Electrical Converter -45 ns: INFO: ChipletInterface: 3 Transaction of weight kernal24 completed successfully from Chiplet Interface: 3 to OEC -45 ns: INFO: ChipletInterface: 3 Chiplet Interface received PSUM from PE: 3 through OEC with data: 312 -45 ns: INFO: ChipletInterface: 3 Forwarding the PSUM 312 from PE: 3 to Interposer interface: 3 -45 ns: INFO: ChipletInterface: 3 PSUM Transaction: 312 completed successfully from Chiplet Interface: 3 to Interposer Interface -45 ns: INFO: ChipletInterface: 2 Chiplet Interface received PSUM from PE: 3 through OEC with data: 1248 -45 ns: INFO: ChipletInterface: 2 Forwarding the PSUM 1248 from PE: 3 to Interposer interface: 2 -45 ns: INFO: ChipletInterface: 2 PSUM Transaction: 1248 completed successfully from Chiplet Interface: 2 to Interposer Interface -45 ns: INFO: ChipletInterface: 1 Chiplet Interface received PSUM from PE: 3 through OEC with data: 1728 -45 ns: INFO: ChipletInterface: 1 Forwarding the PSUM 1728 from PE: 3 to Interposer interface: 1 -45 ns: INFO: ChipletInterface: 1 PSUM Transaction: 1728 completed successfully from Chiplet Interface: 1 to Interposer Interface -45 ns: INFO: ChipletInterface: 0 Chiplet Interface received PSUM from PE: 3 through OEC with data: 72 -45 ns: INFO: ChipletInterface: 0 Forwarding the PSUM 72 from PE: 3 to Interposer interface: 0 -45 ns: INFO: ChipletInterface: 0 PSUM Transaction: 72 completed successfully from Chiplet Interface: 0 to Interposer Interface +0 s: INFO: ChipletInterface: 0 Received input feature: 27 with Wavelength: 4 +0 s: INFO: ChipletInterface: 0 Forwarding input features: 27 with Wavelength: 4 to Optical to Electrical Converter: 0 +0 s: INFO: ChipletInterface: 0 Forwarding input features: 27 with Wavelength: 4 to Optical to Electrical Converter: 1 +0 s: INFO: ChipletInterface: 0 Forwarding input features: 27 with Wavelength: 4 to Optical to Electrical Converter: 2 +0 s: INFO: ChipletInterface: 0 Forwarding input features: 27 with Wavelength: 4 to Optical to Electrical Converter: 3 +0 s: INFO: ChipletInterface: 0 Transaction of input feature 27 completed successfully from Chiplet Interface: 0 to OEC +0 s: INFO: ChipletInterface: 0 Received Weight Kernal: 27 with Wavelength: 0 +0 s: INFO: ChipletInterface: 0 Forwarding Weight Kernal: 27 with Wavelength: 0 to Optical to Electrical Converter: 0 +0 s: INFO: ChipletInterface: 0 Transaction of weight kernal27 completed successfully from Chiplet Interface: 0 to OEC +0 s: INFO: ChipletInterface: 1 Received Weight Kernal: 27 with Wavelength: 0 +0 s: INFO: ChipletInterface: 1 Forwarding Weight Kernal: 27 with Wavelength: 0 to Optical to Electrical Converter: 0 +0 s: INFO: ChipletInterface: 1 Transaction of weight kernal27 completed successfully from Chiplet Interface: 1 to OEC +0 s: INFO: ChipletInterface: 2 Received Weight Kernal: 27 with Wavelength: 0 +0 s: INFO: ChipletInterface: 2 Forwarding Weight Kernal: 27 with Wavelength: 0 to Optical to Electrical Converter: 0 +0 s: INFO: ChipletInterface: 2 Transaction of weight kernal27 completed successfully from Chiplet Interface: 2 to OEC +0 s: INFO: ChipletInterface: 3 Received Weight Kernal: 27 with Wavelength: 0 +0 s: INFO: ChipletInterface: 3 Forwarding Weight Kernal: 27 with Wavelength: 0 to Optical to Electrical Converter: 0 +0 s: INFO: ChipletInterface: 3 Transaction of weight kernal27 completed successfully from Chiplet Interface: 3 to OEC +0 s: INFO: ChipletInterface: 0 Chiplet Interface received PSUM from PE: 0 through OEC with data: 729 +0 s: INFO: ChipletInterface: 0 Forwarding the PSUM 729 from PE: 0 to Interposer interface: 0 +0 s: INFO: ChipletInterface: 0 PSUM Transaction: 729 completed successfully from Chiplet Interface: 0 to Interposer Interface +10 ns: INFO: ChipletInterface: 1 Received input feature: 66 with Wavelength: 5 +10 ns: INFO: ChipletInterface: 1 Forwarding input features: 66 with Wavelength: 5 to Optical to Electrical Converter: 0 +10 ns: INFO: ChipletInterface: 1 Forwarding input features: 66 with Wavelength: 5 to Optical to Electrical Converter: 1 +10 ns: INFO: ChipletInterface: 1 Forwarding input features: 66 with Wavelength: 5 to Optical to Electrical Converter: 2 +10 ns: INFO: ChipletInterface: 1 Forwarding input features: 66 with Wavelength: 5 to Optical to Electrical Converter: 3 +10 ns: INFO: ChipletInterface: 1 Transaction of input feature 66 completed successfully from Chiplet Interface: 1 to OEC +10 ns: INFO: ChipletInterface: 1 Chiplet Interface received PSUM from PE: 0 through OEC with data: 1782 +10 ns: INFO: ChipletInterface: 1 Forwarding the PSUM 1782 from PE: 0 to Interposer interface: 1 +10 ns: INFO: ChipletInterface: 1 PSUM Transaction: 1782 completed successfully from Chiplet Interface: 1 to Interposer Interface +15 ns: INFO: ChipletInterface: 0 Received Weight Kernal: 0 with Wavelength: 1 +15 ns: INFO: ChipletInterface: 0 Forwarding Weight Kernal: 0 with Wavelength: 1 to Optical to Electrical Converter: 1 +15 ns: INFO: ChipletInterface: 0 Transaction of weight kernal0 completed successfully from Chiplet Interface: 0 to OEC +15 ns: INFO: ChipletInterface: 1 Received Weight Kernal: 0 with Wavelength: 1 +15 ns: INFO: ChipletInterface: 1 Forwarding Weight Kernal: 0 with Wavelength: 1 to Optical to Electrical Converter: 1 +15 ns: INFO: ChipletInterface: 1 Transaction of weight kernal0 completed successfully from Chiplet Interface: 1 to OEC +15 ns: INFO: ChipletInterface: 2 Received Weight Kernal: 0 with Wavelength: 1 +15 ns: INFO: ChipletInterface: 2 Forwarding Weight Kernal: 0 with Wavelength: 1 to Optical to Electrical Converter: 1 +15 ns: INFO: ChipletInterface: 2 Transaction of weight kernal0 completed successfully from Chiplet Interface: 2 to OEC +15 ns: INFO: ChipletInterface: 3 Received Weight Kernal: 0 with Wavelength: 1 +15 ns: INFO: ChipletInterface: 3 Forwarding Weight Kernal: 0 with Wavelength: 1 to Optical to Electrical Converter: 1 +15 ns: INFO: ChipletInterface: 3 Transaction of weight kernal0 completed successfully from Chiplet Interface: 3 to OEC +15 ns: INFO: ChipletInterface: 1 Chiplet Interface received PSUM from PE: 1 through OEC with data: 0 +15 ns: INFO: ChipletInterface: 1 Forwarding the PSUM 0 from PE: 1 to Interposer interface: 1 +15 ns: INFO: ChipletInterface: 1 PSUM Transaction: 0 completed successfully from Chiplet Interface: 1 to Interposer Interface +15 ns: INFO: ChipletInterface: 0 Chiplet Interface received PSUM from PE: 1 through OEC with data: 0 +15 ns: INFO: ChipletInterface: 0 Forwarding the PSUM 0 from PE: 1 to Interposer interface: 0 +15 ns: INFO: ChipletInterface: 0 PSUM Transaction: 0 completed successfully from Chiplet Interface: 0 to Interposer Interface +20 ns: INFO: ChipletInterface: 2 Received input feature: 86 with Wavelength: 6 +20 ns: INFO: ChipletInterface: 2 Forwarding input features: 86 with Wavelength: 6 to Optical to Electrical Converter: 0 +20 ns: INFO: ChipletInterface: 2 Forwarding input features: 86 with Wavelength: 6 to Optical to Electrical Converter: 1 +20 ns: INFO: ChipletInterface: 2 Forwarding input features: 86 with Wavelength: 6 to Optical to Electrical Converter: 2 +20 ns: INFO: ChipletInterface: 2 Forwarding input features: 86 with Wavelength: 6 to Optical to Electrical Converter: 3 +20 ns: INFO: ChipletInterface: 2 Transaction of input feature 86 completed successfully from Chiplet Interface: 2 to OEC +20 ns: INFO: ChipletInterface: 2 Chiplet Interface received PSUM from PE: 0 through OEC with data: 2322 +20 ns: INFO: ChipletInterface: 2 Forwarding the PSUM 2322 from PE: 0 to Interposer interface: 2 +20 ns: INFO: ChipletInterface: 2 PSUM Transaction: 2322 completed successfully from Chiplet Interface: 2 to Interposer Interface +20 ns: INFO: ChipletInterface: 2 Chiplet Interface received PSUM from PE: 1 through OEC with data: 0 +20 ns: INFO: ChipletInterface: 2 Forwarding the PSUM 0 from PE: 1 to Interposer interface: 2 +20 ns: INFO: ChipletInterface: 2 PSUM Transaction: 0 completed successfully from Chiplet Interface: 2 to Interposer Interface +30 ns: INFO: ChipletInterface: 0 Received Weight Kernal: 37 with Wavelength: 2 +30 ns: INFO: ChipletInterface: 0 Forwarding Weight Kernal: 37 with Wavelength: 2 to Optical to Electrical Converter: 2 +30 ns: INFO: ChipletInterface: 0 Transaction of weight kernal37 completed successfully from Chiplet Interface: 0 to OEC +30 ns: INFO: ChipletInterface: 1 Received Weight Kernal: 37 with Wavelength: 2 +30 ns: INFO: ChipletInterface: 1 Forwarding Weight Kernal: 37 with Wavelength: 2 to Optical to Electrical Converter: 2 +30 ns: INFO: ChipletInterface: 1 Transaction of weight kernal37 completed successfully from Chiplet Interface: 1 to OEC +30 ns: INFO: ChipletInterface: 2 Received Weight Kernal: 37 with Wavelength: 2 +30 ns: INFO: ChipletInterface: 2 Forwarding Weight Kernal: 37 with Wavelength: 2 to Optical to Electrical Converter: 2 +30 ns: INFO: ChipletInterface: 2 Transaction of weight kernal37 completed successfully from Chiplet Interface: 2 to OEC +30 ns: INFO: ChipletInterface: 3 Received Weight Kernal: 37 with Wavelength: 2 +30 ns: INFO: ChipletInterface: 3 Forwarding Weight Kernal: 37 with Wavelength: 2 to Optical to Electrical Converter: 2 +30 ns: INFO: ChipletInterface: 3 Transaction of weight kernal37 completed successfully from Chiplet Interface: 3 to OEC +30 ns: INFO: ChipletInterface: 3 Received input feature: 48 with Wavelength: 7 +30 ns: INFO: ChipletInterface: 3 Forwarding input features: 48 with Wavelength: 7 to Optical to Electrical Converter: 0 +30 ns: INFO: ChipletInterface: 3 Forwarding input features: 48 with Wavelength: 7 to Optical to Electrical Converter: 1 +30 ns: INFO: ChipletInterface: 3 Forwarding input features: 48 with Wavelength: 7 to Optical to Electrical Converter: 2 +30 ns: INFO: ChipletInterface: 3 Forwarding input features: 48 with Wavelength: 7 to Optical to Electrical Converter: 3 +30 ns: INFO: ChipletInterface: 3 Transaction of input feature 48 completed successfully from Chiplet Interface: 3 to OEC +30 ns: INFO: ChipletInterface: 3 Chiplet Interface received PSUM from PE: 0 through OEC with data: 1296 +30 ns: INFO: ChipletInterface: 3 Forwarding the PSUM 1296 from PE: 0 to Interposer interface: 3 +30 ns: INFO: ChipletInterface: 3 PSUM Transaction: 1296 completed successfully from Chiplet Interface: 3 to Interposer Interface +30 ns: INFO: ChipletInterface: 2 Chiplet Interface received PSUM from PE: 2 through OEC with data: 3182 +30 ns: INFO: ChipletInterface: 2 Forwarding the PSUM 3182 from PE: 2 to Interposer interface: 2 +30 ns: INFO: ChipletInterface: 2 PSUM Transaction: 3182 completed successfully from Chiplet Interface: 2 to Interposer Interface +30 ns: INFO: ChipletInterface: 1 Chiplet Interface received PSUM from PE: 2 through OEC with data: 2442 +30 ns: INFO: ChipletInterface: 1 Forwarding the PSUM 2442 from PE: 2 to Interposer interface: 1 +30 ns: INFO: ChipletInterface: 1 PSUM Transaction: 2442 completed successfully from Chiplet Interface: 1 to Interposer Interface +30 ns: INFO: ChipletInterface: 0 Chiplet Interface received PSUM from PE: 2 through OEC with data: 999 +30 ns: INFO: ChipletInterface: 0 Forwarding the PSUM 999 from PE: 2 to Interposer interface: 0 +30 ns: INFO: ChipletInterface: 0 PSUM Transaction: 999 completed successfully from Chiplet Interface: 0 to Interposer Interface +30 ns: INFO: ChipletInterface: 3 Chiplet Interface received PSUM from PE: 1 through OEC with data: 0 +30 ns: INFO: ChipletInterface: 3 Forwarding the PSUM 0 from PE: 1 to Interposer interface: 3 +30 ns: INFO: ChipletInterface: 3 PSUM Transaction: 0 completed successfully from Chiplet Interface: 3 to Interposer Interface +30 ns: INFO: ChipletInterface: 3 Chiplet Interface received PSUM from PE: 2 through OEC with data: 1776 +30 ns: INFO: ChipletInterface: 3 Forwarding the PSUM 1776 from PE: 2 to Interposer interface: 3 +30 ns: INFO: ChipletInterface: 3 PSUM Transaction: 1776 completed successfully from Chiplet Interface: 3 to Interposer Interface +45 ns: INFO: ChipletInterface: 0 Received Weight Kernal: 62 with Wavelength: 3 +45 ns: INFO: ChipletInterface: 0 Forwarding Weight Kernal: 62 with Wavelength: 3 to Optical to Electrical Converter: 3 +45 ns: INFO: ChipletInterface: 0 Transaction of weight kernal62 completed successfully from Chiplet Interface: 0 to OEC +45 ns: INFO: ChipletInterface: 1 Received Weight Kernal: 62 with Wavelength: 3 +45 ns: INFO: ChipletInterface: 1 Forwarding Weight Kernal: 62 with Wavelength: 3 to Optical to Electrical Converter: 3 +45 ns: INFO: ChipletInterface: 1 Transaction of weight kernal62 completed successfully from Chiplet Interface: 1 to OEC +45 ns: INFO: ChipletInterface: 2 Received Weight Kernal: 62 with Wavelength: 3 +45 ns: INFO: ChipletInterface: 2 Forwarding Weight Kernal: 62 with Wavelength: 3 to Optical to Electrical Converter: 3 +45 ns: INFO: ChipletInterface: 2 Transaction of weight kernal62 completed successfully from Chiplet Interface: 2 to OEC +45 ns: INFO: ChipletInterface: 3 Received Weight Kernal: 62 with Wavelength: 3 +45 ns: INFO: ChipletInterface: 3 Forwarding Weight Kernal: 62 with Wavelength: 3 to Optical to Electrical Converter: 3 +45 ns: INFO: ChipletInterface: 3 Transaction of weight kernal62 completed successfully from Chiplet Interface: 3 to OEC +45 ns: INFO: ChipletInterface: 3 Chiplet Interface received PSUM from PE: 3 through OEC with data: 2976 +45 ns: INFO: ChipletInterface: 3 Forwarding the PSUM 2976 from PE: 3 to Interposer interface: 3 +45 ns: INFO: ChipletInterface: 3 PSUM Transaction: 2976 completed successfully from Chiplet Interface: 3 to Interposer Interface +45 ns: INFO: ChipletInterface: 2 Chiplet Interface received PSUM from PE: 3 through OEC with data: 5332 +45 ns: INFO: ChipletInterface: 2 Forwarding the PSUM 5332 from PE: 3 to Interposer interface: 2 +45 ns: INFO: ChipletInterface: 2 PSUM Transaction: 5332 completed successfully from Chiplet Interface: 2 to Interposer Interface +45 ns: INFO: ChipletInterface: 1 Chiplet Interface received PSUM from PE: 3 through OEC with data: 4092 +45 ns: INFO: ChipletInterface: 1 Forwarding the PSUM 4092 from PE: 3 to Interposer interface: 1 +45 ns: INFO: ChipletInterface: 1 PSUM Transaction: 4092 completed successfully from Chiplet Interface: 1 to Interposer Interface +45 ns: INFO: ChipletInterface: 0 Chiplet Interface received PSUM from PE: 3 through OEC with data: 1674 +45 ns: INFO: ChipletInterface: 0 Forwarding the PSUM 1674 from PE: 3 to Interposer interface: 0 +45 ns: INFO: ChipletInterface: 0 PSUM Transaction: 1674 completed successfully from Chiplet Interface: 0 to Interposer Interface diff --git a/out/gb_comm.log b/out/gb_comm.log index 389c26a..960d42a 100644 --- a/out/gb_comm.log +++ b/out/gb_comm.log @@ -1,88 +1,88 @@ -0 s: INFO: GlobalBuffer: Generated input feature: 3 -0 s: INFO: GlobalBuffer: Transmitting Input Features: 3 -0 s: INFO: GlobalBuffer: Transaction of input feature 3 completed successfully from Global Buffer to Interpoaser Interface -0 s: INFO: GlobalBuffer: Generated Weight kernal: 3 -0 s: INFO: GlobalBuffer: Transmitting weight kernals: 3 to interposer Interface 0 -0 s: INFO: GlobalBuffer: Transaction of Weight Kernal 3 completed successfully from Global Buffer: to Interpoaser Interface -0 s: INFO: GlobalBuffer: Transmitting weight kernals: 3 to interposer Interface 1 -0 s: INFO: GlobalBuffer: Transaction of Weight Kernal 3 completed successfully from Global Buffer: to Interpoaser Interface -0 s: INFO: GlobalBuffer: Transmitting weight kernals: 3 to interposer Interface 2 -0 s: INFO: GlobalBuffer: Transaction of Weight Kernal 3 completed successfully from Global Buffer: to Interpoaser Interface -0 s: INFO: GlobalBuffer: Transmitting weight kernals: 3 to interposer Interface 3 -0 s: INFO: GlobalBuffer: Transaction of Weight Kernal 3 completed successfully from Global Buffer: to Interpoaser Interface -0 s: INFO: GlobalBuffer: Received transaction from PE: 0 from chiplet: 0 through Interposer Interface with PSUM: 9 +0 s: INFO: GlobalBuffer: Generated input feature: 27 +0 s: INFO: GlobalBuffer: Transmitting Input Features: 27 +0 s: INFO: GlobalBuffer: Transaction of input feature 27 completed successfully from Global Buffer to Interpoaser Interface +0 s: INFO: GlobalBuffer: Generated Weight kernal: 27 +0 s: INFO: GlobalBuffer: Transmitting weight kernals: 27 to interposer Interface 0 +0 s: INFO: GlobalBuffer: Transaction of Weight Kernal 27 completed successfully from Global Buffer: to Interpoaser Interface +0 s: INFO: GlobalBuffer: Transmitting weight kernals: 27 to interposer Interface 1 +0 s: INFO: GlobalBuffer: Transaction of Weight Kernal 27 completed successfully from Global Buffer: to Interpoaser Interface +0 s: INFO: GlobalBuffer: Transmitting weight kernals: 27 to interposer Interface 2 +0 s: INFO: GlobalBuffer: Transaction of Weight Kernal 27 completed successfully from Global Buffer: to Interpoaser Interface +0 s: INFO: GlobalBuffer: Transmitting weight kernals: 27 to interposer Interface 3 +0 s: INFO: GlobalBuffer: Transaction of Weight Kernal 27 completed successfully from Global Buffer: to Interpoaser Interface +0 s: INFO: GlobalBuffer: Received transaction from PE: 0 from chiplet: 0 through Interposer Interface with PSUM: 729 0 s: INFO: GlobalBuffer: Updated credit_matrix[0][0] = 1 -10 ns: INFO: GlobalBuffer: Generated input feature: 72 -10 ns: INFO: GlobalBuffer: Transmitting Input Features: 72 -10 ns: INFO: GlobalBuffer: Transaction of input feature 72 completed successfully from Global Buffer to Interpoaser Interface -10 ns: INFO: GlobalBuffer: Received transaction from PE: 0 from chiplet: 1 through Interposer Interface with PSUM: 216 +10 ns: INFO: GlobalBuffer: Generated input feature: 66 +10 ns: INFO: GlobalBuffer: Transmitting Input Features: 66 +10 ns: INFO: GlobalBuffer: Transaction of input feature 66 completed successfully from Global Buffer to Interpoaser Interface +10 ns: INFO: GlobalBuffer: Received transaction from PE: 0 from chiplet: 1 through Interposer Interface with PSUM: 1782 10 ns: INFO: GlobalBuffer: Updated credit_matrix[1][0] = 1 -15 ns: INFO: GlobalBuffer: Generated Weight kernal: 90 -15 ns: INFO: GlobalBuffer: Transmitting weight kernals: 90 to interposer Interface 0 -15 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 90 completed successfully from Global Buffer: to Interpoaser Interface -15 ns: INFO: GlobalBuffer: Transmitting weight kernals: 90 to interposer Interface 1 -15 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 90 completed successfully from Global Buffer: to Interpoaser Interface -15 ns: INFO: GlobalBuffer: Transmitting weight kernals: 90 to interposer Interface 2 -15 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 90 completed successfully from Global Buffer: to Interpoaser Interface -15 ns: INFO: GlobalBuffer: Transmitting weight kernals: 90 to interposer Interface 3 -15 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 90 completed successfully from Global Buffer: to Interpoaser Interface -15 ns: INFO: GlobalBuffer: Received transaction from PE: 1 from chiplet: 1 through Interposer Interface with PSUM: 6480 +15 ns: INFO: GlobalBuffer: Generated Weight kernal: 0 +15 ns: INFO: GlobalBuffer: Transmitting weight kernals: 0 to interposer Interface 0 +15 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 0 completed successfully from Global Buffer: to Interpoaser Interface +15 ns: INFO: GlobalBuffer: Transmitting weight kernals: 0 to interposer Interface 1 +15 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 0 completed successfully from Global Buffer: to Interpoaser Interface +15 ns: INFO: GlobalBuffer: Transmitting weight kernals: 0 to interposer Interface 2 +15 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 0 completed successfully from Global Buffer: to Interpoaser Interface +15 ns: INFO: GlobalBuffer: Transmitting weight kernals: 0 to interposer Interface 3 +15 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 0 completed successfully from Global Buffer: to Interpoaser Interface +15 ns: INFO: GlobalBuffer: Received transaction from PE: 1 from chiplet: 1 through Interposer Interface with PSUM: 0 15 ns: INFO: GlobalBuffer: Updated credit_matrix[1][1] = 1 -15 ns: INFO: GlobalBuffer: Received transaction from PE: 1 from chiplet: 0 through Interposer Interface with PSUM: 270 +15 ns: INFO: GlobalBuffer: Received transaction from PE: 1 from chiplet: 0 through Interposer Interface with PSUM: 0 15 ns: INFO: GlobalBuffer: Updated credit_matrix[0][1] = 1 -20 ns: INFO: GlobalBuffer: Generated input feature: 52 -20 ns: INFO: GlobalBuffer: Transmitting Input Features: 52 -20 ns: INFO: GlobalBuffer: Transaction of input feature 52 completed successfully from Global Buffer to Interpoaser Interface -20 ns: INFO: GlobalBuffer: Received transaction from PE: 0 from chiplet: 2 through Interposer Interface with PSUM: 156 +20 ns: INFO: GlobalBuffer: Generated input feature: 86 +20 ns: INFO: GlobalBuffer: Transmitting Input Features: 86 +20 ns: INFO: GlobalBuffer: Transaction of input feature 86 completed successfully from Global Buffer to Interpoaser Interface +20 ns: INFO: GlobalBuffer: Received transaction from PE: 0 from chiplet: 2 through Interposer Interface with PSUM: 2322 20 ns: INFO: GlobalBuffer: Updated credit_matrix[2][0] = 1 -20 ns: INFO: GlobalBuffer: Received transaction from PE: 1 from chiplet: 2 through Interposer Interface with PSUM: 4680 +20 ns: INFO: GlobalBuffer: Received transaction from PE: 1 from chiplet: 2 through Interposer Interface with PSUM: 0 20 ns: INFO: GlobalBuffer: Updated credit_matrix[2][1] = 1 -30 ns: INFO: GlobalBuffer: Generated Weight kernal: 35 -30 ns: INFO: GlobalBuffer: Transmitting weight kernals: 35 to interposer Interface 0 -30 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 35 completed successfully from Global Buffer: to Interpoaser Interface -30 ns: INFO: GlobalBuffer: Transmitting weight kernals: 35 to interposer Interface 1 -30 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 35 completed successfully from Global Buffer: to Interpoaser Interface -30 ns: INFO: GlobalBuffer: Transmitting weight kernals: 35 to interposer Interface 2 -30 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 35 completed successfully from Global Buffer: to Interpoaser Interface -30 ns: INFO: GlobalBuffer: Transmitting weight kernals: 35 to interposer Interface 3 -30 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 35 completed successfully from Global Buffer: to Interpoaser Interface -30 ns: INFO: GlobalBuffer: Generated input feature: 13 -30 ns: INFO: GlobalBuffer: Transmitting Input Features: 13 -30 ns: INFO: GlobalBuffer: Transaction of input feature 13 completed successfully from Global Buffer to Interpoaser Interface -30 ns: INFO: GlobalBuffer: Received transaction from PE: 0 from chiplet: 3 through Interposer Interface with PSUM: 39 +30 ns: INFO: GlobalBuffer: Generated Weight kernal: 37 +30 ns: INFO: GlobalBuffer: Transmitting weight kernals: 37 to interposer Interface 0 +30 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 37 completed successfully from Global Buffer: to Interpoaser Interface +30 ns: INFO: GlobalBuffer: Transmitting weight kernals: 37 to interposer Interface 1 +30 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 37 completed successfully from Global Buffer: to Interpoaser Interface +30 ns: INFO: GlobalBuffer: Transmitting weight kernals: 37 to interposer Interface 2 +30 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 37 completed successfully from Global Buffer: to Interpoaser Interface +30 ns: INFO: GlobalBuffer: Transmitting weight kernals: 37 to interposer Interface 3 +30 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 37 completed successfully from Global Buffer: to Interpoaser Interface +30 ns: INFO: GlobalBuffer: Generated input feature: 48 +30 ns: INFO: GlobalBuffer: Transmitting Input Features: 48 +30 ns: INFO: GlobalBuffer: Transaction of input feature 48 completed successfully from Global Buffer to Interpoaser Interface +30 ns: INFO: GlobalBuffer: Received transaction from PE: 0 from chiplet: 3 through Interposer Interface with PSUM: 1296 30 ns: INFO: GlobalBuffer: Updated credit_matrix[3][0] = 1 30 ns: INFO: GlobalBuffer: Incremented weight_counter[0] = 17 -30 ns: INFO: GlobalBuffer: Received transaction from PE: 2 from chiplet: 2 through Interposer Interface with PSUM: 1820 +30 ns: INFO: GlobalBuffer: Received transaction from PE: 2 from chiplet: 2 through Interposer Interface with PSUM: 3182 30 ns: INFO: GlobalBuffer: Updated credit_matrix[2][2] = 1 -30 ns: INFO: GlobalBuffer: Received transaction from PE: 2 from chiplet: 1 through Interposer Interface with PSUM: 2520 +30 ns: INFO: GlobalBuffer: Received transaction from PE: 2 from chiplet: 1 through Interposer Interface with PSUM: 2442 30 ns: INFO: GlobalBuffer: Updated credit_matrix[1][2] = 1 -30 ns: INFO: GlobalBuffer: Received transaction from PE: 2 from chiplet: 0 through Interposer Interface with PSUM: 105 +30 ns: INFO: GlobalBuffer: Received transaction from PE: 2 from chiplet: 0 through Interposer Interface with PSUM: 999 30 ns: INFO: GlobalBuffer: Updated credit_matrix[0][2] = 1 -30 ns: INFO: GlobalBuffer: Received transaction from PE: 1 from chiplet: 3 through Interposer Interface with PSUM: 1170 +30 ns: INFO: GlobalBuffer: Received transaction from PE: 1 from chiplet: 3 through Interposer Interface with PSUM: 0 30 ns: INFO: GlobalBuffer: Updated credit_matrix[3][1] = 1 30 ns: INFO: GlobalBuffer: Incremented weight_counter[1] = 17 -30 ns: INFO: GlobalBuffer: Received transaction from PE: 2 from chiplet: 3 through Interposer Interface with PSUM: 455 +30 ns: INFO: GlobalBuffer: Received transaction from PE: 2 from chiplet: 3 through Interposer Interface with PSUM: 1776 30 ns: INFO: GlobalBuffer: Updated credit_matrix[3][2] = 1 30 ns: INFO: GlobalBuffer: Incremented weight_counter[2] = 17 -45 ns: INFO: GlobalBuffer: Generated Weight kernal: 24 -45 ns: INFO: GlobalBuffer: Transmitting weight kernals: 24 to interposer Interface 0 -45 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 24 completed successfully from Global Buffer: to Interpoaser Interface -45 ns: INFO: GlobalBuffer: Transmitting weight kernals: 24 to interposer Interface 1 -45 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 24 completed successfully from Global Buffer: to Interpoaser Interface -45 ns: INFO: GlobalBuffer: Transmitting weight kernals: 24 to interposer Interface 2 -45 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 24 completed successfully from Global Buffer: to Interpoaser Interface -45 ns: INFO: GlobalBuffer: Transmitting weight kernals: 24 to interposer Interface 3 -45 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 24 completed successfully from Global Buffer: to Interpoaser Interface -45 ns: INFO: GlobalBuffer: Received transaction from PE: 3 from chiplet: 3 through Interposer Interface with PSUM: 312 +45 ns: INFO: GlobalBuffer: Generated Weight kernal: 62 +45 ns: INFO: GlobalBuffer: Transmitting weight kernals: 62 to interposer Interface 0 +45 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 62 completed successfully from Global Buffer: to Interpoaser Interface +45 ns: INFO: GlobalBuffer: Transmitting weight kernals: 62 to interposer Interface 1 +45 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 62 completed successfully from Global Buffer: to Interpoaser Interface +45 ns: INFO: GlobalBuffer: Transmitting weight kernals: 62 to interposer Interface 2 +45 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 62 completed successfully from Global Buffer: to Interpoaser Interface +45 ns: INFO: GlobalBuffer: Transmitting weight kernals: 62 to interposer Interface 3 +45 ns: INFO: GlobalBuffer: Transaction of Weight Kernal 62 completed successfully from Global Buffer: to Interpoaser Interface +45 ns: INFO: GlobalBuffer: Received transaction from PE: 3 from chiplet: 3 through Interposer Interface with PSUM: 2976 45 ns: INFO: GlobalBuffer: Updated credit_matrix[3][3] = 1 45 ns: INFO: GlobalBuffer: Incremented feature_counter[3] = 20 -45 ns: INFO: GlobalBuffer: Received transaction from PE: 3 from chiplet: 2 through Interposer Interface with PSUM: 1248 +45 ns: INFO: GlobalBuffer: Received transaction from PE: 3 from chiplet: 2 through Interposer Interface with PSUM: 5332 45 ns: INFO: GlobalBuffer: Updated credit_matrix[2][3] = 1 45 ns: INFO: GlobalBuffer: Incremented feature_counter[2] = 20 -45 ns: INFO: GlobalBuffer: Received transaction from PE: 3 from chiplet: 1 through Interposer Interface with PSUM: 1728 +45 ns: INFO: GlobalBuffer: Received transaction from PE: 3 from chiplet: 1 through Interposer Interface with PSUM: 4092 45 ns: INFO: GlobalBuffer: Updated credit_matrix[1][3] = 1 45 ns: INFO: GlobalBuffer: Incremented feature_counter[1] = 20 -45 ns: INFO: GlobalBuffer: Received transaction from PE: 3 from chiplet: 0 through Interposer Interface with PSUM: 72 +45 ns: INFO: GlobalBuffer: Received transaction from PE: 3 from chiplet: 0 through Interposer Interface with PSUM: 1674 45 ns: INFO: GlobalBuffer: Updated credit_matrix[0][3] = 1 45 ns: INFO: GlobalBuffer: Incremented weight_counter[3] = 17 45 ns: INFO: GlobalBuffer: Incremented feature_counter[0] = 20 diff --git a/out/interposer_comm.log b/out/interposer_comm.log index bda24b9..4e19a5c 100644 --- a/out/interposer_comm.log +++ b/out/interposer_comm.log @@ -1,124 +1,124 @@ -0 s: INFO: InterposerInterface: 0 Received input feature: 3 with Wavelength: 4 -0 s: INFO: InterposerInterface: 0 Forwarding input features: 3 with Wavelength: 4 to chiplet interface -0 s: INFO: InterposerInterface: 0 Transaction of input feature 3 completed successfully from Interposer Interface: 0 to Chiplet Interface -0 s: INFO: InterposerInterface: 0 Received cross-chiplet data: 3 with Wavelength: 0 +0 s: INFO: InterposerInterface: 0 Received input feature: 27 with Wavelength: 4 +0 s: INFO: InterposerInterface: 0 Forwarding input features: 27 with Wavelength: 4 to chiplet interface +0 s: INFO: InterposerInterface: 0 Transaction of input feature 27 completed successfully from Interposer Interface: 0 to Chiplet Interface +0 s: INFO: InterposerInterface: 0 Received cross-chiplet data: 27 with Wavelength: 0 0 s: INFO: InterposerInterface: 0 Splitting data for PE: 0 to chiplet:0 -0 s: INFO: InterposerInterface: 0 Forwarding weight kernals: 3 with Wavelength: 0 to chiplet interface -0 s: INFO: InterposerInterface: 0 Transaction of weight kernal 3 completed successfully from Interposer Interface: 0 to Chiplet Interface -0 s: INFO: InterposerInterface: 1 Received cross-chiplet data: 3 with Wavelength: 0 +0 s: INFO: InterposerInterface: 0 Forwarding weight kernals: 27 with Wavelength: 0 to chiplet interface +0 s: INFO: InterposerInterface: 0 Transaction of weight kernal 27 completed successfully from Interposer Interface: 0 to Chiplet Interface +0 s: INFO: InterposerInterface: 1 Received cross-chiplet data: 27 with Wavelength: 0 0 s: INFO: InterposerInterface: 1 Splitting data for PE: 0 to chiplet:1 -0 s: INFO: InterposerInterface: 1 Forwarding weight kernals: 3 with Wavelength: 0 to chiplet interface -0 s: INFO: InterposerInterface: 1 Transaction of weight kernal 3 completed successfully from Interposer Interface: 1 to Chiplet Interface -0 s: INFO: InterposerInterface: 2 Received cross-chiplet data: 3 with Wavelength: 0 +0 s: INFO: InterposerInterface: 1 Forwarding weight kernals: 27 with Wavelength: 0 to chiplet interface +0 s: INFO: InterposerInterface: 1 Transaction of weight kernal 27 completed successfully from Interposer Interface: 1 to Chiplet Interface +0 s: INFO: InterposerInterface: 2 Received cross-chiplet data: 27 with Wavelength: 0 0 s: INFO: InterposerInterface: 2 Splitting data for PE: 0 to chiplet:2 -0 s: INFO: InterposerInterface: 2 Forwarding weight kernals: 3 with Wavelength: 0 to chiplet interface -0 s: INFO: InterposerInterface: 2 Transaction of weight kernal 3 completed successfully from Interposer Interface: 2 to Chiplet Interface -0 s: INFO: InterposerInterface: 3 Received cross-chiplet data: 3 with Wavelength: 0 +0 s: INFO: InterposerInterface: 2 Forwarding weight kernals: 27 with Wavelength: 0 to chiplet interface +0 s: INFO: InterposerInterface: 2 Transaction of weight kernal 27 completed successfully from Interposer Interface: 2 to Chiplet Interface +0 s: INFO: InterposerInterface: 3 Received cross-chiplet data: 27 with Wavelength: 0 0 s: INFO: InterposerInterface: 3 Splitting data for PE: 0 to chiplet:3 -0 s: INFO: InterposerInterface: 3 Forwarding weight kernals: 3 with Wavelength: 0 to chiplet interface -0 s: INFO: InterposerInterface: 3 Transaction of weight kernal 3 completed successfully from Interposer Interface: 3 to Chiplet Interface -0 s: INFO: InterposerInterface: 0 received PSUM from PE: 0 through OEC with data: 9 +0 s: INFO: InterposerInterface: 3 Forwarding weight kernals: 27 with Wavelength: 0 to chiplet interface +0 s: INFO: InterposerInterface: 3 Transaction of weight kernal 27 completed successfully from Interposer Interface: 3 to Chiplet Interface +0 s: INFO: InterposerInterface: 0 received PSUM from PE: 0 through OEC with data: 729 0 s: INFO: InterposerInterface: 0 Forwarding the PSUMs from PE: 0 to Global Buffer -0 s: INFO: InterposerInterface: 0 Transaction of PSUM 9 completed successfully from Interposer Interface: 0 to Global Buffer -10 ns: INFO: InterposerInterface: 1 Received input feature: 72 with Wavelength: 5 -10 ns: INFO: InterposerInterface: 1 Forwarding input features: 72 with Wavelength: 5 to chiplet interface -10 ns: INFO: InterposerInterface: 1 Transaction of input feature 72 completed successfully from Interposer Interface: 1 to Chiplet Interface -10 ns: INFO: InterposerInterface: 1 received PSUM from PE: 0 through OEC with data: 216 +0 s: INFO: InterposerInterface: 0 Transaction of PSUM 729 completed successfully from Interposer Interface: 0 to Global Buffer +10 ns: INFO: InterposerInterface: 1 Received input feature: 66 with Wavelength: 5 +10 ns: INFO: InterposerInterface: 1 Forwarding input features: 66 with Wavelength: 5 to chiplet interface +10 ns: INFO: InterposerInterface: 1 Transaction of input feature 66 completed successfully from Interposer Interface: 1 to Chiplet Interface +10 ns: INFO: InterposerInterface: 1 received PSUM from PE: 0 through OEC with data: 1782 10 ns: INFO: InterposerInterface: 1 Forwarding the PSUMs from PE: 0 to Global Buffer -10 ns: INFO: InterposerInterface: 1 Transaction of PSUM 216 completed successfully from Interposer Interface: 1 to Global Buffer -15 ns: INFO: InterposerInterface: 0 Received cross-chiplet data: 90 with Wavelength: 1 +10 ns: INFO: InterposerInterface: 1 Transaction of PSUM 1782 completed successfully from Interposer Interface: 1 to Global Buffer +15 ns: INFO: InterposerInterface: 0 Received cross-chiplet data: 0 with Wavelength: 1 15 ns: INFO: InterposerInterface: 0 Splitting data for PE: 1 to chiplet:0 -15 ns: INFO: InterposerInterface: 0 Forwarding weight kernals: 90 with Wavelength: 1 to chiplet interface -15 ns: INFO: InterposerInterface: 0 Transaction of weight kernal 90 completed successfully from Interposer Interface: 0 to Chiplet Interface -15 ns: INFO: InterposerInterface: 1 Received cross-chiplet data: 90 with Wavelength: 1 +15 ns: INFO: InterposerInterface: 0 Forwarding weight kernals: 0 with Wavelength: 1 to chiplet interface +15 ns: INFO: InterposerInterface: 0 Transaction of weight kernal 0 completed successfully from Interposer Interface: 0 to Chiplet Interface +15 ns: INFO: InterposerInterface: 1 Received cross-chiplet data: 0 with Wavelength: 1 15 ns: INFO: InterposerInterface: 1 Splitting data for PE: 1 to chiplet:1 -15 ns: INFO: InterposerInterface: 1 Forwarding weight kernals: 90 with Wavelength: 1 to chiplet interface -15 ns: INFO: InterposerInterface: 1 Transaction of weight kernal 90 completed successfully from Interposer Interface: 1 to Chiplet Interface -15 ns: INFO: InterposerInterface: 2 Received cross-chiplet data: 90 with Wavelength: 1 +15 ns: INFO: InterposerInterface: 1 Forwarding weight kernals: 0 with Wavelength: 1 to chiplet interface +15 ns: INFO: InterposerInterface: 1 Transaction of weight kernal 0 completed successfully from Interposer Interface: 1 to Chiplet Interface +15 ns: INFO: InterposerInterface: 2 Received cross-chiplet data: 0 with Wavelength: 1 15 ns: INFO: InterposerInterface: 2 Splitting data for PE: 1 to chiplet:2 -15 ns: INFO: InterposerInterface: 2 Forwarding weight kernals: 90 with Wavelength: 1 to chiplet interface -15 ns: INFO: InterposerInterface: 2 Transaction of weight kernal 90 completed successfully from Interposer Interface: 2 to Chiplet Interface -15 ns: INFO: InterposerInterface: 3 Received cross-chiplet data: 90 with Wavelength: 1 +15 ns: INFO: InterposerInterface: 2 Forwarding weight kernals: 0 with Wavelength: 1 to chiplet interface +15 ns: INFO: InterposerInterface: 2 Transaction of weight kernal 0 completed successfully from Interposer Interface: 2 to Chiplet Interface +15 ns: INFO: InterposerInterface: 3 Received cross-chiplet data: 0 with Wavelength: 1 15 ns: INFO: InterposerInterface: 3 Splitting data for PE: 1 to chiplet:3 -15 ns: INFO: InterposerInterface: 3 Forwarding weight kernals: 90 with Wavelength: 1 to chiplet interface -15 ns: INFO: InterposerInterface: 3 Transaction of weight kernal 90 completed successfully from Interposer Interface: 3 to Chiplet Interface -15 ns: INFO: InterposerInterface: 1 received PSUM from PE: 1 through OEC with data: 6480 +15 ns: INFO: InterposerInterface: 3 Forwarding weight kernals: 0 with Wavelength: 1 to chiplet interface +15 ns: INFO: InterposerInterface: 3 Transaction of weight kernal 0 completed successfully from Interposer Interface: 3 to Chiplet Interface +15 ns: INFO: InterposerInterface: 1 received PSUM from PE: 1 through OEC with data: 0 15 ns: INFO: InterposerInterface: 1 Forwarding the PSUMs from PE: 1 to Global Buffer -15 ns: INFO: InterposerInterface: 1 Transaction of PSUM 6480 completed successfully from Interposer Interface: 1 to Global Buffer -15 ns: INFO: InterposerInterface: 0 received PSUM from PE: 1 through OEC with data: 270 +15 ns: INFO: InterposerInterface: 1 Transaction of PSUM 0 completed successfully from Interposer Interface: 1 to Global Buffer +15 ns: INFO: InterposerInterface: 0 received PSUM from PE: 1 through OEC with data: 0 15 ns: INFO: InterposerInterface: 0 Forwarding the PSUMs from PE: 1 to Global Buffer -15 ns: INFO: InterposerInterface: 0 Transaction of PSUM 270 completed successfully from Interposer Interface: 0 to Global Buffer -20 ns: INFO: InterposerInterface: 2 Received input feature: 52 with Wavelength: 6 -20 ns: INFO: InterposerInterface: 2 Forwarding input features: 52 with Wavelength: 6 to chiplet interface -20 ns: INFO: InterposerInterface: 2 Transaction of input feature 52 completed successfully from Interposer Interface: 2 to Chiplet Interface -20 ns: INFO: InterposerInterface: 2 received PSUM from PE: 0 through OEC with data: 156 +15 ns: INFO: InterposerInterface: 0 Transaction of PSUM 0 completed successfully from Interposer Interface: 0 to Global Buffer +20 ns: INFO: InterposerInterface: 2 Received input feature: 86 with Wavelength: 6 +20 ns: INFO: InterposerInterface: 2 Forwarding input features: 86 with Wavelength: 6 to chiplet interface +20 ns: INFO: InterposerInterface: 2 Transaction of input feature 86 completed successfully from Interposer Interface: 2 to Chiplet Interface +20 ns: INFO: InterposerInterface: 2 received PSUM from PE: 0 through OEC with data: 2322 20 ns: INFO: InterposerInterface: 2 Forwarding the PSUMs from PE: 0 to Global Buffer -20 ns: INFO: InterposerInterface: 2 Transaction of PSUM 156 completed successfully from Interposer Interface: 2 to Global Buffer -20 ns: INFO: InterposerInterface: 2 received PSUM from PE: 1 through OEC with data: 4680 +20 ns: INFO: InterposerInterface: 2 Transaction of PSUM 2322 completed successfully from Interposer Interface: 2 to Global Buffer +20 ns: INFO: InterposerInterface: 2 received PSUM from PE: 1 through OEC with data: 0 20 ns: INFO: InterposerInterface: 2 Forwarding the PSUMs from PE: 1 to Global Buffer -20 ns: INFO: InterposerInterface: 2 Transaction of PSUM 4680 completed successfully from Interposer Interface: 2 to Global Buffer -30 ns: INFO: InterposerInterface: 0 Received cross-chiplet data: 35 with Wavelength: 2 +20 ns: INFO: InterposerInterface: 2 Transaction of PSUM 0 completed successfully from Interposer Interface: 2 to Global Buffer +30 ns: INFO: InterposerInterface: 0 Received cross-chiplet data: 37 with Wavelength: 2 30 ns: INFO: InterposerInterface: 0 Splitting data for PE: 2 to chiplet:0 -30 ns: INFO: InterposerInterface: 0 Forwarding weight kernals: 35 with Wavelength: 2 to chiplet interface -30 ns: INFO: InterposerInterface: 0 Transaction of weight kernal 35 completed successfully from Interposer Interface: 0 to Chiplet Interface -30 ns: INFO: InterposerInterface: 1 Received cross-chiplet data: 35 with Wavelength: 2 +30 ns: INFO: InterposerInterface: 0 Forwarding weight kernals: 37 with Wavelength: 2 to chiplet interface +30 ns: INFO: InterposerInterface: 0 Transaction of weight kernal 37 completed successfully from Interposer Interface: 0 to Chiplet Interface +30 ns: INFO: InterposerInterface: 1 Received cross-chiplet data: 37 with Wavelength: 2 30 ns: INFO: InterposerInterface: 1 Splitting data for PE: 2 to chiplet:1 -30 ns: INFO: InterposerInterface: 1 Forwarding weight kernals: 35 with Wavelength: 2 to chiplet interface -30 ns: INFO: InterposerInterface: 1 Transaction of weight kernal 35 completed successfully from Interposer Interface: 1 to Chiplet Interface -30 ns: INFO: InterposerInterface: 2 Received cross-chiplet data: 35 with Wavelength: 2 +30 ns: INFO: InterposerInterface: 1 Forwarding weight kernals: 37 with Wavelength: 2 to chiplet interface +30 ns: INFO: InterposerInterface: 1 Transaction of weight kernal 37 completed successfully from Interposer Interface: 1 to Chiplet Interface +30 ns: INFO: InterposerInterface: 2 Received cross-chiplet data: 37 with Wavelength: 2 30 ns: INFO: InterposerInterface: 2 Splitting data for PE: 2 to chiplet:2 -30 ns: INFO: InterposerInterface: 2 Forwarding weight kernals: 35 with Wavelength: 2 to chiplet interface -30 ns: INFO: InterposerInterface: 2 Transaction of weight kernal 35 completed successfully from Interposer Interface: 2 to Chiplet Interface -30 ns: INFO: InterposerInterface: 3 Received cross-chiplet data: 35 with Wavelength: 2 +30 ns: INFO: InterposerInterface: 2 Forwarding weight kernals: 37 with Wavelength: 2 to chiplet interface +30 ns: INFO: InterposerInterface: 2 Transaction of weight kernal 37 completed successfully from Interposer Interface: 2 to Chiplet Interface +30 ns: INFO: InterposerInterface: 3 Received cross-chiplet data: 37 with Wavelength: 2 30 ns: INFO: InterposerInterface: 3 Splitting data for PE: 2 to chiplet:3 -30 ns: INFO: InterposerInterface: 3 Forwarding weight kernals: 35 with Wavelength: 2 to chiplet interface -30 ns: INFO: InterposerInterface: 3 Transaction of weight kernal 35 completed successfully from Interposer Interface: 3 to Chiplet Interface -30 ns: INFO: InterposerInterface: 3 Received input feature: 13 with Wavelength: 7 -30 ns: INFO: InterposerInterface: 3 Forwarding input features: 13 with Wavelength: 7 to chiplet interface -30 ns: INFO: InterposerInterface: 3 Transaction of input feature 13 completed successfully from Interposer Interface: 3 to Chiplet Interface -30 ns: INFO: InterposerInterface: 3 received PSUM from PE: 0 through OEC with data: 39 +30 ns: INFO: InterposerInterface: 3 Forwarding weight kernals: 37 with Wavelength: 2 to chiplet interface +30 ns: INFO: InterposerInterface: 3 Transaction of weight kernal 37 completed successfully from Interposer Interface: 3 to Chiplet Interface +30 ns: INFO: InterposerInterface: 3 Received input feature: 48 with Wavelength: 7 +30 ns: INFO: InterposerInterface: 3 Forwarding input features: 48 with Wavelength: 7 to chiplet interface +30 ns: INFO: InterposerInterface: 3 Transaction of input feature 48 completed successfully from Interposer Interface: 3 to Chiplet Interface +30 ns: INFO: InterposerInterface: 3 received PSUM from PE: 0 through OEC with data: 1296 30 ns: INFO: InterposerInterface: 3 Forwarding the PSUMs from PE: 0 to Global Buffer -30 ns: INFO: InterposerInterface: 3 Transaction of PSUM 39 completed successfully from Interposer Interface: 3 to Global Buffer -30 ns: INFO: InterposerInterface: 2 received PSUM from PE: 2 through OEC with data: 1820 +30 ns: INFO: InterposerInterface: 3 Transaction of PSUM 1296 completed successfully from Interposer Interface: 3 to Global Buffer +30 ns: INFO: InterposerInterface: 2 received PSUM from PE: 2 through OEC with data: 3182 30 ns: INFO: InterposerInterface: 2 Forwarding the PSUMs from PE: 2 to Global Buffer -30 ns: INFO: InterposerInterface: 2 Transaction of PSUM 1820 completed successfully from Interposer Interface: 2 to Global Buffer -30 ns: INFO: InterposerInterface: 1 received PSUM from PE: 2 through OEC with data: 2520 +30 ns: INFO: InterposerInterface: 2 Transaction of PSUM 3182 completed successfully from Interposer Interface: 2 to Global Buffer +30 ns: INFO: InterposerInterface: 1 received PSUM from PE: 2 through OEC with data: 2442 30 ns: INFO: InterposerInterface: 1 Forwarding the PSUMs from PE: 2 to Global Buffer -30 ns: INFO: InterposerInterface: 1 Transaction of PSUM 2520 completed successfully from Interposer Interface: 1 to Global Buffer -30 ns: INFO: InterposerInterface: 0 received PSUM from PE: 2 through OEC with data: 105 +30 ns: INFO: InterposerInterface: 1 Transaction of PSUM 2442 completed successfully from Interposer Interface: 1 to Global Buffer +30 ns: INFO: InterposerInterface: 0 received PSUM from PE: 2 through OEC with data: 999 30 ns: INFO: InterposerInterface: 0 Forwarding the PSUMs from PE: 2 to Global Buffer -30 ns: INFO: InterposerInterface: 0 Transaction of PSUM 105 completed successfully from Interposer Interface: 0 to Global Buffer -30 ns: INFO: InterposerInterface: 3 received PSUM from PE: 1 through OEC with data: 1170 +30 ns: INFO: InterposerInterface: 0 Transaction of PSUM 999 completed successfully from Interposer Interface: 0 to Global Buffer +30 ns: INFO: InterposerInterface: 3 received PSUM from PE: 1 through OEC with data: 0 30 ns: INFO: InterposerInterface: 3 Forwarding the PSUMs from PE: 1 to Global Buffer -30 ns: INFO: InterposerInterface: 3 Transaction of PSUM 1170 completed successfully from Interposer Interface: 3 to Global Buffer -30 ns: INFO: InterposerInterface: 3 received PSUM from PE: 2 through OEC with data: 455 +30 ns: INFO: InterposerInterface: 3 Transaction of PSUM 0 completed successfully from Interposer Interface: 3 to Global Buffer +30 ns: INFO: InterposerInterface: 3 received PSUM from PE: 2 through OEC with data: 1776 30 ns: INFO: InterposerInterface: 3 Forwarding the PSUMs from PE: 2 to Global Buffer -30 ns: INFO: InterposerInterface: 3 Transaction of PSUM 455 completed successfully from Interposer Interface: 3 to Global Buffer -45 ns: INFO: InterposerInterface: 0 Received cross-chiplet data: 24 with Wavelength: 3 +30 ns: INFO: InterposerInterface: 3 Transaction of PSUM 1776 completed successfully from Interposer Interface: 3 to Global Buffer +45 ns: INFO: InterposerInterface: 0 Received cross-chiplet data: 62 with Wavelength: 3 45 ns: INFO: InterposerInterface: 0 Splitting data for PE: 3 to chiplet:0 -45 ns: INFO: InterposerInterface: 0 Forwarding weight kernals: 24 with Wavelength: 3 to chiplet interface -45 ns: INFO: InterposerInterface: 0 Transaction of weight kernal 24 completed successfully from Interposer Interface: 0 to Chiplet Interface -45 ns: INFO: InterposerInterface: 1 Received cross-chiplet data: 24 with Wavelength: 3 +45 ns: INFO: InterposerInterface: 0 Forwarding weight kernals: 62 with Wavelength: 3 to chiplet interface +45 ns: INFO: InterposerInterface: 0 Transaction of weight kernal 62 completed successfully from Interposer Interface: 0 to Chiplet Interface +45 ns: INFO: InterposerInterface: 1 Received cross-chiplet data: 62 with Wavelength: 3 45 ns: INFO: InterposerInterface: 1 Splitting data for PE: 3 to chiplet:1 -45 ns: INFO: InterposerInterface: 1 Forwarding weight kernals: 24 with Wavelength: 3 to chiplet interface -45 ns: INFO: InterposerInterface: 1 Transaction of weight kernal 24 completed successfully from Interposer Interface: 1 to Chiplet Interface -45 ns: INFO: InterposerInterface: 2 Received cross-chiplet data: 24 with Wavelength: 3 +45 ns: INFO: InterposerInterface: 1 Forwarding weight kernals: 62 with Wavelength: 3 to chiplet interface +45 ns: INFO: InterposerInterface: 1 Transaction of weight kernal 62 completed successfully from Interposer Interface: 1 to Chiplet Interface +45 ns: INFO: InterposerInterface: 2 Received cross-chiplet data: 62 with Wavelength: 3 45 ns: INFO: InterposerInterface: 2 Splitting data for PE: 3 to chiplet:2 -45 ns: INFO: InterposerInterface: 2 Forwarding weight kernals: 24 with Wavelength: 3 to chiplet interface -45 ns: INFO: InterposerInterface: 2 Transaction of weight kernal 24 completed successfully from Interposer Interface: 2 to Chiplet Interface -45 ns: INFO: InterposerInterface: 3 Received cross-chiplet data: 24 with Wavelength: 3 +45 ns: INFO: InterposerInterface: 2 Forwarding weight kernals: 62 with Wavelength: 3 to chiplet interface +45 ns: INFO: InterposerInterface: 2 Transaction of weight kernal 62 completed successfully from Interposer Interface: 2 to Chiplet Interface +45 ns: INFO: InterposerInterface: 3 Received cross-chiplet data: 62 with Wavelength: 3 45 ns: INFO: InterposerInterface: 3 Splitting data for PE: 3 to chiplet:3 -45 ns: INFO: InterposerInterface: 3 Forwarding weight kernals: 24 with Wavelength: 3 to chiplet interface -45 ns: INFO: InterposerInterface: 3 Transaction of weight kernal 24 completed successfully from Interposer Interface: 3 to Chiplet Interface -45 ns: INFO: InterposerInterface: 3 received PSUM from PE: 3 through OEC with data: 312 +45 ns: INFO: InterposerInterface: 3 Forwarding weight kernals: 62 with Wavelength: 3 to chiplet interface +45 ns: INFO: InterposerInterface: 3 Transaction of weight kernal 62 completed successfully from Interposer Interface: 3 to Chiplet Interface +45 ns: INFO: InterposerInterface: 3 received PSUM from PE: 3 through OEC with data: 2976 45 ns: INFO: InterposerInterface: 3 Forwarding the PSUMs from PE: 3 to Global Buffer -45 ns: INFO: InterposerInterface: 3 Transaction of PSUM 312 completed successfully from Interposer Interface: 3 to Global Buffer -45 ns: INFO: InterposerInterface: 2 received PSUM from PE: 3 through OEC with data: 1248 +45 ns: INFO: InterposerInterface: 3 Transaction of PSUM 2976 completed successfully from Interposer Interface: 3 to Global Buffer +45 ns: INFO: InterposerInterface: 2 received PSUM from PE: 3 through OEC with data: 5332 45 ns: INFO: InterposerInterface: 2 Forwarding the PSUMs from PE: 3 to Global Buffer -45 ns: INFO: InterposerInterface: 2 Transaction of PSUM 1248 completed successfully from Interposer Interface: 2 to Global Buffer -45 ns: INFO: InterposerInterface: 1 received PSUM from PE: 3 through OEC with data: 1728 +45 ns: INFO: InterposerInterface: 2 Transaction of PSUM 5332 completed successfully from Interposer Interface: 2 to Global Buffer +45 ns: INFO: InterposerInterface: 1 received PSUM from PE: 3 through OEC with data: 4092 45 ns: INFO: InterposerInterface: 1 Forwarding the PSUMs from PE: 3 to Global Buffer -45 ns: INFO: InterposerInterface: 1 Transaction of PSUM 1728 completed successfully from Interposer Interface: 1 to Global Buffer -45 ns: INFO: InterposerInterface: 0 received PSUM from PE: 3 through OEC with data: 72 +45 ns: INFO: InterposerInterface: 1 Transaction of PSUM 4092 completed successfully from Interposer Interface: 1 to Global Buffer +45 ns: INFO: InterposerInterface: 0 received PSUM from PE: 3 through OEC with data: 1674 45 ns: INFO: InterposerInterface: 0 Forwarding the PSUMs from PE: 3 to Global Buffer -45 ns: INFO: InterposerInterface: 0 Transaction of PSUM 72 completed successfully from Interposer Interface: 0 to Global Buffer +45 ns: INFO: InterposerInterface: 0 Transaction of PSUM 1674 completed successfully from Interposer Interface: 0 to Global Buffer diff --git a/out/oec_comm.log b/out/oec_comm.log index 5c498dd..26e0f8d 100644 --- a/out/oec_comm.log +++ b/out/oec_comm.log @@ -1,144 +1,144 @@ -0 s: INFO: OpticalToElectrical: 0 Received input feature: 3 with Wavelength: 4 -0 s: INFO: OpticalToElectrical: 0 Forwarding input features: 3 with Wavelength: 4 to Processing Element +0 s: INFO: OpticalToElectrical: 0 Received input feature: 27 with Wavelength: 4 +0 s: INFO: OpticalToElectrical: 0 Forwarding input features: 27 with Wavelength: 4 to Processing Element: 0 0 s: INFO: OpticalToElectrical: 0 Transaction completed successfully from OEC: 0 to Processing Element -0 s: INFO: OpticalToElectrical: 1 Received input feature: 3 with Wavelength: 4 -0 s: INFO: OpticalToElectrical: 1 Forwarding input features: 3 with Wavelength: 4 to Processing Element +0 s: INFO: OpticalToElectrical: 1 Received input feature: 27 with Wavelength: 4 +0 s: INFO: OpticalToElectrical: 1 Forwarding input features: 27 with Wavelength: 4 to Processing Element: 1 0 s: INFO: OpticalToElectrical: 1 Transaction completed successfully from OEC: 1 to Processing Element -0 s: INFO: OpticalToElectrical: 2 Received input feature: 3 with Wavelength: 4 -0 s: INFO: OpticalToElectrical: 2 Forwarding input features: 3 with Wavelength: 4 to Processing Element +0 s: INFO: OpticalToElectrical: 2 Received input feature: 27 with Wavelength: 4 +0 s: INFO: OpticalToElectrical: 2 Forwarding input features: 27 with Wavelength: 4 to Processing Element: 2 0 s: INFO: OpticalToElectrical: 2 Transaction completed successfully from OEC: 2 to Processing Element -0 s: INFO: OpticalToElectrical: 3 Received input feature: 3 with Wavelength: 4 -0 s: INFO: OpticalToElectrical: 3 Forwarding input features: 3 with Wavelength: 4 to Processing Element +0 s: INFO: OpticalToElectrical: 3 Received input feature: 27 with Wavelength: 4 +0 s: INFO: OpticalToElectrical: 3 Forwarding input features: 27 with Wavelength: 4 to Processing Element: 3 0 s: INFO: OpticalToElectrical: 3 Transaction completed successfully from OEC: 3 to Processing Element -0 s: INFO: OpticalToElectrical: 0 Received cross-chiplet data: 3 with Wavelength: 0 -0 s: INFO: OpticalToElectrical: 0 Forwarding weight kernals: 3 with Wavelength: 0 to Processing Element +0 s: INFO: OpticalToElectrical: 0 Received cross-chiplet data: 27 with Wavelength: 0 +0 s: INFO: OpticalToElectrical: 0 Forwarding weight kernals: 27 with Wavelength: 0 to Processing Element: 0 0 s: INFO: OpticalToElectrical: 0 Transaction completed successfully from OEC: 0 to Processing Element -0 s: INFO: OpticalToElectrical: 0 Received cross-chiplet data: 3 with Wavelength: 0 -0 s: INFO: OpticalToElectrical: 0 Forwarding weight kernals: 3 with Wavelength: 0 to Processing Element +0 s: INFO: OpticalToElectrical: 0 Received cross-chiplet data: 27 with Wavelength: 0 +0 s: INFO: OpticalToElectrical: 0 Forwarding weight kernals: 27 with Wavelength: 0 to Processing Element: 0 0 s: INFO: OpticalToElectrical: 0 Transaction completed successfully from OEC: 0 to Processing Element -0 s: INFO: OpticalToElectrical: 0 Received cross-chiplet data: 3 with Wavelength: 0 -0 s: INFO: OpticalToElectrical: 0 Forwarding weight kernals: 3 with Wavelength: 0 to Processing Element +0 s: INFO: OpticalToElectrical: 0 Received cross-chiplet data: 27 with Wavelength: 0 +0 s: INFO: OpticalToElectrical: 0 Forwarding weight kernals: 27 with Wavelength: 0 to Processing Element: 0 0 s: INFO: OpticalToElectrical: 0 Transaction completed successfully from OEC: 0 to Processing Element -0 s: INFO: OpticalToElectrical: 0 Received cross-chiplet data: 3 with Wavelength: 0 -0 s: INFO: OpticalToElectrical: 0 Forwarding weight kernals: 3 with Wavelength: 0 to Processing Element +0 s: INFO: OpticalToElectrical: 0 Received cross-chiplet data: 27 with Wavelength: 0 +0 s: INFO: OpticalToElectrical: 0 Forwarding weight kernals: 27 with Wavelength: 0 to Processing Element: 0 0 s: INFO: OpticalToElectrical: 0 Transaction completed successfully from OEC: 0 to Processing Element -0 s: INFO: OpticalToElectrical: 0 Optical to Electrical converter received PSUM from PE: 0 with data: 9 +0 s: INFO: OpticalToElectrical: 0 Optical to Electrical converter received PSUM from PE: 0 with data: 729 0 s: INFO: OpticalToElectrical: 0 Forwarding the PSUMs from PE: 0 to chiplet interface: 0 0 s: INFO: OpticalToElectrical: 0 PSUM Transaction completed successfully from OEC: 0 to Chiplet Interface -10 ns: INFO: OpticalToElectrical: 0 Received input feature: 72 with Wavelength: 5 -10 ns: INFO: OpticalToElectrical: 0 Forwarding input features: 72 with Wavelength: 5 to Processing Element +10 ns: INFO: OpticalToElectrical: 0 Received input feature: 66 with Wavelength: 5 +10 ns: INFO: OpticalToElectrical: 0 Forwarding input features: 66 with Wavelength: 5 to Processing Element: 0 10 ns: INFO: OpticalToElectrical: 0 Transaction completed successfully from OEC: 0 to Processing Element -10 ns: INFO: OpticalToElectrical: 1 Received input feature: 72 with Wavelength: 5 -10 ns: INFO: OpticalToElectrical: 1 Forwarding input features: 72 with Wavelength: 5 to Processing Element +10 ns: INFO: OpticalToElectrical: 1 Received input feature: 66 with Wavelength: 5 +10 ns: INFO: OpticalToElectrical: 1 Forwarding input features: 66 with Wavelength: 5 to Processing Element: 1 10 ns: INFO: OpticalToElectrical: 1 Transaction completed successfully from OEC: 1 to Processing Element -10 ns: INFO: OpticalToElectrical: 2 Received input feature: 72 with Wavelength: 5 -10 ns: INFO: OpticalToElectrical: 2 Forwarding input features: 72 with Wavelength: 5 to Processing Element +10 ns: INFO: OpticalToElectrical: 2 Received input feature: 66 with Wavelength: 5 +10 ns: INFO: OpticalToElectrical: 2 Forwarding input features: 66 with Wavelength: 5 to Processing Element: 2 10 ns: INFO: OpticalToElectrical: 2 Transaction completed successfully from OEC: 2 to Processing Element -10 ns: INFO: OpticalToElectrical: 3 Received input feature: 72 with Wavelength: 5 -10 ns: INFO: OpticalToElectrical: 3 Forwarding input features: 72 with Wavelength: 5 to Processing Element +10 ns: INFO: OpticalToElectrical: 3 Received input feature: 66 with Wavelength: 5 +10 ns: INFO: OpticalToElectrical: 3 Forwarding input features: 66 with Wavelength: 5 to Processing Element: 3 10 ns: INFO: OpticalToElectrical: 3 Transaction completed successfully from OEC: 3 to Processing Element -10 ns: INFO: OpticalToElectrical: 0 Optical to Electrical converter received PSUM from PE: 0 with data: 216 +10 ns: INFO: OpticalToElectrical: 0 Optical to Electrical converter received PSUM from PE: 0 with data: 1782 10 ns: INFO: OpticalToElectrical: 0 Forwarding the PSUMs from PE: 0 to chiplet interface: 1 10 ns: INFO: OpticalToElectrical: 0 PSUM Transaction completed successfully from OEC: 0 to Chiplet Interface -15 ns: INFO: OpticalToElectrical: 1 Received cross-chiplet data: 90 with Wavelength: 1 -15 ns: INFO: OpticalToElectrical: 1 Forwarding weight kernals: 90 with Wavelength: 1 to Processing Element +15 ns: INFO: OpticalToElectrical: 1 Received cross-chiplet data: 0 with Wavelength: 1 +15 ns: INFO: OpticalToElectrical: 1 Forwarding weight kernals: 0 with Wavelength: 1 to Processing Element: 1 15 ns: INFO: OpticalToElectrical: 1 Transaction completed successfully from OEC: 1 to Processing Element -15 ns: INFO: OpticalToElectrical: 1 Received cross-chiplet data: 90 with Wavelength: 1 -15 ns: INFO: OpticalToElectrical: 1 Forwarding weight kernals: 90 with Wavelength: 1 to Processing Element +15 ns: INFO: OpticalToElectrical: 1 Received cross-chiplet data: 0 with Wavelength: 1 +15 ns: INFO: OpticalToElectrical: 1 Forwarding weight kernals: 0 with Wavelength: 1 to Processing Element: 1 15 ns: INFO: OpticalToElectrical: 1 Transaction completed successfully from OEC: 1 to Processing Element -15 ns: INFO: OpticalToElectrical: 1 Received cross-chiplet data: 90 with Wavelength: 1 -15 ns: INFO: OpticalToElectrical: 1 Forwarding weight kernals: 90 with Wavelength: 1 to Processing Element +15 ns: INFO: OpticalToElectrical: 1 Received cross-chiplet data: 0 with Wavelength: 1 +15 ns: INFO: OpticalToElectrical: 1 Forwarding weight kernals: 0 with Wavelength: 1 to Processing Element: 1 15 ns: INFO: OpticalToElectrical: 1 Transaction completed successfully from OEC: 1 to Processing Element -15 ns: INFO: OpticalToElectrical: 1 Received cross-chiplet data: 90 with Wavelength: 1 -15 ns: INFO: OpticalToElectrical: 1 Forwarding weight kernals: 90 with Wavelength: 1 to Processing Element +15 ns: INFO: OpticalToElectrical: 1 Received cross-chiplet data: 0 with Wavelength: 1 +15 ns: INFO: OpticalToElectrical: 1 Forwarding weight kernals: 0 with Wavelength: 1 to Processing Element: 1 15 ns: INFO: OpticalToElectrical: 1 Transaction completed successfully from OEC: 1 to Processing Element -15 ns: INFO: OpticalToElectrical: 1 Optical to Electrical converter received PSUM from PE: 1 with data: 6480 +15 ns: INFO: OpticalToElectrical: 1 Optical to Electrical converter received PSUM from PE: 1 with data: 0 15 ns: INFO: OpticalToElectrical: 1 Forwarding the PSUMs from PE: 1 to chiplet interface: 1 15 ns: INFO: OpticalToElectrical: 1 PSUM Transaction completed successfully from OEC: 1 to Chiplet Interface -15 ns: INFO: OpticalToElectrical: 1 Optical to Electrical converter received PSUM from PE: 1 with data: 270 +15 ns: INFO: OpticalToElectrical: 1 Optical to Electrical converter received PSUM from PE: 1 with data: 0 15 ns: INFO: OpticalToElectrical: 1 Forwarding the PSUMs from PE: 1 to chiplet interface: 0 15 ns: INFO: OpticalToElectrical: 1 PSUM Transaction completed successfully from OEC: 1 to Chiplet Interface -20 ns: INFO: OpticalToElectrical: 0 Received input feature: 52 with Wavelength: 6 -20 ns: INFO: OpticalToElectrical: 0 Forwarding input features: 52 with Wavelength: 6 to Processing Element +20 ns: INFO: OpticalToElectrical: 0 Received input feature: 86 with Wavelength: 6 +20 ns: INFO: OpticalToElectrical: 0 Forwarding input features: 86 with Wavelength: 6 to Processing Element: 0 20 ns: INFO: OpticalToElectrical: 0 Transaction completed successfully from OEC: 0 to Processing Element -20 ns: INFO: OpticalToElectrical: 1 Received input feature: 52 with Wavelength: 6 -20 ns: INFO: OpticalToElectrical: 1 Forwarding input features: 52 with Wavelength: 6 to Processing Element +20 ns: INFO: OpticalToElectrical: 1 Received input feature: 86 with Wavelength: 6 +20 ns: INFO: OpticalToElectrical: 1 Forwarding input features: 86 with Wavelength: 6 to Processing Element: 1 20 ns: INFO: OpticalToElectrical: 1 Transaction completed successfully from OEC: 1 to Processing Element -20 ns: INFO: OpticalToElectrical: 2 Received input feature: 52 with Wavelength: 6 -20 ns: INFO: OpticalToElectrical: 2 Forwarding input features: 52 with Wavelength: 6 to Processing Element +20 ns: INFO: OpticalToElectrical: 2 Received input feature: 86 with Wavelength: 6 +20 ns: INFO: OpticalToElectrical: 2 Forwarding input features: 86 with Wavelength: 6 to Processing Element: 2 20 ns: INFO: OpticalToElectrical: 2 Transaction completed successfully from OEC: 2 to Processing Element -20 ns: INFO: OpticalToElectrical: 3 Received input feature: 52 with Wavelength: 6 -20 ns: INFO: OpticalToElectrical: 3 Forwarding input features: 52 with Wavelength: 6 to Processing Element +20 ns: INFO: OpticalToElectrical: 3 Received input feature: 86 with Wavelength: 6 +20 ns: INFO: OpticalToElectrical: 3 Forwarding input features: 86 with Wavelength: 6 to Processing Element: 3 20 ns: INFO: OpticalToElectrical: 3 Transaction completed successfully from OEC: 3 to Processing Element -20 ns: INFO: OpticalToElectrical: 0 Optical to Electrical converter received PSUM from PE: 0 with data: 156 +20 ns: INFO: OpticalToElectrical: 0 Optical to Electrical converter received PSUM from PE: 0 with data: 2322 20 ns: INFO: OpticalToElectrical: 0 Forwarding the PSUMs from PE: 0 to chiplet interface: 2 20 ns: INFO: OpticalToElectrical: 0 PSUM Transaction completed successfully from OEC: 0 to Chiplet Interface -20 ns: INFO: OpticalToElectrical: 1 Optical to Electrical converter received PSUM from PE: 1 with data: 4680 +20 ns: INFO: OpticalToElectrical: 1 Optical to Electrical converter received PSUM from PE: 1 with data: 0 20 ns: INFO: OpticalToElectrical: 1 Forwarding the PSUMs from PE: 1 to chiplet interface: 2 20 ns: INFO: OpticalToElectrical: 1 PSUM Transaction completed successfully from OEC: 1 to Chiplet Interface -30 ns: INFO: OpticalToElectrical: 2 Received cross-chiplet data: 35 with Wavelength: 2 -30 ns: INFO: OpticalToElectrical: 2 Forwarding weight kernals: 35 with Wavelength: 2 to Processing Element +30 ns: INFO: OpticalToElectrical: 2 Received cross-chiplet data: 37 with Wavelength: 2 +30 ns: INFO: OpticalToElectrical: 2 Forwarding weight kernals: 37 with Wavelength: 2 to Processing Element: 2 30 ns: INFO: OpticalToElectrical: 2 Transaction completed successfully from OEC: 2 to Processing Element -30 ns: INFO: OpticalToElectrical: 2 Received cross-chiplet data: 35 with Wavelength: 2 -30 ns: INFO: OpticalToElectrical: 2 Forwarding weight kernals: 35 with Wavelength: 2 to Processing Element +30 ns: INFO: OpticalToElectrical: 2 Received cross-chiplet data: 37 with Wavelength: 2 +30 ns: INFO: OpticalToElectrical: 2 Forwarding weight kernals: 37 with Wavelength: 2 to Processing Element: 2 30 ns: INFO: OpticalToElectrical: 2 Transaction completed successfully from OEC: 2 to Processing Element -30 ns: INFO: OpticalToElectrical: 2 Received cross-chiplet data: 35 with Wavelength: 2 -30 ns: INFO: OpticalToElectrical: 2 Forwarding weight kernals: 35 with Wavelength: 2 to Processing Element +30 ns: INFO: OpticalToElectrical: 2 Received cross-chiplet data: 37 with Wavelength: 2 +30 ns: INFO: OpticalToElectrical: 2 Forwarding weight kernals: 37 with Wavelength: 2 to Processing Element: 2 30 ns: INFO: OpticalToElectrical: 2 Transaction completed successfully from OEC: 2 to Processing Element -30 ns: INFO: OpticalToElectrical: 2 Received cross-chiplet data: 35 with Wavelength: 2 -30 ns: INFO: OpticalToElectrical: 2 Forwarding weight kernals: 35 with Wavelength: 2 to Processing Element +30 ns: INFO: OpticalToElectrical: 2 Received cross-chiplet data: 37 with Wavelength: 2 +30 ns: INFO: OpticalToElectrical: 2 Forwarding weight kernals: 37 with Wavelength: 2 to Processing Element: 2 30 ns: INFO: OpticalToElectrical: 2 Transaction completed successfully from OEC: 2 to Processing Element -30 ns: INFO: OpticalToElectrical: 0 Received input feature: 13 with Wavelength: 7 -30 ns: INFO: OpticalToElectrical: 0 Forwarding input features: 13 with Wavelength: 7 to Processing Element +30 ns: INFO: OpticalToElectrical: 0 Received input feature: 48 with Wavelength: 7 +30 ns: INFO: OpticalToElectrical: 0 Forwarding input features: 48 with Wavelength: 7 to Processing Element: 0 30 ns: INFO: OpticalToElectrical: 0 Transaction completed successfully from OEC: 0 to Processing Element -30 ns: INFO: OpticalToElectrical: 1 Received input feature: 13 with Wavelength: 7 -30 ns: INFO: OpticalToElectrical: 1 Forwarding input features: 13 with Wavelength: 7 to Processing Element +30 ns: INFO: OpticalToElectrical: 1 Received input feature: 48 with Wavelength: 7 +30 ns: INFO: OpticalToElectrical: 1 Forwarding input features: 48 with Wavelength: 7 to Processing Element: 1 30 ns: INFO: OpticalToElectrical: 1 Transaction completed successfully from OEC: 1 to Processing Element -30 ns: INFO: OpticalToElectrical: 2 Received input feature: 13 with Wavelength: 7 -30 ns: INFO: OpticalToElectrical: 2 Forwarding input features: 13 with Wavelength: 7 to Processing Element +30 ns: INFO: OpticalToElectrical: 2 Received input feature: 48 with Wavelength: 7 +30 ns: INFO: OpticalToElectrical: 2 Forwarding input features: 48 with Wavelength: 7 to Processing Element: 2 30 ns: INFO: OpticalToElectrical: 2 Transaction completed successfully from OEC: 2 to Processing Element -30 ns: INFO: OpticalToElectrical: 3 Received input feature: 13 with Wavelength: 7 -30 ns: INFO: OpticalToElectrical: 3 Forwarding input features: 13 with Wavelength: 7 to Processing Element +30 ns: INFO: OpticalToElectrical: 3 Received input feature: 48 with Wavelength: 7 +30 ns: INFO: OpticalToElectrical: 3 Forwarding input features: 48 with Wavelength: 7 to Processing Element: 3 30 ns: INFO: OpticalToElectrical: 3 Transaction completed successfully from OEC: 3 to Processing Element -30 ns: INFO: OpticalToElectrical: 0 Optical to Electrical converter received PSUM from PE: 0 with data: 39 +30 ns: INFO: OpticalToElectrical: 0 Optical to Electrical converter received PSUM from PE: 0 with data: 1296 30 ns: INFO: OpticalToElectrical: 0 Forwarding the PSUMs from PE: 0 to chiplet interface: 3 30 ns: INFO: OpticalToElectrical: 0 PSUM Transaction completed successfully from OEC: 0 to Chiplet Interface -30 ns: INFO: OpticalToElectrical: 2 Optical to Electrical converter received PSUM from PE: 2 with data: 1820 +30 ns: INFO: OpticalToElectrical: 2 Optical to Electrical converter received PSUM from PE: 2 with data: 3182 30 ns: INFO: OpticalToElectrical: 2 Forwarding the PSUMs from PE: 2 to chiplet interface: 2 30 ns: INFO: OpticalToElectrical: 2 PSUM Transaction completed successfully from OEC: 2 to Chiplet Interface -30 ns: INFO: OpticalToElectrical: 2 Optical to Electrical converter received PSUM from PE: 2 with data: 2520 +30 ns: INFO: OpticalToElectrical: 2 Optical to Electrical converter received PSUM from PE: 2 with data: 2442 30 ns: INFO: OpticalToElectrical: 2 Forwarding the PSUMs from PE: 2 to chiplet interface: 1 30 ns: INFO: OpticalToElectrical: 2 PSUM Transaction completed successfully from OEC: 2 to Chiplet Interface -30 ns: INFO: OpticalToElectrical: 2 Optical to Electrical converter received PSUM from PE: 2 with data: 105 +30 ns: INFO: OpticalToElectrical: 2 Optical to Electrical converter received PSUM from PE: 2 with data: 999 30 ns: INFO: OpticalToElectrical: 2 Forwarding the PSUMs from PE: 2 to chiplet interface: 0 30 ns: INFO: OpticalToElectrical: 2 PSUM Transaction completed successfully from OEC: 2 to Chiplet Interface -30 ns: INFO: OpticalToElectrical: 1 Optical to Electrical converter received PSUM from PE: 1 with data: 1170 +30 ns: INFO: OpticalToElectrical: 1 Optical to Electrical converter received PSUM from PE: 1 with data: 0 30 ns: INFO: OpticalToElectrical: 1 Forwarding the PSUMs from PE: 1 to chiplet interface: 3 30 ns: INFO: OpticalToElectrical: 1 PSUM Transaction completed successfully from OEC: 1 to Chiplet Interface -30 ns: INFO: OpticalToElectrical: 2 Optical to Electrical converter received PSUM from PE: 2 with data: 455 +30 ns: INFO: OpticalToElectrical: 2 Optical to Electrical converter received PSUM from PE: 2 with data: 1776 30 ns: INFO: OpticalToElectrical: 2 Forwarding the PSUMs from PE: 2 to chiplet interface: 3 30 ns: INFO: OpticalToElectrical: 2 PSUM Transaction completed successfully from OEC: 2 to Chiplet Interface -45 ns: INFO: OpticalToElectrical: 3 Received cross-chiplet data: 24 with Wavelength: 3 -45 ns: INFO: OpticalToElectrical: 3 Forwarding weight kernals: 24 with Wavelength: 3 to Processing Element +45 ns: INFO: OpticalToElectrical: 3 Received cross-chiplet data: 62 with Wavelength: 3 +45 ns: INFO: OpticalToElectrical: 3 Forwarding weight kernals: 62 with Wavelength: 3 to Processing Element: 3 45 ns: INFO: OpticalToElectrical: 3 Transaction completed successfully from OEC: 3 to Processing Element -45 ns: INFO: OpticalToElectrical: 3 Received cross-chiplet data: 24 with Wavelength: 3 -45 ns: INFO: OpticalToElectrical: 3 Forwarding weight kernals: 24 with Wavelength: 3 to Processing Element +45 ns: INFO: OpticalToElectrical: 3 Received cross-chiplet data: 62 with Wavelength: 3 +45 ns: INFO: OpticalToElectrical: 3 Forwarding weight kernals: 62 with Wavelength: 3 to Processing Element: 3 45 ns: INFO: OpticalToElectrical: 3 Transaction completed successfully from OEC: 3 to Processing Element -45 ns: INFO: OpticalToElectrical: 3 Received cross-chiplet data: 24 with Wavelength: 3 -45 ns: INFO: OpticalToElectrical: 3 Forwarding weight kernals: 24 with Wavelength: 3 to Processing Element +45 ns: INFO: OpticalToElectrical: 3 Received cross-chiplet data: 62 with Wavelength: 3 +45 ns: INFO: OpticalToElectrical: 3 Forwarding weight kernals: 62 with Wavelength: 3 to Processing Element: 3 45 ns: INFO: OpticalToElectrical: 3 Transaction completed successfully from OEC: 3 to Processing Element -45 ns: INFO: OpticalToElectrical: 3 Received cross-chiplet data: 24 with Wavelength: 3 -45 ns: INFO: OpticalToElectrical: 3 Forwarding weight kernals: 24 with Wavelength: 3 to Processing Element +45 ns: INFO: OpticalToElectrical: 3 Received cross-chiplet data: 62 with Wavelength: 3 +45 ns: INFO: OpticalToElectrical: 3 Forwarding weight kernals: 62 with Wavelength: 3 to Processing Element: 3 45 ns: INFO: OpticalToElectrical: 3 Transaction completed successfully from OEC: 3 to Processing Element -45 ns: INFO: OpticalToElectrical: 3 Optical to Electrical converter received PSUM from PE: 3 with data: 312 +45 ns: INFO: OpticalToElectrical: 3 Optical to Electrical converter received PSUM from PE: 3 with data: 2976 45 ns: INFO: OpticalToElectrical: 3 Forwarding the PSUMs from PE: 3 to chiplet interface: 3 45 ns: INFO: OpticalToElectrical: 3 PSUM Transaction completed successfully from OEC: 3 to Chiplet Interface -45 ns: INFO: OpticalToElectrical: 3 Optical to Electrical converter received PSUM from PE: 3 with data: 1248 +45 ns: INFO: OpticalToElectrical: 3 Optical to Electrical converter received PSUM from PE: 3 with data: 5332 45 ns: INFO: OpticalToElectrical: 3 Forwarding the PSUMs from PE: 3 to chiplet interface: 2 45 ns: INFO: OpticalToElectrical: 3 PSUM Transaction completed successfully from OEC: 3 to Chiplet Interface -45 ns: INFO: OpticalToElectrical: 3 Optical to Electrical converter received PSUM from PE: 3 with data: 1728 +45 ns: INFO: OpticalToElectrical: 3 Optical to Electrical converter received PSUM from PE: 3 with data: 4092 45 ns: INFO: OpticalToElectrical: 3 Forwarding the PSUMs from PE: 3 to chiplet interface: 1 45 ns: INFO: OpticalToElectrical: 3 PSUM Transaction completed successfully from OEC: 3 to Chiplet Interface -45 ns: INFO: OpticalToElectrical: 3 Optical to Electrical converter received PSUM from PE: 3 with data: 72 +45 ns: INFO: OpticalToElectrical: 3 Optical to Electrical converter received PSUM from PE: 3 with data: 1674 45 ns: INFO: OpticalToElectrical: 3 Forwarding the PSUMs from PE: 3 to chiplet interface: 0 45 ns: INFO: OpticalToElectrical: 3 PSUM Transaction completed successfully from OEC: 3 to Chiplet Interface diff --git a/out/pe_comm.log b/out/pe_comm.log index 749bbf6..217499b 100644 --- a/out/pe_comm.log +++ b/out/pe_comm.log @@ -1,96 +1,96 @@ -0 s: INFO: ProcessingElement: 0 Received input feature: 3 with Wavelength: 4 -0 s: INFO: ProcessingElement: 0 writing the input features: 3 with Wavelength: 4 to FiFo -0 s: INFO: ProcessingElement: 1 Received input feature: 3 with Wavelength: 4 -0 s: INFO: ProcessingElement: 1 writing the input features: 3 with Wavelength: 4 to FiFo -0 s: INFO: ProcessingElement: 2 Received input feature: 3 with Wavelength: 4 -0 s: INFO: ProcessingElement: 2 writing the input features: 3 with Wavelength: 4 to FiFo -0 s: INFO: ProcessingElement: 3 Received input feature: 3 with Wavelength: 4 -0 s: INFO: ProcessingElement: 3 writing the input features: 3 with Wavelength: 4 to FiFo -0 s: INFO: ProcessingElement: 0 Received cross-chiplet data: 3 with Wavelength: 0 -0 s: INFO: ProcessingElement: 0 Saving weight kernals: 3 with Wavelength: 0 to Fifo -0 s: INFO: ProcessingElement: 0 Received cross-chiplet data: 3 with Wavelength: 0 -0 s: INFO: ProcessingElement: 0 Saving weight kernals: 3 with Wavelength: 0 to Fifo -0 s: INFO: ProcessingElement: 0 Received cross-chiplet data: 3 with Wavelength: 0 -0 s: INFO: ProcessingElement: 0 Saving weight kernals: 3 with Wavelength: 0 to Fifo -0 s: INFO: ProcessingElement: 0 Received cross-chiplet data: 3 with Wavelength: 0 -0 s: INFO: ProcessingElement: 0 Saving weight kernals: 3 with Wavelength: 0 to Fifo -0 s: INFO: ProcessingElement: 0 Transmitting PSUM: 9 +0 s: INFO: ProcessingElement: 0 Received input feature: 27 with Wavelength: 4 +0 s: INFO: ProcessingElement: 0 writing the input features: 27 with Wavelength: 4 to FiFo +0 s: INFO: ProcessingElement: 1 Received input feature: 27 with Wavelength: 4 +0 s: INFO: ProcessingElement: 1 writing the input features: 27 with Wavelength: 4 to FiFo +0 s: INFO: ProcessingElement: 2 Received input feature: 27 with Wavelength: 4 +0 s: INFO: ProcessingElement: 2 writing the input features: 27 with Wavelength: 4 to FiFo +0 s: INFO: ProcessingElement: 3 Received input feature: 27 with Wavelength: 4 +0 s: INFO: ProcessingElement: 3 writing the input features: 27 with Wavelength: 4 to FiFo +0 s: INFO: ProcessingElement: 0 Received cross-chiplet data: 27 with Wavelength: 0 +0 s: INFO: ProcessingElement: 0 Saving weight kernals: 27 with Wavelength: 0 to Fifo +0 s: INFO: ProcessingElement: 0 Received cross-chiplet data: 27 with Wavelength: 0 +0 s: INFO: ProcessingElement: 0 Saving weight kernals: 27 with Wavelength: 0 to Fifo +0 s: INFO: ProcessingElement: 0 Received cross-chiplet data: 27 with Wavelength: 0 +0 s: INFO: ProcessingElement: 0 Saving weight kernals: 27 with Wavelength: 0 to Fifo +0 s: INFO: ProcessingElement: 0 Received cross-chiplet data: 27 with Wavelength: 0 +0 s: INFO: ProcessingElement: 0 Saving weight kernals: 27 with Wavelength: 0 to Fifo +0 s: INFO: ProcessingElement: 0 Transmitting PSUM: 729 0 s: INFO: ProcessingElement: 0 Transaction of PSUM completed successfully at time 0 s from PE: 0 to OEC -10 ns: INFO: ProcessingElement: 0 Received input feature: 72 with Wavelength: 5 -10 ns: INFO: ProcessingElement: 0 writing the input features: 72 with Wavelength: 5 to FiFo -10 ns: INFO: ProcessingElement: 1 Received input feature: 72 with Wavelength: 5 -10 ns: INFO: ProcessingElement: 1 writing the input features: 72 with Wavelength: 5 to FiFo -10 ns: INFO: ProcessingElement: 2 Received input feature: 72 with Wavelength: 5 -10 ns: INFO: ProcessingElement: 2 writing the input features: 72 with Wavelength: 5 to FiFo -10 ns: INFO: ProcessingElement: 3 Received input feature: 72 with Wavelength: 5 -10 ns: INFO: ProcessingElement: 3 writing the input features: 72 with Wavelength: 5 to FiFo -10 ns: INFO: ProcessingElement: 0 Transmitting PSUM: 216 +10 ns: INFO: ProcessingElement: 0 Received input feature: 66 with Wavelength: 5 +10 ns: INFO: ProcessingElement: 0 writing the input features: 66 with Wavelength: 5 to FiFo +10 ns: INFO: ProcessingElement: 1 Received input feature: 66 with Wavelength: 5 +10 ns: INFO: ProcessingElement: 1 writing the input features: 66 with Wavelength: 5 to FiFo +10 ns: INFO: ProcessingElement: 2 Received input feature: 66 with Wavelength: 5 +10 ns: INFO: ProcessingElement: 2 writing the input features: 66 with Wavelength: 5 to FiFo +10 ns: INFO: ProcessingElement: 3 Received input feature: 66 with Wavelength: 5 +10 ns: INFO: ProcessingElement: 3 writing the input features: 66 with Wavelength: 5 to FiFo +10 ns: INFO: ProcessingElement: 0 Transmitting PSUM: 1782 10 ns: INFO: ProcessingElement: 0 Transaction of PSUM completed successfully at time 10 ns from PE: 0 to OEC -15 ns: INFO: ProcessingElement: 1 Received cross-chiplet data: 90 with Wavelength: 1 -15 ns: INFO: ProcessingElement: 1 Saving weight kernals: 90 with Wavelength: 1 to Fifo -15 ns: INFO: ProcessingElement: 1 Received cross-chiplet data: 90 with Wavelength: 1 -15 ns: INFO: ProcessingElement: 1 Saving weight kernals: 90 with Wavelength: 1 to Fifo -15 ns: INFO: ProcessingElement: 1 Received cross-chiplet data: 90 with Wavelength: 1 -15 ns: INFO: ProcessingElement: 1 Saving weight kernals: 90 with Wavelength: 1 to Fifo -15 ns: INFO: ProcessingElement: 1 Received cross-chiplet data: 90 with Wavelength: 1 -15 ns: INFO: ProcessingElement: 1 Saving weight kernals: 90 with Wavelength: 1 to Fifo -15 ns: INFO: ProcessingElement: 1 Transmitting PSUM: 6480 +15 ns: INFO: ProcessingElement: 1 Received cross-chiplet data: 0 with Wavelength: 1 +15 ns: INFO: ProcessingElement: 1 Saving weight kernals: 0 with Wavelength: 1 to Fifo +15 ns: INFO: ProcessingElement: 1 Received cross-chiplet data: 0 with Wavelength: 1 +15 ns: INFO: ProcessingElement: 1 Saving weight kernals: 0 with Wavelength: 1 to Fifo +15 ns: INFO: ProcessingElement: 1 Received cross-chiplet data: 0 with Wavelength: 1 +15 ns: INFO: ProcessingElement: 1 Saving weight kernals: 0 with Wavelength: 1 to Fifo +15 ns: INFO: ProcessingElement: 1 Received cross-chiplet data: 0 with Wavelength: 1 +15 ns: INFO: ProcessingElement: 1 Saving weight kernals: 0 with Wavelength: 1 to Fifo +15 ns: INFO: ProcessingElement: 1 Transmitting PSUM: 0 15 ns: INFO: ProcessingElement: 1 Transaction of PSUM completed successfully at time 15 ns from PE: 1 to OEC -15 ns: INFO: ProcessingElement: 1 Transmitting PSUM: 270 +15 ns: INFO: ProcessingElement: 1 Transmitting PSUM: 0 15 ns: INFO: ProcessingElement: 1 Transaction of PSUM completed successfully at time 15 ns from PE: 1 to OEC -20 ns: INFO: ProcessingElement: 0 Received input feature: 52 with Wavelength: 6 -20 ns: INFO: ProcessingElement: 0 writing the input features: 52 with Wavelength: 6 to FiFo -20 ns: INFO: ProcessingElement: 1 Received input feature: 52 with Wavelength: 6 -20 ns: INFO: ProcessingElement: 1 writing the input features: 52 with Wavelength: 6 to FiFo -20 ns: INFO: ProcessingElement: 2 Received input feature: 52 with Wavelength: 6 -20 ns: INFO: ProcessingElement: 2 writing the input features: 52 with Wavelength: 6 to FiFo -20 ns: INFO: ProcessingElement: 3 Received input feature: 52 with Wavelength: 6 -20 ns: INFO: ProcessingElement: 3 writing the input features: 52 with Wavelength: 6 to FiFo -20 ns: INFO: ProcessingElement: 0 Transmitting PSUM: 156 +20 ns: INFO: ProcessingElement: 0 Received input feature: 86 with Wavelength: 6 +20 ns: INFO: ProcessingElement: 0 writing the input features: 86 with Wavelength: 6 to FiFo +20 ns: INFO: ProcessingElement: 1 Received input feature: 86 with Wavelength: 6 +20 ns: INFO: ProcessingElement: 1 writing the input features: 86 with Wavelength: 6 to FiFo +20 ns: INFO: ProcessingElement: 2 Received input feature: 86 with Wavelength: 6 +20 ns: INFO: ProcessingElement: 2 writing the input features: 86 with Wavelength: 6 to FiFo +20 ns: INFO: ProcessingElement: 3 Received input feature: 86 with Wavelength: 6 +20 ns: INFO: ProcessingElement: 3 writing the input features: 86 with Wavelength: 6 to FiFo +20 ns: INFO: ProcessingElement: 0 Transmitting PSUM: 2322 20 ns: INFO: ProcessingElement: 0 Transaction of PSUM completed successfully at time 20 ns from PE: 0 to OEC -20 ns: INFO: ProcessingElement: 1 Transmitting PSUM: 4680 +20 ns: INFO: ProcessingElement: 1 Transmitting PSUM: 0 20 ns: INFO: ProcessingElement: 1 Transaction of PSUM completed successfully at time 20 ns from PE: 1 to OEC -30 ns: INFO: ProcessingElement: 2 Received cross-chiplet data: 35 with Wavelength: 2 -30 ns: INFO: ProcessingElement: 2 Saving weight kernals: 35 with Wavelength: 2 to Fifo -30 ns: INFO: ProcessingElement: 2 Received cross-chiplet data: 35 with Wavelength: 2 -30 ns: INFO: ProcessingElement: 2 Saving weight kernals: 35 with Wavelength: 2 to Fifo -30 ns: INFO: ProcessingElement: 2 Received cross-chiplet data: 35 with Wavelength: 2 -30 ns: INFO: ProcessingElement: 2 Saving weight kernals: 35 with Wavelength: 2 to Fifo -30 ns: INFO: ProcessingElement: 2 Received cross-chiplet data: 35 with Wavelength: 2 -30 ns: INFO: ProcessingElement: 2 Saving weight kernals: 35 with Wavelength: 2 to Fifo -30 ns: INFO: ProcessingElement: 0 Received input feature: 13 with Wavelength: 7 -30 ns: INFO: ProcessingElement: 0 writing the input features: 13 with Wavelength: 7 to FiFo -30 ns: INFO: ProcessingElement: 1 Received input feature: 13 with Wavelength: 7 -30 ns: INFO: ProcessingElement: 1 writing the input features: 13 with Wavelength: 7 to FiFo -30 ns: INFO: ProcessingElement: 2 Received input feature: 13 with Wavelength: 7 -30 ns: INFO: ProcessingElement: 2 writing the input features: 13 with Wavelength: 7 to FiFo -30 ns: INFO: ProcessingElement: 3 Received input feature: 13 with Wavelength: 7 -30 ns: INFO: ProcessingElement: 3 writing the input features: 13 with Wavelength: 7 to FiFo -30 ns: INFO: ProcessingElement: 0 Transmitting PSUM: 39 +30 ns: INFO: ProcessingElement: 2 Received cross-chiplet data: 37 with Wavelength: 2 +30 ns: INFO: ProcessingElement: 2 Saving weight kernals: 37 with Wavelength: 2 to Fifo +30 ns: INFO: ProcessingElement: 2 Received cross-chiplet data: 37 with Wavelength: 2 +30 ns: INFO: ProcessingElement: 2 Saving weight kernals: 37 with Wavelength: 2 to Fifo +30 ns: INFO: ProcessingElement: 2 Received cross-chiplet data: 37 with Wavelength: 2 +30 ns: INFO: ProcessingElement: 2 Saving weight kernals: 37 with Wavelength: 2 to Fifo +30 ns: INFO: ProcessingElement: 2 Received cross-chiplet data: 37 with Wavelength: 2 +30 ns: INFO: ProcessingElement: 2 Saving weight kernals: 37 with Wavelength: 2 to Fifo +30 ns: INFO: ProcessingElement: 0 Received input feature: 48 with Wavelength: 7 +30 ns: INFO: ProcessingElement: 0 writing the input features: 48 with Wavelength: 7 to FiFo +30 ns: INFO: ProcessingElement: 1 Received input feature: 48 with Wavelength: 7 +30 ns: INFO: ProcessingElement: 1 writing the input features: 48 with Wavelength: 7 to FiFo +30 ns: INFO: ProcessingElement: 2 Received input feature: 48 with Wavelength: 7 +30 ns: INFO: ProcessingElement: 2 writing the input features: 48 with Wavelength: 7 to FiFo +30 ns: INFO: ProcessingElement: 3 Received input feature: 48 with Wavelength: 7 +30 ns: INFO: ProcessingElement: 3 writing the input features: 48 with Wavelength: 7 to FiFo +30 ns: INFO: ProcessingElement: 0 Transmitting PSUM: 1296 30 ns: INFO: ProcessingElement: 0 Transaction of PSUM completed successfully at time 30 ns from PE: 0 to OEC -30 ns: INFO: ProcessingElement: 2 Transmitting PSUM: 1820 +30 ns: INFO: ProcessingElement: 2 Transmitting PSUM: 3182 30 ns: INFO: ProcessingElement: 2 Transaction of PSUM completed successfully at time 30 ns from PE: 2 to OEC -30 ns: INFO: ProcessingElement: 2 Transmitting PSUM: 2520 +30 ns: INFO: ProcessingElement: 2 Transmitting PSUM: 2442 30 ns: INFO: ProcessingElement: 2 Transaction of PSUM completed successfully at time 30 ns from PE: 2 to OEC -30 ns: INFO: ProcessingElement: 2 Transmitting PSUM: 105 +30 ns: INFO: ProcessingElement: 2 Transmitting PSUM: 999 30 ns: INFO: ProcessingElement: 2 Transaction of PSUM completed successfully at time 30 ns from PE: 2 to OEC -30 ns: INFO: ProcessingElement: 1 Transmitting PSUM: 1170 +30 ns: INFO: ProcessingElement: 1 Transmitting PSUM: 0 30 ns: INFO: ProcessingElement: 1 Transaction of PSUM completed successfully at time 30 ns from PE: 1 to OEC -30 ns: INFO: ProcessingElement: 2 Transmitting PSUM: 455 +30 ns: INFO: ProcessingElement: 2 Transmitting PSUM: 1776 30 ns: INFO: ProcessingElement: 2 Transaction of PSUM completed successfully at time 30 ns from PE: 2 to OEC -45 ns: INFO: ProcessingElement: 3 Received cross-chiplet data: 24 with Wavelength: 3 -45 ns: INFO: ProcessingElement: 3 Saving weight kernals: 24 with Wavelength: 3 to Fifo -45 ns: INFO: ProcessingElement: 3 Received cross-chiplet data: 24 with Wavelength: 3 -45 ns: INFO: ProcessingElement: 3 Saving weight kernals: 24 with Wavelength: 3 to Fifo -45 ns: INFO: ProcessingElement: 3 Received cross-chiplet data: 24 with Wavelength: 3 -45 ns: INFO: ProcessingElement: 3 Saving weight kernals: 24 with Wavelength: 3 to Fifo -45 ns: INFO: ProcessingElement: 3 Received cross-chiplet data: 24 with Wavelength: 3 -45 ns: INFO: ProcessingElement: 3 Saving weight kernals: 24 with Wavelength: 3 to Fifo -45 ns: INFO: ProcessingElement: 3 Transmitting PSUM: 312 +45 ns: INFO: ProcessingElement: 3 Received cross-chiplet data: 62 with Wavelength: 3 +45 ns: INFO: ProcessingElement: 3 Saving weight kernals: 62 with Wavelength: 3 to Fifo +45 ns: INFO: ProcessingElement: 3 Received cross-chiplet data: 62 with Wavelength: 3 +45 ns: INFO: ProcessingElement: 3 Saving weight kernals: 62 with Wavelength: 3 to Fifo +45 ns: INFO: ProcessingElement: 3 Received cross-chiplet data: 62 with Wavelength: 3 +45 ns: INFO: ProcessingElement: 3 Saving weight kernals: 62 with Wavelength: 3 to Fifo +45 ns: INFO: ProcessingElement: 3 Received cross-chiplet data: 62 with Wavelength: 3 +45 ns: INFO: ProcessingElement: 3 Saving weight kernals: 62 with Wavelength: 3 to Fifo +45 ns: INFO: ProcessingElement: 3 Transmitting PSUM: 2976 45 ns: INFO: ProcessingElement: 3 Transaction of PSUM completed successfully at time 45 ns from PE: 3 to OEC -45 ns: INFO: ProcessingElement: 3 Transmitting PSUM: 1248 +45 ns: INFO: ProcessingElement: 3 Transmitting PSUM: 5332 45 ns: INFO: ProcessingElement: 3 Transaction of PSUM completed successfully at time 45 ns from PE: 3 to OEC -45 ns: INFO: ProcessingElement: 3 Transmitting PSUM: 1728 +45 ns: INFO: ProcessingElement: 3 Transmitting PSUM: 4092 45 ns: INFO: ProcessingElement: 3 Transaction of PSUM completed successfully at time 45 ns from PE: 3 to OEC -45 ns: INFO: ProcessingElement: 3 Transmitting PSUM: 72 +45 ns: INFO: ProcessingElement: 3 Transmitting PSUM: 1674 45 ns: INFO: ProcessingElement: 3 Transaction of PSUM completed successfully at time 45 ns from PE: 3 to OEC diff --git a/out/simulation b/out/simulation index ff91f54..51fe49e 100644 Binary files a/out/simulation and b/out/simulation differ diff --git a/src/Chiplet/Chiplet_Interface.cpp b/src/Chiplet/Chiplet_Interface.cpp index ad4442d..bc9c70b 100644 --- a/src/Chiplet/Chiplet_Interface.cpp +++ b/src/Chiplet/Chiplet_Interface.cpp @@ -58,17 +58,11 @@ void ChipletInterface::ii_fetures_receive_b_transport(tlm_generic_payload& trans // Single-chiplet communication (λM) log_info(std::to_string(chiplet_id) + " Received input feature: " + std::to_string(chip_trans1->data) + " with Wavelength: " + std::to_string(single_wavelength)); //wait(sc_time(5, SC_NS)); - sc_time delay = SC_ZERO_TIME; + //sc_time delay = SC_ZERO_TIME; + delay += sc_time(5, SC_NS); // Forward the transaction - for (int i = 0; i < num_pes; ++i) { - log_info(std::to_string(chiplet_id) + " Forwarding input features: " + std::to_string(chip_trans1->data) + " with Wavelength: " + std::to_string(single_wavelength) + " to Optical to Electrical Converter: " + std::to_string(i)); - oec_features_send_sockets[i] -> b_transport(*chip_trans1, delay); // Send transaction to OEC - } - if(chip_trans1->get_response_status() == TLM_OK_RESPONSE) { - log_info( std::to_string(chiplet_id) + " Transaction of input feature " + std::to_string(chip_trans1->data) + " completed successfully from Chiplet Interface: " + std::to_string(chiplet_id) + " to OEC"); - } else { - log_error(std::to_string(chiplet_id) + " Error in transmitting data: " + std::to_string(chip_trans1->data) + " from Chiplet Interface to OEC"); - } + forward_features_to_O_E_converters(*chip_trans1, delay, single_wavelength); + } else { log_error(std::to_string(chiplet_id) + " Invalid or unrecognized address: " + std::to_string(address)); } @@ -77,6 +71,18 @@ void ChipletInterface::ii_fetures_receive_b_transport(tlm_generic_payload& trans } +void ChipletInterface::forward_features_to_O_E_converters(CustomPayload& trans, sc_time& delay, int single_wavelength){ + for (int i = 0; i < num_pes; ++i) { + log_info(std::to_string(chiplet_id) + " Forwarding input features: " + std::to_string(trans.data) + " with Wavelength: " + std::to_string(single_wavelength) + " to Optical to Electrical Converter: " + std::to_string(i)); + oec_features_send_sockets[i] -> b_transport(trans, delay); // Send transaction to OEC + } + if(trans.get_response_status() == TLM_OK_RESPONSE) { + log_info( std::to_string(chiplet_id) + " Transaction of input feature " + std::to_string(trans.data) + " completed successfully from Chiplet Interface: " + std::to_string(chiplet_id) + " to OEC"); + } else { + log_error(std::to_string(chiplet_id) + " Error in transmitting data: " + std::to_string(trans.data) + " from Chiplet Interface to OEC"); + } + +} // Handle incoming transactions - weight kernals from the Interposer Interface @@ -115,15 +121,10 @@ void ChipletInterface::ii_weight_receive_b_transport(tlm_generic_payload& trans, log_info(std::to_string(chiplet_id) + " Received Weight Kernal: " + std::to_string(chip_trans2->data) + " with Wavelength: " + std::to_string(cross_wavelength)); // Forward the transaction to the chiplet interface - sc_time delay = SC_ZERO_TIME; - oec_weight_send_sockets[cross_wavelength] -> b_transport(*chip_trans2, delay); // Send transaction to OEC - //chiplet_features_send_socket->b_transport(*chip_trans1, delay); // Send transaction to Chiplet Interface - log_info(std::to_string(chiplet_id) + " Forwarding Weight Kernal: " + std::to_string(chip_trans2->data) + " with Wavelength: " + std::to_string(cross_wavelength) + " to Optical to Electrical Converter"); - if(chip_trans2->get_response_status() == TLM_OK_RESPONSE) { - log_info( std::to_string(chiplet_id) + " Transaction of weight kernal" + std::to_string(chip_trans2->data) + " completed successfully from Chiplet Interface: " + std::to_string(chiplet_id) + " to OEC"); - }else{ - log_error(std::to_string(chiplet_id) + " Error in transmitting data: " + std::to_string(chip_trans2->data) + " from Chiplet Interface to OEC"); - } + //sc_time delay = SC_ZERO_TIME; + delay += sc_time(5, SC_NS); + forward_weight_to_O_E_converters(*chip_trans2, delay, cross_wavelength); + } else { log_error(std::to_string(chiplet_id) + " Invalid or unrecognized address: " + std::to_string(address)); } @@ -132,7 +133,16 @@ void ChipletInterface::ii_weight_receive_b_transport(tlm_generic_payload& trans, trans.set_response_status(TLM_OK_RESPONSE); // Set response status } - +void ChipletInterface::forward_weight_to_O_E_converters(CustomPayload& trans, sc_time& delay, int cross_wavelength){ + oec_weight_send_sockets[cross_wavelength] -> b_transport(trans, delay); // Send transaction to OEC + log_info(std::to_string(chiplet_id) + " Forwarding Weight Kernal: " + std::to_string(trans.data) + " with Wavelength: " + std::to_string(cross_wavelength) + " to Optical to Electrical Converter: " + std::to_string(cross_wavelength)); + if(trans.get_response_status() == TLM_OK_RESPONSE) { + log_info( std::to_string(chiplet_id) + " Transaction of weight kernal" + std::to_string(trans.data) + " completed successfully from Chiplet Interface: " + std::to_string(chiplet_id) + " to OEC"); + } else { + log_error(std::to_string(chiplet_id) + " Error in transmitting data: " + std::to_string(trans.data) + " from Chiplet Interface to OEC"); + } + +} //Handle incoming transactions from the OEC void ChipletInterface::oec_b_transport(tlm_generic_payload& trans, sc_time& delay) { @@ -171,22 +181,27 @@ void ChipletInterface::oec_b_transport(tlm_generic_payload& trans, sc_time& dela int unicast_wavelength = chiplet_index; log_info(std::to_string(chiplet_id) + " Chiplet Interface received PSUM from PE: " + std::to_string(rx_trans2->src_pe) + " through OEC with data: " + std::to_string(rx_trans2->psum)); - - // Forward the transaction to the Interposer interface - delay = SC_ZERO_TIME; - interposer_send_socket->b_transport(*rx_trans2, delay); - log_info(std::to_string(chiplet_id) + " Forwarding the PSUM " + std::to_string(rx_trans2->psum) + " from PE: " + std::to_string(rx_trans2->src_pe) + " to Interposer interface: " + std::to_string(rx_trans2->src_chiplet)); - if(rx_trans2->get_response_status() == TLM_OK_RESPONSE) { - log_info(std::to_string(chiplet_id) + " PSUM Transaction: " + std::to_string(rx_trans2->psum) + " completed successfully from Chiplet Interface: " + std::to_string(chiplet_id) + " to Interposer Interface"); - }else{ - log_error( std::to_string(chiplet_id) + " Error in transmitting PSUM: " + std::to_string(rx_trans2->psum) + " from Chiplet Interface to Interposer Interface "); - } - delete rx_trans2; // Clean up dynamically allocated memory trans.set_response_status(TLM_OK_RESPONSE); // Set response status + // Forward the transaction to the Interposer interface + //delay = SC_ZERO_TIME; + delay += sc_time(5, SC_NS); + forward_psum_to_interposer(*rx_trans2, delay); + + + delete rx_trans2; // Clean up dynamically allocated memory + } - - +void ChipletInterface::forward_psum_to_interposer(PESendPayload& trans, sc_time& delay){ + log_info(std::to_string(chiplet_id) + " Forwarding the PSUM " + std::to_string(trans.psum) + " from PE: " + std::to_string(trans.src_pe) + " to Interposer interface: " + std::to_string(trans.src_chiplet)); + interposer_send_socket->b_transport(trans, delay); + if(trans.get_response_status() == TLM_OK_RESPONSE) { + log_info(std::to_string(chiplet_id) + " PSUM Transaction: " + std::to_string(trans.psum) + " completed successfully from Chiplet Interface: " + std::to_string(chiplet_id) + " to Interposer Interface"); + }else{ + log_error( std::to_string(chiplet_id) + " Error in transmitting PSUM: " + std::to_string(trans.psum) + " from Chiplet Interface to Interposer Interface "); + } + +} void ChipletInterface::log_info(std::string msg){ SC_REPORT_INFO(C_LOG, msg.c_str()); diff --git a/src/Chiplet/Chiplet_Interface.h b/src/Chiplet/Chiplet_Interface.h index 6b318ca..c8ed470 100644 --- a/src/Chiplet/Chiplet_Interface.h +++ b/src/Chiplet/Chiplet_Interface.h @@ -36,12 +36,15 @@ private: // Handle incoming transactions from the Interposer Interface void ii_fetures_receive_b_transport(tlm_generic_payload& trans, sc_time& delay); void ii_weight_receive_b_transport(tlm_generic_payload& trans, sc_time& delay); - void send_psum_interposer(); + // Handle incoming transactions from the OEC void oec_b_transport(tlm_generic_payload& trans, sc_time& delay); // Forward transaction to O_E_converters - //void forward_to_O_E_converters(tlm_generic_payload& trans, int wavelength); - + void forward_features_to_O_E_converters(CustomPayload& trans, sc_time& delay, int single_wavelength); + void forward_weight_to_O_E_converters(CustomPayload& trans, sc_time& delay, int cross_wavelength); + //forward transaction to interposer interface + void forward_psum_to_interposer(PESendPayload& trans, sc_time& delay); + void log_info(std::string msg); void log_error(std::string msg); }; diff --git a/src/GB/Global_Buffer.cpp b/src/GB/Global_Buffer.cpp index 88f9db0..1e6d96d 100644 --- a/src/GB/Global_Buffer.cpp +++ b/src/GB/Global_Buffer.cpp @@ -33,7 +33,7 @@ void GlobalBuffer::generate_features() { seeded1 = true; } sc_time inter_transaction_delay = sc_time(10, SC_NS); // Delay between transactions - sc_time delay = SC_ZERO_TIME; + sc_core::sc_time delay = SC_ZERO_TIME; bool retry = false; // Retry flag // Iterate over all chiplets diff --git a/src/Interposer/Interposer_Interface.cpp b/src/Interposer/Interposer_Interface.cpp index 9578adc..6644449 100644 --- a/src/Interposer/Interposer_Interface.cpp +++ b/src/Interposer/Interposer_Interface.cpp @@ -13,6 +13,7 @@ InterposerInterface::InterposerInterface(sc_module_name name) gb_features_receive_socket.register_b_transport(this, &InterposerInterface::gb_features_b_transport); gb_weight_receive_socket.register_b_transport(this, &InterposerInterface::gb_weight_b_transport); chiplet_receive_socket.register_b_transport(this, &InterposerInterface::chiplet_b_transport); + } // Handle incoming transactions from the Global Buffer @@ -54,16 +55,11 @@ void InterposerInterface::gb_features_b_transport(tlm_generic_payload& trans, sc log_info(std::to_string(interposer_id) + " Received input feature: " + std::to_string(my_trans->data) + " with Wavelength: " + std::to_string(single_wavelength)); //wait(sc_time(5, SC_NS)); - sc_time delay = SC_ZERO_TIME; + //sc_time delay = SC_ZERO_TIME; + delay += sc_time(5, SC_NS); // Forward the transaction to the chiplet interface - log_info(std::to_string(interposer_id) + " Forwarding input features: " + std::to_string(my_trans->data) + " with Wavelength: " + std::to_string(single_wavelength) + " to chiplet interface"); - chiplet_features_send_socket->b_transport(*my_trans, delay); // Send transaction to Chiplet Interface + chiplet_features_send_transaction(*my_trans, delay, single_wavelength); - if(my_trans->get_response_status() == tlm::TLM_OK_RESPONSE) { - log_info(std::to_string(interposer_id) + " Transaction of input feature " + std::to_string(my_trans->data) + " completed successfully from Interposer Interface: " + std::to_string(interposer_id) + " to Chiplet Interface"); - }else{ - log_error(std::to_string(interposer_id) + " Error in transmitting data: " + std::to_string(my_trans->data) + " from Interposer Interface to Chiplet Interface"); - } } else { log_error(std::to_string(interposer_id) + " Invalid or unrecognized address: " + std::to_string(address)); } @@ -72,6 +68,18 @@ void InterposerInterface::gb_features_b_transport(tlm_generic_payload& trans, sc } +void InterposerInterface::chiplet_features_send_transaction(CustomPayload& trans, sc_time& delay, int single_wavelength) { + // Forward the transaction to the chiplet interface + log_info(std::to_string(interposer_id) + " Forwarding input features: " + std::to_string(trans.data) + " with Wavelength: " + std::to_string(single_wavelength) + " to chiplet interface"); + chiplet_features_send_socket->b_transport(trans, delay); // Send transaction to Chiplet Interface + + if(trans.get_response_status() == tlm::TLM_OK_RESPONSE) { + log_info(std::to_string(interposer_id) + " Transaction of input feature " + std::to_string(trans.data) + " completed successfully from Interposer Interface: " + std::to_string(interposer_id) + " to Chiplet Interface"); + } else { + log_error(std::to_string(interposer_id) + " Error in transmitting data: " + std::to_string(trans.data) + " from Interposer Interface to Chiplet Interface"); + } + +} // Handle incoming weight kernals from the Global Buffer void InterposerInterface::gb_weight_b_transport(tlm_generic_payload& trans, sc_time& delay) { @@ -107,30 +115,32 @@ void InterposerInterface::gb_weight_b_transport(tlm_generic_payload& trans, sc_t // wait(4, SC_NS); // Cross-chiplet communication (λ0, λ1, λ2, ...) log_info(std::to_string(interposer_id) + " Received cross-chiplet data: " + std::to_string(new_trans->data) + " with Wavelength: " + std::to_string(cross_wavelength)); - - + trans.set_response_status(TLM_OK_RESPONSE); log_info(std::to_string(interposer_id) + " Splitting data for PE: " + std::to_string(cross_wavelength) + " to chiplet:" + std::to_string(interposer_id)); // Forward modified data to chiplet interface - sc_time delay = SC_ZERO_TIME; - chiplet_weight_send_socket->b_transport(*new_trans, delay); // Send transaction to Chiplet Interface - log_info(std::to_string(interposer_id) + " Forwarding weight kernals: " + std::to_string(new_trans->data) + " with Wavelength: " + std::to_string(cross_wavelength) + " to chiplet interface"); - if(new_trans->get_response_status() == TLM_OK_RESPONSE) { - log_info(std::to_string(interposer_id) + " Transaction of weight kernal " + std::to_string(new_trans->data) + " completed successfully from Interposer Interface: " + std::to_string(interposer_id) + " to Chiplet Interface"); - }else{ - log_error(std::to_string(interposer_id) + " Error in transmitting data: " + std::to_string(new_trans->data) + " from Interposer Interface to Chiplet Interface"); - } - - + //sc_time delay = SC_ZERO_TIME; + delay += sc_time(5, SC_NS); + chiplet_weight_send_transaction(*new_trans, delay, cross_wavelength); } else { log_error(std::to_string(interposer_id) + " Invalid or unrecognized address: " + std::to_string(address)); } delete new_trans; // Clean up dynamically allocated memory - // Complete the original transaction - trans.set_response_status(TLM_OK_RESPONSE); + // Complete the original transaction } +void InterposerInterface::chiplet_weight_send_transaction(CustomPayload& trans, sc_time& delay, int cross_wavelength){ + + chiplet_weight_send_socket->b_transport(trans, delay); // Send transaction to Chiplet Interface + log_info(std::to_string(interposer_id) + " Forwarding weight kernals: " + std::to_string(trans.data) + " with Wavelength: " + std::to_string(cross_wavelength) + " to chiplet interface"); + if(trans.get_response_status() == TLM_OK_RESPONSE) { + log_info(std::to_string(interposer_id) + " Transaction of weight kernal " + std::to_string(trans.data) + " completed successfully from Interposer Interface: " + std::to_string(interposer_id) + " to Chiplet Interface"); + } else { + log_error(std::to_string(interposer_id) + " Error in transmitting data: " + std::to_string(trans.data) + " from Interposer Interface to Chiplet Interface"); + } + +} //Handle incoming transactions from the Chiplet Interface void InterposerInterface::chiplet_b_transport(tlm_generic_payload& trans, sc_time& delay) { @@ -170,21 +180,26 @@ void InterposerInterface::chiplet_b_transport(tlm_generic_payload& trans, sc_tim // wait(4, SC_NS); log_info(std::to_string(interposer_id) + " received PSUM from PE: " + std::to_string(rx_trans3->src_pe) + " through OEC with data: " + std::to_string(rx_trans3->psum)); - - // Forward the transaction to the Global Buffer - delay = SC_ZERO_TIME; - gb_send_socket->b_transport(*rx_trans3, delay); - log_info(std::to_string(interposer_id) + " Forwarding the PSUMs from PE: " + std::to_string(rx_trans3->src_pe) + " to Global Buffer "); - if(rx_trans3->get_response_status() == TLM_OK_RESPONSE) { - log_info( std::to_string(interposer_id) + " Transaction of PSUM " + std::to_string(rx_trans3->psum) + " completed successfully from Interposer Interface: " + std::to_string(interposer_id) + " to Global Buffer"); - }else{ - log_error( std::to_string(interposer_id) + "Error in transmitting PSUM: " + std::to_string(rx_trans3->psum) + " from Interposer Interface to Global Buffer"); - } - delete rx_trans3; // Clean up dynamically allocated memory trans.set_response_status(TLM_OK_RESPONSE); // Set response status + + // Forward the transaction to the Global Buffer + //delay = SC_ZERO_TIME; + delay += sc_time(5, SC_NS); + gb_send_transaction(*rx_trans3, delay); + + delete rx_trans3; // Clean up dynamically allocated memory } - +void InterposerInterface::gb_send_transaction(PESendPayload& trans, sc_time& delay){ + gb_send_socket->b_transport(trans, delay); + log_info(std::to_string(interposer_id) + " Forwarding the PSUMs from PE: " + std::to_string(trans.src_pe) + " to Global Buffer "); + if(trans.get_response_status() == TLM_OK_RESPONSE) { + log_info( std::to_string(interposer_id) + " Transaction of PSUM " + std::to_string(trans.psum) + " completed successfully from Interposer Interface: " + std::to_string(interposer_id) + " to Global Buffer"); + }else{ + log_error( std::to_string(interposer_id) + "Error in transmitting PSUM: " + std::to_string(trans.psum) + " from Interposer Interface to Global Buffer"); + } + +} void InterposerInterface::log_info(std::string msg){ SC_REPORT_INFO(I_LOG, msg.c_str()); diff --git a/src/Interposer/Interposer_Interface.h b/src/Interposer/Interposer_Interface.h index 1206c12..3d0ad44 100644 --- a/src/Interposer/Interposer_Interface.h +++ b/src/Interposer/Interposer_Interface.h @@ -36,10 +36,11 @@ private: void chiplet_b_transport(tlm_generic_payload& trans, sc_time& delay); // Forward transaction to Chiplet Interface - //// void chiplet_features_send_transaction(tlm_generic_payload& trans); + void chiplet_features_send_transaction(CustomPayload& trans, sc_time& delay, int single_wavelength); + void chiplet_weight_send_transaction(CustomPayload& trans, sc_time& delay, int cross_wavelength); // Forward transaction back to Global Buffer - void gb_send_transaction(tlm_generic_payload& trans); + void gb_send_transaction(PESendPayload& trans, sc_time& delay); void log_info(std::string msg); void log_error(std::string msg); diff --git a/src/Optical_Electrical/O_E_converter.cpp b/src/Optical_Electrical/O_E_converter.cpp index dedb622..34f6fef 100644 --- a/src/Optical_Electrical/O_E_converter.cpp +++ b/src/Optical_Electrical/O_E_converter.cpp @@ -56,24 +56,27 @@ void O_E_converter::ci_features_b_transport(tlm_generic_payload& trans, sc_time& log_info(std::to_string(O_E_converter_id) + " Received input feature: " + std::to_string(oec_trans1->data) + " with Wavelength: " + std::to_string(single_wavelength)); //wait(sc_time(5, SC_NS)); // Forward the transaction to the Processing Element - log_info(std::to_string(O_E_converter_id) + " Forwarding input features: " + std::to_string(oec_trans1->data) + " with Wavelength: " + std::to_string(single_wavelength) + " to Processing Element"); - // sc_time delay = SC_ZERO_TIME; - pe_features_send_socket->b_transport(*oec_trans1, delay); // Send transaction to Processing Element - - - if(oec_trans1->get_response_status() == TLM_OK_RESPONSE) { - log_info(std::to_string(O_E_converter_id) + " Transaction completed successfully from OEC: " + std::to_string(O_E_converter_id) + " to Processing Element"); - }else{ - log_error( std::to_string(O_E_converter_id) + " Error in transmitting data: " + std::to_string(oec_trans1->data) + " from OEC to PE "); - } + //sc_time delay = SC_ZERO_TIME; + delay += sc_time(5, SC_NS); + pe_features_send_transaction(*oec_trans1, delay, single_wavelength); + } else { log_error(std::to_string(O_E_converter_id) + " Invalid or unrecognized address: " + std::to_string(address)); } - delete oec_trans1; // Clean up dynamically allocated memory - + delete oec_trans1; // Clean up dynamically allocated memory } +void O_E_converter::pe_features_send_transaction(CustomPayload& trans, sc_time& delay, int single_wavelength){ + log_info(std::to_string(O_E_converter_id) + " Forwarding input features: " + std::to_string(trans.data) + " with Wavelength: " + std::to_string(single_wavelength) + " to Processing Element: " + std::to_string(O_E_converter_id)); + pe_features_send_socket->b_transport(trans, delay); // Send transaction to Processing Element + if(trans.get_response_status() == TLM_OK_RESPONSE) { + log_info(std::to_string(O_E_converter_id) + " Transaction completed successfully from OEC: " + std::to_string(O_E_converter_id) + " to Processing Element"); + } else { + log_error( std::to_string(O_E_converter_id) + " Error in transmitting data: " + std::to_string(trans.data) + " from OEC to PE "); + } + +} // Handle incoming weight kernals from the Global Buffer void O_E_converter::ci_weight_b_transport(tlm_generic_payload& trans, sc_time& delay) { @@ -85,8 +88,8 @@ void O_E_converter::ci_weight_b_transport(tlm_generic_payload& trans, sc_time& d return; } - CustomPayload* oec_trans2 = new CustomPayload(); - sc_time current_time = sc_time_stamp(); + CustomPayload* oec_trans2 = new CustomPayload(); + sc_time current_time = sc_time_stamp(); //manually copy the transaction payload for future use // Log the time when the core sent the transaction sc_time sent_time = orig_trans->timestamp; @@ -104,32 +107,33 @@ void O_E_converter::ci_weight_b_transport(tlm_generic_payload& trans, sc_time& d int address = oec_trans2->get_address(); // address is used to determine wavelength if (address >= 0x200) { - int cross_wavelength = address - 0x200; - //log_info("Cross-chiplet communication, wavelength : " + std::to_string(cross_wavelength)); - - // Cross-chiplet communication (λ0, λ1, λ2, ...) - log_info(std::to_string(O_E_converter_id) + " Received cross-chiplet data: " + std::to_string(oec_trans2->data) + " with Wavelength: " + std::to_string(cross_wavelength)); - - - // Forward modified data to Processing Element - sc_time delay = SC_ZERO_TIME; - pe_weight_send_socket->b_transport(*oec_trans2, delay); // Send transaction to Processing Element - log_info(std::to_string(O_E_converter_id) + " Forwarding weight kernals: " + std::to_string(oec_trans2->data) + " with Wavelength: " + std::to_string(cross_wavelength) + " to Processing Element"); - - if(oec_trans2->get_response_status() == TLM_OK_RESPONSE) { - log_info( std::to_string(O_E_converter_id) + " Transaction completed successfully from OEC: " + std::to_string(O_E_converter_id) + " to Processing Element"); - }else{ - log_error(std::to_string(O_E_converter_id) + " Error in transmitting data: " + std::to_string(oec_trans2->data) + " from OEC to PE "); - } - - } else { - log_error(std::to_string(O_E_converter_id) + " Invalid or unrecognized address: " + std::to_string(address)); + int cross_wavelength = address - 0x200; + //log_info("Cross-chiplet communication, wavelength : " + std::to_string(cross_wavelength)); + // Cross-chiplet communication (λ0, λ1, λ2, ...) + log_info(std::to_string(O_E_converter_id) + " Received cross-chiplet data: " + std::to_string(oec_trans2->data) + " with Wavelength: " + std::to_string(cross_wavelength)); + trans.set_response_status(TLM_OK_RESPONSE); + // Forward modified data to Processing Element + //sc_time delay = SC_ZERO_TIME; + delay += sc_time(5, SC_NS); + chiplet_weight_send_transaction(*oec_trans2, delay, cross_wavelength); + } else { + log_error(std::to_string(O_E_converter_id) + " Invalid or unrecognized address: " + std::to_string(address)); } - delete oec_trans2; // Clean up dynamically allocated memory - // Complete the original transaction - trans.set_response_status(TLM_OK_RESPONSE); + delete oec_trans2; // Clean up dynamically allocated memory +} + +void O_E_converter::chiplet_weight_send_transaction(CustomPayload& trans, sc_time& delay, int cross_wavelength) { + + pe_weight_send_socket->b_transport(trans, delay); // Send transaction to Processing Element + log_info(std::to_string(O_E_converter_id) + " Forwarding weight kernals: " + std::to_string(trans.data) + " with Wavelength: " + std::to_string(cross_wavelength) + " to Processing Element: " + std::to_string(cross_wavelength)); + if(trans.get_response_status() == TLM_OK_RESPONSE) { + log_info( std::to_string(O_E_converter_id) + " Transaction completed successfully from OEC: " + std::to_string(O_E_converter_id) + " to Processing Element"); + } else { + log_error(std::to_string(O_E_converter_id) + " Error in transmitting data: " + std::to_string(trans.data) + " from OEC to PE "); + } + } @@ -169,23 +173,26 @@ void O_E_converter::pe_b_transport(tlm_generic_payload& trans, sc_time& delay) { int unicast_wavelength = chiplet_index; log_info(std::to_string(O_E_converter_id) + " Optical to Electrical converter received PSUM from PE: " + std::to_string(rx_trans1->src_pe) + " with data: " + std::to_string(rx_trans1->psum)); - - // Forward the transaction to the Chiplet interface - delay = SC_ZERO_TIME; - ci_send_socket->b_transport(*rx_trans1, delay); - log_info(std::to_string(O_E_converter_id) + " Forwarding the PSUMs from PE: " + std::to_string(rx_trans1->src_pe) + " to chiplet interface: " + std::to_string(rx_trans1->src_chiplet)); - if(rx_trans1->get_response_status() == TLM_OK_RESPONSE) { - log_info( std::to_string(O_E_converter_id) + " PSUM Transaction completed successfully from OEC: " + std::to_string(O_E_converter_id) + " to Chiplet Interface"); - }else{ - log_error( std::to_string(O_E_converter_id) + " Error in transmitting PSUM: " + std::to_string(rx_trans1->psum) + " from OEC to Chiplet Interface "); - } - - - delete rx_trans1; // Clean up dynamically allocated memory trans.set_response_status(TLM_OK_RESPONSE); // Set response status + + // Forward the transaction to the Chiplet interface + //delay = SC_ZERO_TIME; + delay += sc_time(5, SC_NS); + chiplet_send_transaction(*rx_trans1, delay); + delete rx_trans1; // Clean up dynamically allocated memory + } - +void O_E_converter::chiplet_send_transaction(PESendPayload& trans, sc_time& delay){ + ci_send_socket->b_transport(trans, delay); + log_info(std::to_string(O_E_converter_id) + " Forwarding the PSUMs from PE: " + std::to_string(trans.src_pe) + " to chiplet interface: " + std::to_string(trans.src_chiplet)); + if(trans.get_response_status() == TLM_OK_RESPONSE) { + log_info( std::to_string(O_E_converter_id) + " PSUM Transaction completed successfully from OEC: " + std::to_string(O_E_converter_id) + " to Chiplet Interface"); + }else{ + log_error( std::to_string(O_E_converter_id) + " Error in transmitting PSUM: " + std::to_string(trans.psum) + " from OEC to Chiplet Interface "); + } + +} void O_E_converter::log_info(std::string msg){ SC_REPORT_INFO(OEC_LOG, msg.c_str()); diff --git a/src/Optical_Electrical/O_E_converter.h b/src/Optical_Electrical/O_E_converter.h index 5f66229..f1d323b 100644 --- a/src/Optical_Electrical/O_E_converter.h +++ b/src/Optical_Electrical/O_E_converter.h @@ -35,12 +35,15 @@ private: // Handle incoming transactions from the processing element void pe_b_transport(tlm_generic_payload& trans, sc_time& delay); + + //forward transactions to PE + void pe_features_send_transaction(CustomPayload& trans, sc_time& delay, int single_wavelength); + void chiplet_weight_send_transaction(CustomPayload& trans, sc_time& delay, int cross_wavelength); // Forward transaction to Chiplet Interface - void chiplet_send_transaction(tlm_generic_payload& trans); + void chiplet_send_transaction(PESendPayload& trans, sc_time& delay); - // Forward transaction back to chiplet - void chiplet_send_transaction(); + void log_info(std::string msg); void log_error(std::string msg); }; diff --git a/src/PE/Processing_Element.cpp b/src/PE/Processing_Element.cpp index 438db94..7021f4b 100644 --- a/src/PE/Processing_Element.cpp +++ b/src/PE/Processing_Element.cpp @@ -54,7 +54,7 @@ void ProcessingElement::oec_features_b_transport(tlm_generic_payload& trans, sc_ // wait(4, SC_NS); // Single-chiplet communication (λM) log_info(std::to_string(pe_id) + " Received input feature: " + std::to_string(pe_trans1->data) + " with Wavelength: " + std::to_string(single_wavelength)); - + delay += sc_time(5, SC_NS); features_fifo.write(pe_trans1 -> data); //Write input features to fifo log_info(std::to_string(pe_id) + " writing the input features: " + std::to_string(pe_trans1->data) + " with Wavelength: " + std::to_string(single_wavelength) + " to FiFo"); @@ -104,7 +104,7 @@ void ProcessingElement::oec_weight_b_transport(tlm_generic_payload& trans, sc_ti // wait(4, SC_NS); // Cross-chiplet communication (λ0, λ1, λ2, ...) log_info(std::to_string(pe_id) + " Received cross-chiplet data: " + std::to_string(pe_trans2->data) + " with Wavelength: " + std::to_string(cross_wavelength)); - + delay += sc_time(5, SC_NS); weight_fifo.write(pe_trans2-> data); //Write weights to fifo log_info(std::to_string(pe_id) + " Saving weight kernals: " + std::to_string(pe_trans2->data) + " with Wavelength: " + std::to_string(cross_wavelength) + " to Fifo"); diff --git a/weight_kernels.txt b/weight_kernels.txt index 19893fa..dc4bb56 100644 --- a/weight_kernels.txt +++ b/weight_kernels.txt @@ -1,29 +1,29 @@ -34 44 -87 47 +17 77 +95 93 -78 79 -5 17 +74 89 +66 53 -10 53 -64 99 +24 74 +30 15 -58 27 -9 98 +50 51 +85 13 -36 32 -76 5 +14 59 +54 58 -9 93 -78 98 +15 5 +99 3 -99 57 -21 25 +83 31 +70 29 -56 89 -92 48 +3 84 +53 13 -24 47 -23 97 +29 53 +9 21 -40 35 -54 48 +34 77 +61 32