I've got a ML403 Virtex 4 development board with an FX12 part on it. I've developed several VHDL components that I need to interface to an embedded MicroBlaze. The VHDL components interface to the outside world through FPGA pins. I've looked at some Xilinx examples of devices like LEDs and switches interfacing to the MicroBlaze but these devices are always defined during the Base System Builder in XPS. I've tried the process of adding a GPIO for32-bit input as:
- Add IP for GPIO
- Attach the GPIO to the OPB
- Set the port connection IP2INTC_Irpt to opb_gpio_IP2INTC_Irpt
- Set GPIO_in to opb_gpio_0_in
- Generate addresses
Do the GPIO pins have to be mapped to FPGA I/O pins? I had to select "Make External" on each connection or I got errors when trying to build the project.
How do I attach local component functionality (known only to the top-level VHDL) to these GPIO pins?
Are there any __simple__ examples of GPIO usage and instantiation with connections to the top-level architecture?
Any help would be very much appreciated.