1 / 9

The Xilinx EDK Toolset: Xilinx Platform Studio (XPS)

The Xilinx EDK Toolset: Xilinx Platform Studio (XPS). Building a base system platform. What Is Xilinx EDK?. EDK = E mbedded D evelopment K it. It is a set of tools used for building embedded processing systems. I.E. Systems-On-Chip (SoCs) Processors (PowerPC, MicroBlaze)

lilka
Télécharger la présentation

The Xilinx EDK Toolset: Xilinx Platform Studio (XPS)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Xilinx EDK Toolset:Xilinx Platform Studio (XPS) Building a base system platform

  2. What Is Xilinx EDK? • EDK = Embedded Development Kit. • It is a set of tools used for building embedded processing systems. • I.E. Systems-On-Chip (SoCs) • Processors (PowerPC, MicroBlaze) • Interconnect (PLB, OPB, FSL, etc.) • Memories (BRAM, DDR) • Peripherals (UART, Ethernet, Custom cores) • Running processes to implement a design. • Simulation • Synthesis • Compilation

  3. How Do I Use Xilinx EDK? • Xilinx Platform Studio (XPS) - the actual tool. • Design flow… • First, create the hardware platform • Select all of the peripherals • Connect peripherals • Second, create the software for the platform • Write software to “make things work” • Iterate if needed • The FPGA has a malleable fabric… • So both hardware and software are flexible and can be changed… • At “compile-time” • At “run-time” (dynamic reconfiguration)

  4. How To Get Started • Open up XPS • Create a new project. • Select “File”, “New Project” • Select “Base System Builder…” • Provides a wizard to help get the basic parts of the system established. • Click “OK”

  5. Building The Base System • Set the project file name. • Make sure the absolute path doesn’t have any spaces. • Create a new design from scratch. • Do not use a .BSB file. • Select the development board. • Xilinx, Spartan-3 Starter Board (E) • Select the processor unit. • MicroBlaze. • Use all of the default settings EXCEPT… • Enable the cache link. • Select which peripherals to include. • Use all of the defaults. • Cache setup. • Make both instructions and data cacheable (iCache & dCache). • Software setup. • Use all of the defaults.

  6. Base System Assembly View

  7. How To Run An Application • Select the TestApp_Memory application. • Compile the sources for the application… • Right click on it and select “Build Application” • Execute the test on the base system platform. • This requires the following to be combined… • Hardware bitstream (.bit) • Software executable (.elf) • This is done by selecting “Device Configuration”. • “Update Bitstream” - combines HW/SW (.bit + .elf). • “Download Bitstream” - downloads the configuration to the board.

  8. Monitoring Software Execution On The FPGA • How do you see what is happening on the FPGA? • Normally in software you use print() statements. • The output goes to the screen. • In this system, STDIN/STDOUT are routed to the serial port. • We must monitor the serial port from an external host to see what is happening. • In order to “see” what is executing… • Open up a terminal window • Minicom (Linux) • Hyperterminal (Windows) • Setup the correct communication parameters (baud rate = 9600).

  9. Creating New Software Applications • Select “Software”… • Click on “Add Software Application Project”. • Enter the new project name. • Also, choose which CPU to run the application on (MicroBlaze). • Now a new application tab entry will appear. • You can add/create sources for this new application. • In order to run this new application… • Right click on it • Select “Mark to initialize BRAMs” • Instructs the tool that this application is to be “added” to the bitstream. • Now, when updating the bitstream, this application will be added.

More Related