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
- HGC环电强化国际业务领导架构 谭君骥及Ravindran Mahalingam分别担任专精职务
- 海伯森六维力传感器:助力人形机器人产业发展的创新力量
- 达闼董事长黄晓庆:以技术破局致胜从未止步
- 从辅助到核心,企业如何基于AI Agent升级品牌数字营销
- 国产2.5亿超高分辨率图像传感器发布,主要面向机器视觉领域
- 西部数据推出多款超高速、大容量存储解决方案
- 中关村e谷承办“科创耀未来 奋进谱新篇”企业家创新论坛圆满落幕
- 航科卫星“汕头数字一号”卫星发射成功!
- Gartner 最新魔力象限出炉!ManageEngine卓豪成功入围
- 科技重塑物流,英特尔&集和诚加速智慧物流发展!
- 数智赋能 向“新而行” 坦克与装甲车辆学术与发展论坛召开
- 赛诺威盛:大孔径专科化CT领航者
- 网易硬刚腾讯 两大游戏玩家之间的口水仗不断
- 全球“最独特”的一台华为 nova 6 5G 版手机是什么样子的?
- 拼多多抖音淘宝京东,谁是真低价?