TheZynq®BookTutorialsforZyboandZedBoardTheZynq®BookTutorialsforZyboandZedBoardLouiseH.CrockettRossA.ElliotMartinA.EnderwitzDavidNorthcoteSeriesEditors:LouiseH.CrockettandRobertW.StewartDepartmentofElectronicandElectricalEngineeringUniversityofStrathclydeGlasgow,Scotland,UKAugust2015ThiseditionfirstpublishedAugust2015byStrathclydeAcademicMedia.©LouiseH.Crockett,RossA.Elliot,MartinA.EnderwitzandDavidNorthcote.OpenSourceLicencetoUseandReproduceThisbookisavailableinprintandasanelectronicbook(PDFformat).Textanddiagramsfromthisbookmaybereproducedintheirentiretyandusedfornon-profitacademicpurposes,providedthataclearreferencetotheoriginalsourceismadeinallderivativedocuments.Thisreferenceshouldbeofthefollowingform:L.H.Crockett,R.A.Elliot,M.A.EnderwitzandD.Stewart,TheZynqBookTutorialsforZyboandZedBoard,FirstEdition,StrathclydeAcademicMedia,2015.Requeststousecontentfromthisbookforotherthannon-profitacademicpurposesshouldbemadetoinfo@zynqbook.com.Thisbookmaynotbereproducedinitsoriginalformandsoldbyanyunauthorisedthirdparty.TutorialFilesTutorialfilesaredistributedviathebook’scompanionwebsite:www.zynqbook.com.WarningandDisclaimerThebesteffortsoftheauthorsandpublisherhavebeenusedtoensurethataccurateandcurrentinformationispresentedinthisbook.Thisincludesresearchingthetopicscoveredanddevelopingexamples.Thematerialincludedisprovidedonan“asis”basisinthebestoffaith,andneithertheauthorsandpublishersmakeanywarrantyofanykind,expressedorimplied,withregardtothedocumentationcontainedinthisbook.Theauthorsandpublishershallnotbeheldliableforanylossordamageresultingdirectlyorindirectlyfromanyinformationcontainedherein.TrademarksARMisaregisteredtrademarkofARMLimited(oritssubsidiaries)intheEUand/orelsewhere.Allrightsreserved.Thispublicationisindependentanditisnotaffiliatedwith,orendorsed,sponsoredorauthorisedbyARMLimited.Xilinx,theXilinxlogo,ISE,Vivado,andZynqareregisteredtrademarksofXilinx.Allrightsreserved.MATLABandSimulinkareregisteredtrademarksofMathWorks,Inc.Linux®istheregisteredtra...