This section describes the process of launching XPS and creating a simple hardware/software platform using Base System Builder.
Launch the Xilinx Platform Studio application.
Select Base System Builder to create a new project.
Enter a path for your project. The project file must be named 'system.xmp' and must be saved to a folder with no spaces in its path.
Choose the option for a new design.
Base System Builder supports many development boards, including the WARP hardware platform. For this exercise, choose the board named 'WARP FPGA Board' and select revision 'FPGA 1.2'.
The Xilinx EDK supports two embedded processors. The PowerPC processor is a "hard" processor core, embedded in the fabric of the Virtex-II Pro FPGA on the WARP FPGA board. MicroBlaze is a "soft" processor core, implemented in the FPGA fabric itself. For this exercise (and all WARP designs generally), select the PowerPC core.
The clocking and memory architectures for EDK designs are very flexible. Base System Builder supports some simple clock/memory configurations. In more sophisticated designs, the clocking and memory options can be further customized by hand. For this exercise, select the clock frequencies and memory sizes shown above.
The next few screens present a list of available I/O devices. Each device corresponds to an off-chip interface on the WARP FPGA board. Each device can be enaled/disabled using its checkbox. For this exercise, choose the peripherals as follows:
Enabled:
-User I/O (with 'Use interrupt disabled')
-rs232 (configured for 57600 bps)
Disabled:
-sysace_compactflash
-Ethernet_MAC
-SRAM0 / SRAM1
After configuring off-chip devices, you now configure on-chip peripheral cores. By default, an internal RAM block is enabled. For this exercise, click 'Remove' to omit this core from the design.
For user applicaitons running in the PowerPC processor, the EDK tools can map the WARP FPGA board's serial port (the core named 'rs232' here) to the STDIN/STDOUT conventions. This allows funcitons like printf() to function normally, using an external terminal emulator as the PowerPC's display and keyboard.
XPS will also create a simple software project which, by default, tests the memory devices enabled in your design. XPS can also create a software project which runs self-test code on some peripherals. For this exercise, disable the self-test project.
When compiling and linking your software project, the EDK tools need to know where memory devices should house which sections of code/data for your program. For this exercise, the default selections (which use the on-chip memory devices for instruction and data) will work.
Base System Builder assigns default memory addresses to each memory and memory-mapped peripheral device. The addresses in your project may vary from those shown here. In general, the defaults selected by BSB work fine.
When Base System Builder finishes, XPS will open the resulting project. The remaining sections of this exercise describe how to use this interface to customize and test your hardware & softwate platform.