本次美国CS代写代写主要使用C语言进行硬件电路设计
Due 1. TuesdayApril20th,11:59PM. 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) 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 Rubric 1. Latches(10pts.) Autograder Test cases are pushed to the tests repo |