Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx
- 文档编号:6402106
- 上传时间:2023-05-06
- 格式:DOCX
- 页数:14
- 大小:1.84MB
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx
《Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx》由会员分享,可在线阅读,更多相关《Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx(14页珍藏版)》请在冰点文库上搜索。
∙DataInputs:
Din0,Din1
∙SelectInput:
Sel
∙DataOutput:
Dout
ItsLogicFunctionis:
whenSel=0,Dout=Din0;
whenSel=1,Dout=Din1.ItsBooleanLogicEquationis:
Dout=Din0*Sel+Din1*/Sel.Followthenextstepstocreate,designandimplementtheabove2-to-1multiplexer.
DesignSteps
Step1:
CreateanewprojectusingISE:
Clickthestartmenu,andtypeinProject.Thenlookfor"
64-bitProjectNavigator"
andclickonit.YoumayuseotherwayslaunchXilinxISE.
AfterISEislaunched,wewillcreateanewprojectinFile->
NewProject…
Createanewprojectunderthedirectory“C:
\Tem"
oranotherdirectoryofyourchoice,andgivetheprojectadescriptivenamesuchas\Lab0VHDL"
.Westronglyreckonyousaveallyourprojects.Alsosetthe“Top-levelsourcetype:
"
to“HDL"
.Click“Next"
.
TheSpartan3StarterKitPCBboardusesaXilinxSpartan3XC3S200FPGAchipwhichispackagedinaflatthin256-pin(FT256)BallGridArray,somakethefollowingchanges.Click“Next"
whenyouaredone.
Thenextpagedisplaysasummaryofthenewproject.Click“Finish"
whenyou'
redonetoexit.
Step2:
CreatecircuitusingVHDLfile
ClickonProject->
NewSource...
SelectVHDLmoduleandgivethefileanameandclick“Next”.
Addtheportnamesanddirectionsasshown.
Click“Finish"
toexitthewizard.
Addthefollowinglineofcode:
Dout<
=(Din0andnotSel)or(Din1andSel);
SavethefileandproceedtoSynthesize.
Selectthefiletobesynthesizedanddouble-clickon“Synthesize"
.Youcanalsoright-clickon“Synthesize"
andselectRun.
Step3:
InputandOutputPinPlanning
Weneedaconstraintsfiletoensurethatinputsandoutputsgotothedesiredpins.
SelectProject->
Click"
ImplementationConstraintsFile"
intheleftframeandtypeinthenamefortheconstraintsfile,forexample"
mux21"
.Thenclick"
Next"
and"
Finish"
Doubleclickonthe"
I/OPinPlanning(PlanAhead)-Post-Synthesis"
under"
UnderConstraints"
tolaunchPlanAhead.
Step4:
ImplementDesign
Doubleclickon“ImplementDesign”touseyourconstraint
Double-clickon“GenerateProgrammingFile"
togenerateFPGAconfigurationdatafilesuchas“21MUX.bit”.
Step5:
ProgramFPGA
Connectthe5VDCpowercabletothepowerinputonthedemoboard(J4).
ConnectthedownloadJTAG-USBcablebetweenthePCparallelportandthedemoboard(J7).Carefullynotethepositionofthelabelonthecable.
Start“Adept”Software,whichcandownloadthebitfileontotheFPGAthroughJTAG-USBcable.
YoucaneitherchoosetoprogramFPGAforPROM.
VerifyyourimplementationandshowyourresulttotheTutorformarkingwhenyouareready.
Task2:
Implementthenextbasiclogicfunctionsfollowingthesamestepsabove.Youneedtodefineindependentprojectforeachofthefunctionsbelow:
∙ANDGate
∙ORGate
∙NANDGate
∙Exclusive-NORGate
Task3:
Implementthenext74XX30chip:
Task4:
UsetheK-MAPtosimplifytheBooleanfunctioninproductofsums,andimplementthesimplifiedlogic,andverifyitbycomparingwiththeTruthTable.
F(A,B,C,D)=
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Practical 1Introduction to lab hardware software Introduction
![提示](https://static.bingdoc.com/images/bang_tan.gif)
链接地址:https://www.bingdoc.com/p-6402106.html