东南大学CPU设计报告(附源程序vhdl)

东南大学CPU设计报告(附源程序vhdl)

ID:39744176

大小:3.02 MB

页数:30页

时间:2019-07-10

东南大学CPU设计报告(附源程序vhdl)_第1页
东南大学CPU设计报告(附源程序vhdl)_第2页
东南大学CPU设计报告(附源程序vhdl)_第3页
东南大学CPU设计报告(附源程序vhdl)_第4页
东南大学CPU设计报告(附源程序vhdl)_第5页
资源描述:

《东南大学CPU设计报告(附源程序vhdl)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、CPUReport—04009ComputerOrganizationandArchitectureCourseDesignMicroprogrammedCPUDesignSchoolofInformationScienceandEngineeringSoutheastUniversity2012-04-0729CPUReport—04009CONTENTS1.Purpose22.Tasks22.1InstructionSet2Table1Listofinstructionsandrelevantopcodes2.2InternalRegis

2、tersandMemory32.3ALU3Table2ALUOperations2.4MicroprogrammedControlUnit4Table3ThemeaningofeachbitofthemicroinstructionTable4TheSequenceofMicroinstructions(appendix)Table5Themeaningofeachbitofthe8-bitflag.3.Top-LevelStructure63.1Symbolsofinternalregisters,ALU,CUandmemory63.2To

3、p-LevelStructureofCPU74.TheSimulationInputWaveforms105.Test9Testproblem1:testLOAD,STORE,AND,SHR,SHL,SAR,SAL9Table7Testofprogramofproblem1Testproblem2:testSUB,ADD,JMPGEZ,HALT11Table8Testofprogramtocalculate1+2+……100Testproblem3:testJMP,MPY,OR,NOT13Table9Testofprogramtocalcul

4、ate((543-800)3)OR((543+125)),not5436.ConclusionsandDiscussions167.Appendix1729CPUReport—04009MicroprogrammedCPUDesign1.Purpose:ThepurposeofthisprojectistodesignasimpleCPU(CentralProcessingUnit).ThisCPUhasbasicinstructionset,andwewillutilizeitsinstructionsettogenerateaverysi

5、mpleprogramtoverifyitsperformance.Forsimplicity,wewillonlyconsidertherelationshipamongtheCPU,registers,memoryandinstructionset.Thatistosayweonlyneedconsiderthefollowingitems:Read/WriteRegisters,Read/WriteMemoryandExecutetheinstructions.2.Tasks:Atleastfourpartsconstituteasim

6、pleCPU:theinstructionset,theinternalregisters,theALUandthecontrolunit.2.1InstructionSetSingle-addressinstructionformatisusedinmysimpleCPUdesign.Theinstructionwordcontainstwosections:theoperationcode(opcode),whichdefinesthefunctionofinstructions(addition,subtraction,logicope

7、rations,etc.);theaddresspart,inmostinstructions,theaddresspartcontainsthememorylocationofthedatumtobeoperated,wecalleditdirectaddressing.Insomeinstructions,theaddresspartistheoperand,whichiscalledimmediateaddressing.Table1ListofinstructionsandrelevantopcodesINSTRUCTIONOPCOD

8、E(BIN)OPCODE(HEX)COMMENTSSTOREX0000000101ACC→[X]LOADX0000001002[X]→ACCADDX00000011

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。