Machine Learning Intelligent Chip Design
Homework2 Channel and Interface
Description
In SystemC, interface is an abstract class that inherits from sc_interface. Interface can be
used to define communication protocols between different modules. It only describes the
communication methods and protocols and does not involve specific data transmission.
A SystemC channel is a class that implements one or more SystemC interface classes and
inherits from either sc_channel or sc_prim_channel. The following figure shows some
primitive channels and interfaces defined by SystemC library:
Implementation Details
The purpose of this homework assignment is to give students an opportunity to practice
using sc_signal, sc_buffer, and sc_fifo to establish a communication mechanism between
different modules. You are required to divide the AlexNet model implemented in HW1 into
several sub-modules (not necessarily distinguished by layer) and then connect them using
these three SystemC channels. The result of the model's execution should be identical to
that of HW1.
2
Implement Notes
• Module Boundaries:
Ensure that each submodule has clearly defined boundaries and that any communication
and interaction between them is clearly specified. This helps reduce coupling between
modules, making the code easier to understand and debug.
• Module functionality:
Each submodule should have specific functionality, and these functionality should be as
independent and reusable as possible. This makes the code more modular and individual
modules can be easily replaced or modified when needed without affecting other
modules.
• Testing and Validation:
Each submodule is unit tested to ensure it functions properly and as expected. In
addition, integration testing should be performed on the entire system to verify the
interfaces and interactions between modules.
Submission Guidelines
• Please compress a folder named HW<ID>_<studend-ID> into a zip file with the
same name and upload it to E3.
• The folder should include:
o Report (Name: HW<ID>_<student ID>.pdf)
o Codes
o Makefile
• Example:
• You don’t need to upload parameters.
• Ensure that your code is well-commented and organized for clarity and
understanding.
• Plagiarism is forbidden, otherwise you will get 0 point!!!
3
Deliverables
• SystemC Implementation:
Use SystemC to implement the AlexNet architecture and connect modules through
sc_signal, sc_buffer and sc_fifo.
• Report:
A brief report containing
o Simulation results demonstrate the predicted output for the provided input data.
o Your implementation approach, challenges faced, and any observations or insights
gained during the implementation and simulation process.
请加QQ:99515681 邮箱:99515681@qq.com WX:codinghelp
-
Zymeworks Announces FDA Clearance of Investigational New Drug Application for ZW171, a novel 2+1 T-cVANCOUVER, British Columbia, June 17, 2024 (GLOBE NEWSWIRE) -- Zymeworks Inc. (Nasdaq: ZYME), a clinical-stage biotechnology company developing a di2024-06-17
-
Indonesia Stock Exchange Partners with Nasdaq to Upgrade Market InfrastructureTechnology partnership will further enhance overall resilience and integrity of the exchange, while supporting the rapid deployment of new products2024-06-17
-
Adalvo 的 Liraglutide 預充式注射筆成為歐盟首款獲得批准的仿製藥馬爾他聖瓜安, June 17, 2024 (GLOBE NEWSWIRE) -- Adalvo 宣布 Liraglutide 預充式注射筆成功取得 DCP 批准,成為歐盟首款獲得批准的仿製藥。 根據 IQVIA 的報2024-06-17
-
促进生育,助力三胎——“三胎免费生”联合公益行动正式启动为积极响应国家号召实施三胎生育政策,扩大妇幼服务健康供给,在云南省优生优育妇幼保健协会指导下,昆明广播电视台联合昆明安琪儿妇产医院,于6月13日在昆明广播2024-06-17
-
学党史传承红色精神 守党纪筑牢自律防线——平安养老险湖南分公司党支部开展主题党日活动七一前夕,平安养老险湖南分公司党支部全体成员走进“千年学府、百年师范”——湖南第一师范,开展了一次学史明理、学史增信、学史崇德、学史力行的主题党日活动。重2024-06-17