代做EEL4837、C++设计编程代写
EEL4837 Spring 2024 - Excursion 2 Due Date: April 29, 2024
1
EEL4837 Programming for Electrical Engineering II – Spring 2024
Excursion 2: Technology Mapping
Due Date: April 29, 2024
Submission Instructions
Submit your code to Gradescope. You need to submit the following files separately (not as an
archive):
1. One or several source code files.
● Your program should read an input file named input.txt located in the same
directory as your source code.
● Your output should be a single integer, which should be written to a file named
output.txt and located in the same directory.
2. A documentation named readme.txt.
● Explicitly indicate if you are claiming bonus points.
● (Optional) Any other descriptions of your program if you wish to provide.
Description
The goal is to implement an elementary tool for technology mapping, which will:
1. Transform the original logical expressions into a NAND-NOT tree;
2. Calculate the minimum cost of the transformed structure.
Input: a Boolean model specified in the format as shown in the Excursion 2 slides.
Output: a single integer, which is the calculated minimum cost of the transformed structure.
You may assume:
1. Each node of the input netlist is a single AND, OR, and NOT function.
2. In each test case, there will be one output node only. That is, your circuit will be a tree.
3. A Technology Library is available, which consists of the components listed in Table 1.
EEL4837 Spring 2024 - Excursion 2 Due Date: April 29, 2024
2
Table 1. Technology Library
Name Cost
NOT 2
NAND2 3
AND2 4
NOR2 6
OR2 4
AOI21 7
AOI22 7
Guidelines
1. Read a netlist as input. You can assume that all inputs are legal.
2. Parse the netlist to construct a tree based on the provided expressions.
3. Convert the tree into a NAND-NOT tree.
4. Refer to the Technology Library (Table 1) and recursively compute the minimum cost at
each node.
5. Write the final minimum cost to the output file.
Grading
Total points: 100
1. Automated grading (75 pts)
a. Correctness (60 pts): correct results for normal inputs.
b. Robustness (15 pts): correct results for edge cases, such as very simple and very
complex inputs.
2. Manual grading (25 pts)
a. Efficiency: The time and space complexities are decent. No brute force is
allowed.
EEL4837 Spring 2024 - Excursion 2 Due Date: April 29, 2024
3
b. Elegance: tidy code style, understandable comments for key steps as needed,
meaningful functions, etc.
3. Bonus points (20 pts): implement dynamic programming traversing the tree bottom-up
and saving the intermediate costs for subtrees.
Late Policies
● Late due date: May 3, 2024
● 5% off per late day. No further extension will be permitted due to the UF grading policy
regarding grade report at the end of each semester.
Notes
1. Your code should be in C++ only. We encourage splitting up your code into multiple
files/functions/classes.
2. Your program should compile and run successfully on both the ECE Linux server and
Gradescope.
3. You can only use C++ standard libraries (including STL). Do not use libraries that
implement circuits, trees, or graphs for you. If you are not sure whether a library is
allowed, please reach out to TA.
请加QQ:99515681 邮箱:99515681@qq.com WX:codinghelp
- instagram引流群控推广软件,ins粉丝精准引流群发助手
- Ins群发脚本助手,Instagram一键群发工具,让你打造营销新格局!
- Alphawave Semi 宣布任命 Charlie Roach 为首席营收官
- 数字智慧 专家心得 WhatsApp拉群营销工具是我业务成功的科技奇迹
- ins拉群软件,ins群发软件,ins营销软件联系天宇爆粉【TG:@cjhshk199937】
- Ins协议群发+引流新招!Instagram出海推广软件一键搞定!
- 2024广东水展即将开幕 | 聚焦净水行业热点 抢占行业新机遇!
- Telegram一键自动定位采集营销助手,TG全球坐标定位采集软件
- COMP 2049 代做代写 c++,java 编程
- 代做 Rule Minimizer、代写 SQL 语言程序
- Telegram代群发新选择,推广事业迎来新突破
- Instagram营销软件,Ins引流工具,让你的营销事半功倍!
- TG/Telegram批量群发软件,TG最强群发工具推荐/TG协议号购买
- 六地联袂 以赛聚才 这场比赛太精彩了
- “画游千里江山”亮相2024北京台春晚龙行北京会场
- Zalo筛选器推广:实时监测解决了广告效果难题,让您的广告一目了然!
- 纸飞机群发拉群自动化软件,Telegram精准定位采集工具/TG营销神器
- 数字幻境之夜 科技魔法师的WhatsApp拉群营销工具分享 业务如梦如幻
- WhatsApp群发协议号/ws频道号/ws引流营销工具
- 群发不再是阻碍:海外营销高手亲授,WhatsApp拉群工具助您轻松应对风控挑战
- Instagram群发营销工具,Ins拉群软件,助你实现营销目标!
- 威尔特流体VDP蠕动泵抽排废液介质使用分析
- 数字之光 WhatsApp拉群营销工具新功能引爆市场热潮 答案在我们的工具里
- 揭秘ins快速爆粉技巧!Instagram自动群发私信吸客利器,Ins新手必备!
- ins群发助手,ins群发软件,ins群发工具精准爆粉联系天宇测试
- 没有WhatsApp拉群工具 我曾经的工作就像是踩着泥潭前行 每一步都显得沉重而艰难 每天都需要手动添加联系人 发送消息 效率低下且效果不佳 让我倍感压力
- 在这个科技日新月异的时代 电子魅影 一位科技魔法师 凭借着他的WhatsApp拉群战略 犹如一道闪电 瞬间惊醒了市场巨兽
- 《热辣滚烫》掀起健康减脂潮流,植物基食品迎来“第二春”?
- 做对的事情和把事情做对,哪个更重要?
- Ins引流新软件!Instagram自动聊天软件,ig多功能群发器!
推荐
- 智慧驱动 共创未来| 东芝硬盘创新数据存储技术 为期三天的第五届中国(昆明)南亚社会公共安 科技
- 苹果罕见大降价,华为的压力给到了? 1、苹果官网罕见大降价冲上热搜。原因是苹 科技
- B站更新决策机构名单:共有 29 名掌权管理者,包括陈睿、徐逸、李旎、樊欣等人 1 月 15 日消息,据界面新闻,B站上周发布内部 科技
- 疫情期间 这个品牌实现了疯狂扩张 记得第一次喝瑞幸,还是2017年底去北京出差的 科技
- 创意驱动增长,Adobe护城河够深吗? Adobe通过其Creative Cloud订阅捆绑包具有 科技
- 丰田章男称未来依然需要内燃机 已经启动电动机新项目 尽管电动车在全球范围内持续崛起,但丰田章男 科技
- 如何经营一家好企业,需要具备什么要素特点 我们大多数人刚开始创办一家企业都遇到经营 科技
- 老杨第一次再度抓握住一瓶水,他由此产生了新的憧憬 瘫痪十四年后,老杨第一次再度抓握住一瓶水,他 科技
- 全力打造中国“创业之都”名片,第十届中国创业者大会将在郑州召开 北京创业科创科技中心主办的第十届中国创业 科技
- 升级的脉脉,正在以招聘业务铺开商业化版图 长久以来,求职信息流不对称、单向的信息传递 科技