Overview
Sometimes we have an .ngc file from CORE Generator (or some other source) that we would like to bring into EDK as a peripheral. This project is a simple example of integrating a blackbox design into a peripheral generated by the Peripheral Wizard. We will first create a blackbox multiplier using the Xilinx CORE Generator and then we will use the generated .ngc file in our peripheral.
The multiplier will take in two 16 bit unsigned inputs and have a 32 bit unsigned output.
[Read More]
Hyperterminal Settings
Most of these projects use the RS-232 UART on the XUPV2P for simple debugging IO. The Hyperterminal settings for use with these projects are given in the table below.
Baud rate
9600 bps
Data bits
8 bits
Parity
None
Stop bits
1 bit
Flow control
None
The com port that is used (eg. COM1) will depend on whether you have a serial port already installed on your computer, or if you need to use a USB-Serial converter.
[Read More]
The PowerPC
Hard Processor
The PowerPC is a “hard” processor built into the Virtex II Pro FPGA. This is opposed to a “soft” processor that is implemented in a hardware description language (HDL) such as the Microblaze processor from Xilinx. The projects in this document focus on using the PowerPC with peripherals implemented in VHDL. The peripherals will be either provided by the Xilinx software or designed by the FPGA developer.
The Link to Peripherals: OPB and PLB
[Read More]
XPS Software
XUPV2P Library Files
To develop projects in XPS for the XUPV2P board it is necessary to copy the XUPV2P library files into a directory on the C drive of your computer. These files contain software libraries and hardware specific information for the XUPV2P board that are necessary for the Base System Builder wizard to construct projects specific to the hardware we are using.
The files can be located on the CD included with the XUPV2P board called “XUP Virtex-II Pro Development System Curriculum-On-A-Chip”.
[Read More]
Create a Peripheral using the Peripheral Wizard
Overview
In this tutorial we will create a simple project that uses our own IP core (instead of using the General Purpose IO core provided by Xilinx) to read from the DIP switches and write to the LEDs. The software application will display the DIP switch values on the LED outputs and also send the DIP switch values to the UART.
Any IP core must connect to the OPB (or PLB) to communicate with the PowerPC.
[Read More]
Create a Project Using the Base System Builder
Tutorial Overview
In this example, we will create a simple project using the Base System Builder that includes three peripherals: the RS232 UART and two GPIOs. One GPIO will be used for the DIP switches and the other for the LEDs. We will then use a C program to read data from the switches and write it to the LEDs. The result is that the LEDs will display the DIP switch settings.
[Read More]
Manually Add a Peripheral to a Project
Overview
In the previous example, we created a project using the BSB and all of the work related to the hardware design was done by the BSB. In this example, we will create the same simple project, but this time we will add the GPIO for the LEDs manually. This way we will learn the process of adding extra peripherals to our design and we will also better understand the hardware design features of XPS.
[Read More]