• LOGIN

Wesley Peck

Home › EECS 388 Laboratory

Laboratory 1

In laboratory 1 you will design a system-on-chipi using the Xilinxi development suite and targeted at the XUPi development board. Your design will contain a MicroBlazei soft-processori, a serial port, and three GPIOi devices. The processor will be connected to the serial port and GPIOi peripherals in a shared-bus architecture. You will then program this system-on-chipi, using the C programming language, to print out your name five times to the screen of a desktop computer which is connected to the XUPi development board using the serial port.

In this laboratory your system-on-chipi design will consist of three major components:

  1. A MicroBlazei soft-processori
    The MicroBlazei will be the processor in your system-on-chipi design. The program that you design in this laboratory will be compiled to the MicroBlazei ISAi and then executed by the processor that you instantiate within your design. Compilation is done inside of the Xilinxi development suite and makes use of the GCC compiler contained within.
     
  2. A serial port
    The serial port in this system-on-chipi design provides communication between the XUPi development board and the desktop computer connected to it. In this laboratory your program will print out a message by sending characters one at a time from the XUPi to the desktop computer. These characters will be received on the desktop computer and printed out to the screen.
     
  3. Three GPIOi devices
    The three GPIOi devices in your system-on-chipi design will control the LEDi, push button, and DIP switch peripherals contained on the XUPi development board. In this laboratory these hardware peripherals will not be used by the software program, however, in future laboratories these peripherals will be used and it is beneficial to learn how to instantiate them in your system-on-chipi design.

Before you begin this laboratory we suggest that you become familiar with the Xilinxi development suite. Please read the Introduction to EDK, Base System Builder, and XPS Interface tutorials before you begin. 

Project Assignment

  1. Use the base system builder to create a basic system-on-chipi
  2. Create a software project and make it print out your name five times
  3. Synthesize your system-on-chipi, compile your software project, and combine them into a bitstream
  4. Download your bitstream onto the XUPi development board and execute it

This may not seem like much, but, at the end of this laboratory you will have created a system-on-chipi and executed a program on top of it in a bare metal environment. This represents a very basic but fully functional embedded system.

Project Directions

The directions for completing this project can be found on the Laboratory 1 Directions page. This page contains step-by-step directions on how to build your system-on-chipi design and software application. Additionally, there is a screencast of the entire project which shows how the project is completed.

It will be to your benefit to either print out the project directions or to have the project directions page open while you are doing this laboratory.

Project Questions

  1. What is an FPGAi?
  2. What is a system-on-chipi? Why is it different from your desktop computer system?
  3. What does soft-core IP mean?
  4. What is are MHS, MSS, and UCF files?
  5. What does it mean to cross-compile a program?
  6. Why does it take so long to build the HW portion of your system?
  7. How does the desktop computer program the FPGAi, how does it monitor the FPGAi?
  • Directions
‹ Project Submission up Directions ›
  • Printer-friendly version

Navigation

  • Home
  • EECS 388
  • FPGA Tutorials
  • MicroBlaze Tutorials
  • Frequently Asked Questions
  • Glossary
  • Search

Outline

  • EECS 388 Laboratory
    • Syllabus
    • Deliverables
    • Report Format
    • Reference Materials
    • Project Submission
    • Laboratory 1
      • Directions
    • Laboratory 2
    • Laboratory 3
    • Laboratory 4
    • Laboratory 5
    • Laboratory 6
  • Tutorials

(C) 2008 Wesley Peck
All Rights Reserved