Upload
donald-sherman
View
216
Download
1
Embed Size (px)
Citation preview
This material exempt per Department of Commerce license exception TSU
Writing Basic Software ApplicationsLab 4 Introduction
Lab 4 Intro 2
Introduction
• This lab guides you through the process of writing a basic software application.
• You will develop software that will echo dip switch settings to the my_led_0 device.
• You will write the code in XPS and create an MSS file for use by LibGen.
• You will also modify a linker script file to move the application to a different memory location
• You will download the bit file to verify the design
Lab 4 Intro 3
Objectives
After completing this module, you will be able to:• Write a basic application to access an IP peripheral• Utilize XPS to generate a MSS file• Generate a bit file• Download the bit file and verify in hardware (if hardware is
available)• Develop a simple linker script
Lab 4 Intro 4
Write Software Code
PPC
PLBBus
PLB2OPB
PLB BRAM Cntlr
OPBBus
PLB BRAM
PLB BRAM Cntlr PLB BRAM
INTC
GPIO
Timer
UART
MY IP LEDs
ICON
IBA
GPIO Push Buttons
DIP Switches
Echo DIP switch settings on the LEDs