BEST代写-线上留学生作业代写 & 论文代写专家

成立于2015年的老牌留学生代写品牌-BEST代写提供超过百门冷热门留学学科的作业和论文代写服务。全网BEST原创,高质,准时的留学生代写。

C语言代写 | CS 315 Hardware Static Analyzer Project05

C语言代写 | CS 315 Hardware Static Analyzer Project05

本次美国CS代写代写主要使用C语言进行硬件电路设计

Due

1. TuesdayApril20th,11:59PM.
2. Submityour.digfiles(oneforeachcircuit)totheGithubClassroomrepopublishedinPiazza 3. Project05willnotincludeaninteractivegradingmeeting.Wewillgradeproject05offline.

Requirements

1. 2.

3.

4. 5.

Youwilldesignandbuildacircuitwhichanalyzesmachinecodeinstructions,i.e.astaticanalyzer

Yourcircuitwillreadmachine-languageinstructionsfromaROMcomponentandprovideacountofthenumberoftotal instructions in a program and also count the different instruction types:

1. DP(add,sub,mov,cmp) 2. MEM(ldr,str)
3. B(b,bCC)
4. MUL

5. BX

Todeterminetheendofaprogram,yourcircuitwilllookforaninstructionmarker.Themarkerwillbeaddr0,r0,#0.Note this is a valid instruction, but one that is unlikely to appear in normal code. You must add this marker at the end of each program you will analyze.

Youonlyneedtosupportprogramsthatcontainupto256instructions(includingthemarker).

YoucanusetheDigitalcomponents:multiplexors,encoders,decoders,gates,splitters,andwires.Youmustsupplyall other components yourself including: adders, registers, counters, instruction storage, and analyzer.

6. Testinput:Yourinstructionstoragewillcontainthemachinecodeforfib_rec_s,find_max_s,quadratic_s,andsum_array_s, as generated by

 $ objdump -d file.o | python makerom3.py > file_rom.hex

Given

1. Circuitsbuiltinlecture
2. Screenshotoftop-levelcircuit

Rubric

1. Latches(10pts.)
2. Registersakaflip-flops(10pts.)
3. Counter(10pts.)
4. Comparators(10pts.)
5. Multiplexers(10pts.)
6. Countsfib_rec_s.hex,find_max_s.hex,quadratic.hex,andsum_array_s.hexcorrectly(10pts.each) 7. Neatness(10pts.)

Autograder

Test cases are pushed to the tests repo

bestdaixie

评论已关闭。