tutorial 2 working with mio leds and pushbuttons · create a vivado project with the same device...
TRANSCRIPT
WorkingwithMIOLEDsandPushbuttons
VivadoEnvironment:
1. CreateaVivadoprojectwiththesamedevicesettingsasforthefirsttutorial.2. CreateanewblockdesignandincludeonlyPSinit.3. Rightclickandmake“FIXED_IO”asexternalconnection.
Note:Youcanperform“Runautomation”tomakeDDRandFIXED_IOconnectionsexternal.ConnectionstoDDRareavoidedbecauseourCcodeisrelativelysmallinsizeandcanbeaccommodatedinOCM.
Wedonotrequire:
1. ACIGPIO2. Resetsystem3. XDCfile.
PScustomization:
1. EnablebothUART1andGPIOMIOunderMIOConfigurationofPS.
2. DisableMAXIGP0interfaceunderPS-PLConfiguration.
Restofoperations:
1. Validateyourdesign2. CreatetheHDLWrapper3. Generateblockdesign4. Synthesize,implementandgeneratethebitstream5. ExportthehardwareandlaunchSDK
SDKEnvironment:
1. Createanapplicationproject2. AddtheCsourcefile“led_btns_pc.c”inyour“src”directoy3. Buildtheprogramandgeneratethebinary4. ProgramFPGA5. DoRUNconfigurationsandRUNyourproject
Responses:
1. Whenbuttonisnotpressed
Indication:MIOLEDisONwhenbuttonisnotpressed