BEST代写-线上编程学术专家

Best代写-最专业靠谱代写IT | CS | 留学生作业 | 编程代写Java | Python |C/C++ | PHP | Matlab | Assignment Project Homework代写

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

评论已关闭。