20105410李白斌流水线仿真实现与研究

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

重庆大学本科学生毕业设计(论文)流水线仿真实现与研究学生:李白斌学号:20105410指导教师:黄仁专业:网络工程重庆大学计算机学院二O一四年六月GraduationDesign(Thesis)ofChongqingUniversityResearchandImplementationofPipelineSimulationUndergraduate:BaibinLiSupervisor:RenHuangMajor:NetworkEngineeringCollegeofComputerScienceChongqingUniversityJune2014重庆大学本科学生毕业设计(论文)摘要I摘要近年来,计算机处理器的发展已经取得了巨大的进步,人们对于计算机处理器的研究也越来越深入。人们也想知道处理器是如何运行的,指令流水线又是什么。人们同样想知道在指令流水线中最需要注意的是什么。流水线中的数据是如何传输的。我们应该以后如何改进流水线,以提高流水线的性能。本文先介绍了流水线的最基本的原理,然后又介绍了流水线在商业上的运用,并且用Logisim软件设计了一个流水线原型。本文在中间部分会介绍本次设计的指令类型和指令格式。本文的后半部分还介绍了流水线各个部件的设计。通过介绍流水线每一个部件的设计,来一步步的阐述整个流水线的运行特点。并且本文还会介绍存储器,寄存器,指令控制器等部件的设计,给出流水线的数据通路图,和在Logisim上设计的实际数据通路图。本文在后半部分给出每种类型的指令所执行的结果。而且指令的执行结果都可以从数据寄存器里看出。本文在最后总结了这次流水线的设计与仿真。关键词:指令流水线,Logisim软件,指令格式,寄存器重庆大学本科学生毕业设计(论文)ABSTRACTIIABSTRACTInrecentyears,thedevelopmentofcomputerprocessorhasmadegreatprogress,thepeoplealsomoreandmorein-depthresearchoncomputerprocessor.Peoplewanttoknowhowtheprocessorisrunning,andwhatistheinstructionpipeline.Peoplealsowanttoknowwhatisintheinstructionpipelinemostinneedofattention.Thepipelinedataishowtotransfer.Howshouldweimprovetheassemblyline,toimprovethepipelineperformance.Thispaperfirstintroducesthebasicprincipleofpipeline,andthenintroducestheuseofpipelineinbusiness,anddesignedapipelinewithLogisimsoftwareprototype.Inthispaper,inthemiddlesectionwillintroducethedesignofinstructionstypeandformat.Secondpartofthisarticleareintroducedthedesignofpipelinetheparts.Throughtheintroductionofthedesignofpipelineeverypart,stepbystep,toexplainthewholepipelineoperationcharacteristics.Andthispaperalsointroducesthememory,register,instructioncontrolunitandotherpartsofdesign,pipelinedatapathdiagramisgiven,andthedesignoftheactualdatapathdiagraminLogisim.Inthispaper,thebackhalfofthegivenresultsofeachtypeofinstruction.Andtheinstructionexecutionresultscanseefromthedataregister.Inthispaper,inthefinalsummedupthepipelinedesignandsimulation.Keywords:Commandline,LogisimSoftware,InstructionFormat,Register重庆大学本科学生毕业设计(论文)目录III目录摘要......................................................................................................................................IABSTRACT.............................................................................................................................II1绪论........................................................................................................................................11.1课题研究背景...................................................................................................................11.2国内外相关研究现状.......................................................................................................11.3本文研究的主要内容.......................................................................................................21.4论文结构...........................................................................................................................22Logisim软件....................................................................................................................42.1Logisim的简介................................................................................................................42.2Logisim元器件的使用....................................................................................................42.3Logisim元器件的注意事项............................................................................................53流水线总体概述.............................................................................................................63.1指令流水线技术的起源...................................................................................................63.2指令流水线技术原理.......................................................................................................63.4指令流水线的冒险...........................................................................................................73.4指令流水线技术在商业上的运用...................................................................................74流水线的总体设计........................................................................................................94.1指令集的设计...................................................................................................................94.2指令流水线各个部件的设计.........................................................................................104.2.2流水线指令存储器.............................................................................................114.2.3流水线数据寄存器堆.........................................................................................124.2.4流水线IF/ID寄存器.........................................................................................134.2.5流水线ID/EX寄存器.........................................................................................144.2.6流水线EX/MEM寄存器.......................................................................................164.2.7流水线MEM/WB寄存器.......................................................................................174.2.8流水线ALU控制器.....................................................................................

1 / 46
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功