Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx

上传人:b****4 文档编号:6402106 上传时间:2023-05-06 格式:DOCX 页数:14 大小:1.84MB
下载 相关 举报
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第1页
第1页 / 共14页
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第2页
第2页 / 共14页
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第3页
第3页 / 共14页
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第4页
第4页 / 共14页
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第5页
第5页 / 共14页
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第6页
第6页 / 共14页
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第7页
第7页 / 共14页
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第8页
第8页 / 共14页
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第9页
第9页 / 共14页
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第10页
第10页 / 共14页
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第11页
第11页 / 共14页
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第12页
第12页 / 共14页
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第13页
第13页 / 共14页
Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx_第14页
第14页 / 共14页
亲,该文档总共14页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx

《Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx》由会员分享,可在线阅读,更多相关《Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx(14页珍藏版)》请在冰点文库上搜索。

Practical 1Introduction to lab hardwaresoftwareWord文档格式.docx

∙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)=

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 自然科学 > 物理

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2