可编程逻辑器件实验手册

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

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

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

资源描述

ExerciseManualforQuartus®IISoftwareDesignSeries:FoundationSoftwareRequirementstocompleteallexercisesQuartusIIsoftwareversion11.1ExercisesQuartusIISoftwareDesignSeries:FoundationCopyright©2012AlteraCorporation2Exercise1QuartusIISoftwareDesignSeries:FoundationExercisesCopyright©2012AlteraCorporation3Exercise1Objectives:CreateaprojectusingtheNewProjectWizardNametheprojectPickadeviceNote:Intheseexercises,you’llcreateabrandnewprojectandcompleteanexistingdesign.You’llhavethechoiceofcreatingthedesignusingthreedifferenttypesofdesignentry:Verilog,VHDL,orasaQuartusIIschematic.Wherenoted,besuretoonlyfollowtheinstructionsappropriateforyourchoiceofdesignentrymethod.Bytheendoftheclass,you’llhaveafinal,optimizeddesign,readyforprogrammingintoaCyclone®IIIFPGAdevice.Besuretocompletelyreadtheinstructionsforeachstepandsub-stepinthislabmanual.Eachstepfirstsummarizeswhatyou’llbedoinginthatstepbeforeprovidingcompleteinstructions.Usethelinesnexttoeachstep(____)tokeeptrackofyourprogressortocheckoffcompletedstepsintheexercises.Ifyouhaveanyquestionsorproblems,pleaseasktheinstructorforassistance.ExercisesQuartusIISoftwareDesignSeries:FoundationCopyright©2012AlteraCorporation4Step1:Createnewprojectforuseinthelabexercises____1.Unzipthelabprojectfiles.Double-clicktheexecutablefilefoundinthe.zipfileyoudownloaded.IntheWinZipdialogbox,clickUnziptoautomaticallyextractthefilesinplacetoanewfoldernamedC:\altera_trn\Quartus_II_Software_Design_Series_Foundation\QIIF11_1_OLT.CloseWinZip.____2.StarttheQuartusIIsoftware.IntheWindowsStartmenufromtheAllProgramslist,gototheAlterafolderandthentheQuartusII11.1folder.ClickQuartusII11.1tostarttheprogram.Theremayalsobeashortcutonthedesktop.____3.StarttheNewProjectWizard.YoucanopenitfromtheGettingStartedWithQuartusIISoftwarewelcomedialogthatappears.Ifyou’veclosedthiswindow,intheTaskswindowontheleftsideoftheQuartusIIinterface,expandtheStartProjectfolderanddouble-clickOpenNewProjectWizard.YoucanalsoselectNewProjectWizard…fromtheFilemenu.TheNewProjectWizardappears.IftheIntroductionscreenappears,readitandclickNext.____4.CompletetheNewProjectWizardtocreatetheproject.SelectoneoftheworkingdirectoriesshowninTable1dependingonthetypeofdesignentryyouwanttouse.Nametheprojectpipemultandleavethetoplevelentitynamepipemult.Table1.Settingsforpage1ofNewProjectWizard____5.ClickNexttoadvancetopage2.workingdirectorylab_install_directory\QIIF11_1_OLT\Ex1\VHDLlab_install_directory\QIIF11_1_OLT\Ex1\Veriloglab_install_directory\QIIF11_1_OLT\Ex1\Schematicnameofprojectpipemulttop-leveldesignentitypipemultQuartusIISoftwareDesignSeries:FoundationExercisesCopyright©2012AlteraCorporation5____6.Onpage2,clickthebrowsebuttonandselectthetop-levelfilepipemult(.v,.vhd,or.bdf,dependingonthedesignentrymethodyouchosein#4).Itshouldalreadybelocatedintheprojectdirectory,ifnot,navigatetotheprojectdirectory.AfterclickingOpen,clickAddtoaddthefiletotheproject.ClickNext.Notethatthisstepisn’treallynecessarysincethedesignfileisalreadylocatedintheprojectworkingdirectory.Thenewprojectwouldautomaticallyincludethedesignfileaspartoftheproject.Filesorfiledirectories(libraries)onlyneedtobeaddedonpage2oftheNewProjectWizardiftheyarenotlocatedintheprojectdirectory.Addingthefiletotheprojectremovesthewarningthatthefilehasnotbeenadded.____7.Onpage3,selectCycloneIIIastheFamily.IntheShowin‘Availabledevice’listsection,setPackagetoFBGA,Pincountto256,andSpeedgradetoFastest.Thisfiltersthelistofavailabledevices.SelecttheEP3C5F256C6devicefromtheAvailabledevices:window.ClickNext.ExercisesQuartusIISoftwareDesignSeries:FoundationCopyright©2012AlteraCorporation6____8.Onpage4(above),youcanspecifythird-partyEDAtoolsyoumaybeusing.SincetheseexerciseswillbedoneentirelywithintheQuartusIIsoftwarewithoutanyothertools,clickNexttoskipthisstep.____9.Thesummaryscreenappearsasshown.ClickFinish.Theprojectisnowcreated.Keeptheprojectopenasyoucontinuethroughtheexercises.Thereisnoneedtoclosetheproject.Ifyoudoclosetheprojectforsomereason,besuretoselectOpenProjectinsteadofjustOpenfromtheFilemenu(orOpenExistingProjectfromtheTaskswindow).TheOpencommandisusedtosimplyopenasinglefileinsteadofaproject,preventingtheabilitytoperformmanyproject-basedoperations,suchascompilation.ExerciseSummaryCreatedaprojectusingtheNewProjectWizard–Namedtheproject–PickedadeviceENDOFEXERCISE1QuartusIISoftwareDesignSeries:FoundationExercisesCopyright©2012AlteraCorporation7Exercise2ExercisesQuartusIISoftwareDesignSeries:FoundationCopyright©2012AlteraCorporation8Exercise2Objectives:CreateamultiplierandRAMblockusingtheMegaWizardPlug-inManagertocompletethedesignCreateaHEXfiletoinitializetheRAMblockusingtheMemoryEditorAnalyzeandelaboratethedesigntocheckforerrorsPipelinedMultiplierDesignFigure1showsaschematicrepresentationofthetop-leveldesignfileyouwillbeusingtoday.ItconsistsofamultiplierandaRAMblock.DataisfedtothemultiplierfromanexternalsourceandstoredintheRAMblock,whichisalsocontrolledexternally.ThedataisthenreadoutoftheRAMblockbyaseparateaddresscontrol.Figure1QuartusIISoftwareDesignSeries:FoundationExercisesCopyright©2

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

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

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

×
保存成功