PCI bridge with CRT controller
("VGA card" test application)

We used Insight Electronics' SPARTAN-II PCI DEVELOPMENT BOARDS for testing the PCI core (PCI to WISHBONE bridge). The price for this board (without development cores) is about $145. You can find information regarding this board on the folowing page:

www.insight-electronics.com/solutions/kits/xilinx/spartan-iipci.html

We also needed Insight Electronics' SPARTAN-II PCI DIME1 PROBE BOARDS (add-on boards) for assemblig some additional electronic components (described below). The price for this board is about $40. You can find information regarding this board on the folowing page:

www.insight-electronics.com/solutions/kits/xilinx/dime1.html

We synthesis and implement PCI bridge with CRT controller into the FPGA on the PCI DEVELOPMENT BOARD. The application software (Linux driver) first write a palete through the PCI Targt into the CRT controller. Then it enables the PCI Master and CRT controller with appropriate values. Now CRT controller reads pixels through the PCI Master from the system memory of the computer. This application software uses 4-bits per color (12-bits) and also enables Frame Buffer so we can see the X windows through this PCI card. The resolution is 640x480 with 60 Hz refresh rate.

On the picture below you can see which pins and connectors of the DIME1 PROBE BOARD we used.

Dime1 probe board

The picture below shows the scheme for a simple resistor based DAC connected between the DIME1 PROBE BOARD and a standard 15-pin VGA connector. There you can also see how to connect a cristal oscilator which output frequency is used in the FPGA for video clock.

The whole PCI bridge works on the PCI clock (although it contains a synchronisation between PCI and WISHBONE clock). The synchronization between PCI and video clocks is made in the CRT controller. Therefore, the pixel data are written faster into the CRT fifo than read out of it.

Scheme: elements connected to Dime1 probe board

Following two pictures shows pinouts of the cristal oscilator and of the standard 15-pin VGA connector.

Cristal oscilator pinout

Standard 15-pin VGA connector