Copyright © 2003 Avnet, Inc. AVNET and the AV logo are registered trademarks of Avnet, Inc. All other trademarks are property of their respective owners.
Avnet Electronics Marketing
33 of 33
Rev 1.0 04/17/2006
Released
Literature # ADS-005104
3.0 Software/BSP
This section of the manual describes the example EDK projects included in the kit.
3.1 What is included
All of the example projects included in the Spartan-3 Development Kit were created in the Xilinx Embedded Development Kit (EDK)
version 6.3. The examples include the Xilinx Platform Studio (XPS) project files and supporting directory structures; all of the required
files to run the XPS projects. The user must have both the Xilinx Integrated Software Environment (ISE) version 6.3 and the EDK
version 6.3 software installed to utilize the example projects. The following list provides an outline of the Board Support Package
section. The XPS example projects are included on the Spartan-3 Development Kit CD. With the exception of the webserver example,
each project will have a datasheet located at the project root directory. The webserver example is based on an app note from Xilinx
(XAPP433).
XPS Example Projects
o
Hello World
o
Memory Examples
o
TBD
3.2 Hello
World
This example is intended to be as simple as possible in order to introduce the user to the board and Xilinx Platform Studio (XPS) tools.
The design consists primarily of the processor and a uart that is set up as the standard I/O device. This will allow any print commands
to be displayed on a terminal interface.
Since the design was built as a top-level system, the entire tool flow is within the XPS environment. The user may generate a netlist for
the hardware system, compile the test software and create a bit file updated with the software all from within XPS. The user may even
download the bit file to the evaluation board from XPS using a download cable. See Section 2.2 for instructions on how to set up a
download cable for configuration. The user can make a change to the software, re-compile and re-generate a bit file without having to
run through synthesis and implementation over again. To do this, select “Compile Program Sources” and then “Update Bitstream”.
Finally just download the bit file to the board using the “Download” option.
3.3 On-Chip Peripheral Bus (OPB) External Memory Project(s)
These are currently to be determined. Likely projects will include DDR SDRAM, Flash and SRAM.
3.3.1 DDR SDRAM Project
This example uses the On-Chip Peripheral Bus (OPB) to interface with the OPB_DDR peripheral, which is a standard peripheral
included in the EDK. The peripheral handles all transactions between the OPB and the off-chip DDR SDRAM memory, allowing the
MicroBlaze access to the 32MB memory. The timing parameters of the SDRAM peripheral have been specifically set up for the Micron
DDR SDRAM device on the Spartan-3 Development board. The OPB clock frequency is set for 100 MHz, since the 100MHz oscillator
input is being used. The timing parameters stay the same for the DDR SDRAM regardless of the bus frequency. The peripheral
automatically generates the specified timing using the specified bus frequency.
3.3.2 SRAM / Flash Project
This example uses the On-Chip Peripheral Bus (OPB) to interface with the OPB_EMC (External Memory Controller) peripheral, which is
a standard peripheral included in the EDK. The peripheral handles all transactions between the OPB and the off-chip SRAM and Flash
memory, allowing the MicroBlaze access to the 16MB Flash and 2MB SRAM. The timing parameters of the Flash and SRAM
peripheral have been specifically set up for the Intel and Cypress devices on the Spartan-3 Development board.
3.4 Web
Server
The Web Server demo is based on a Xilinx application note XAPP 433 that uses the MicroBlaze soft processor and the OPB Ethernet
MAC peripheral to host a web page. The original application note and accompanying source files are available here:
http://direct.xilinx.com/bvdocs/appnotes/xapp433.pdf
. The complete XPS project is included on the Spartan-3 Development Kit CD
under the “demo” folder. Since this design is documented in the application note, the only additional documentation is a readme file in
the root directory of the project. This “avnet_readme.txt” file discusses the modifications made during the port to the Avnet Spartan-3
Development Board and provides instructions on how to run the demo.