Xilinx Spartan-3 User Manual

Manual is about: Starter Kit Board

Summary of Spartan-3

  • Page 1

    R spartan-3 starter kit board user guide ug130 (v1.1) may 13, 2005.

  • Page 2

    Spartan-3 starter kit board user guide www.Xilinx.Com ug130 (v1.1) may 13, 2005 1-800-255-7778 "xilinx" and the xilinx logo shown above are registered trademarks of xilinx, inc. Any rights not expressly granted herein are reserved. Coolrunner, rocketchips, rocket ip, spartan, statebench, statecad, v...

  • Page 3: Table of Contents

    Spartan-3 starter kit board user guide www.Xilinx.Com 3 ug130 (v1.1) may 13, 2005 1-800-255-7778 preface: about this guide guide contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 chapter 1: introduction key componen...

  • Page 4

    4 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 r chapter 10: platform flash configuration storage platform flash jumper options (jp1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 “default” option . . . . . . . . ...

  • Page 5: About This Guide

    Spartan-3 starter kit board user guide www.Xilinx.Com 5 ug130 (v1.1) may 13, 2005 1-800-255-7778 r preface about this guide this user guide describes the components and operation of the spartan™-3 starter kit board. Guide contents this manual contains the following chapters: • chapter 1, “introducti...

  • Page 6

    6 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 preface: about this guide r.

  • Page 7: Introduction

    Spartan-3 starter kit board user guide www.Xilinx.Com 7 ug130 (v1.1) may 13, 2005 1-800-255-7778 r chapter 1 introduction the xilinx spartan-3 starter kit provides a low-cost, easy-to-use development and evaluation platform for spartan-3 fpga designs. Key components and features figure 1-1 shows the...

  • Page 8

    8 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 1: introduction r • ps/2-style mouse/keyboard port • four-character, seven-segment led display • eight slide switches • eight individual led outputs • four momentary-contact push button switches ...

  • Page 9: Component Locations

    Spartan-3 starter kit board user guide www.Xilinx.Com 9 ug130 (v1.1) may 13, 2005 1-800-255-7778 component locations r • 50 mhz crystal oscillator clock source (bottom side of board, see figure 1-3 ) • socket for an auxiliary crystal oscillator clock source • fpga configuration mode selected via jum...

  • Page 10

    10 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 1: introduction r figure 1-2: xilinx spartan-3 starter kit board (top side) power 2mbit platformflash a1 expansion connector a2 expansion connector power prog done ps/2 xilinx xc3s200 fpga vg a ...

  • Page 11: Fast, Asynchronous Sram

    Spartan-3 starter kit board user guide www.Xilinx.Com 11 ug130 (v1.1) may 13, 2005 1-800-255-7778 r chapter 2 fast, asynchronous sram the spartan-3 starter kit board has a megabyte of fast asynchronous sram, surface- mounted to the backside of the board. The memory array includes two 256kx16 issi is...

  • Page 12: Address Bus Connections

    12 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 2: fast, asynchronous sram r the sram array forms either a single 256kx32 sram memory or two independent 256kx16 arrays. Both sram devices share common write-enable (we#), output-enable (oe#), a...

  • Page 13

    Spartan-3 starter kit board user guide www.Xilinx.Com 13 ug130 (v1.1) may 13, 2005 1-800-255-7778 write enable and output enable control signals r write enable and output enable control signals both 256kx16 srams share common output enable (oe#) and write enable (we#) control lines, as shown in tabl...

  • Page 14

    14 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 2: fast, asynchronous sram r table 2-4: sram ic11 connections signal fpga pin io15 n1 io14 m1 io13 k2 io12 c3 io11 f5 io10 g1 io9 e2 io8 d2 io7 d1 io6 e1 io5 g2 io4 j1 io3 k1 io2 m2 io1 n2 io0 p...

  • Page 15

    Spartan-3 starter kit board user guide www.Xilinx.Com 15 ug130 (v1.1) may 13, 2005 1-800-255-7778 r chapter 3 four-digit, seven-segment led display the spartan-3 starter kit board has a four-character, seven segment led display controlled by fpga user-i/o pins, as shown in figure 3-1 . Each digit sh...

  • Page 16

    16 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 3: four-digit, seven-segment led display r table 3-1: fpga connections to seven-segment display (active low) segment fpga pin a e14 b g13 c n15 d p15 e r16 f f13 g n16 dp p16 table 3-2: digit en...

  • Page 17

    Spartan-3 starter kit board user guide www.Xilinx.Com 17 ug130 (v1.1) may 13, 2005 1-800-255-7778 r the led control signals are time-multiplexed to display data on all four characters, as shown in figure 3-2 . Present the value to be displayed on the segment control inputs and select the specified c...

  • Page 18

    18 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 3: four-digit, seven-segment led display r.

  • Page 19: Switches and Leds

    Spartan-3 starter kit board user guide www.Xilinx.Com 19 ug130 (v1.1) may 13, 2005 1-800-255-7778 r chapter 4 switches and leds slide switches the spartan-3 starter kit board has eight slide switches, indicated as in figure 1-2 . The switches are located along the lower edge of the board, toward the...

  • Page 20: Leds

    20 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 4: switches and leds r leds the spartan-3 starter kit board has eight individual surface-mount leds located above the push button switches, indicated by in figure 1-2 . The leds are labeled led7...

  • Page 21: Vga Port

    Spartan-3 starter kit board user guide www.Xilinx.Com 21 ug130 (v1.1) may 13, 2005 1-800-255-7778 r chapter 5 vga port the spartan-3 starter kit board includes a vga display port and db15 connector, indicated as in figure 1-2 . Connect this port directly to most pc monitors or flat-panel lcd display...

  • Page 22

    22 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 5: vga port r each color line has a series resistor to provide 3-bit color, with one bit each for red, green, and blue. The series resistor uses the 75 Ω vga cable termination to ensure that the...

  • Page 23

    Spartan-3 starter kit board user guide www.Xilinx.Com 23 ug130 (v1.1) may 13, 2005 1-800-255-7778 signal timing for a 60hz, 640x480 vga display r same signal timings as crt displays. Consequently, the following discussion pertains to both crts and lcd displays. Within a crt display, current waveform...

  • Page 24: Vga Signal Timing

    24 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 5: vga port r modern vga displays support multiple display resolutions, and the vga controller dictates the resolution by producing timing signals to control the raster patterns. The controller ...

  • Page 25

    Spartan-3 starter kit board user guide www.Xilinx.Com 25 ug130 (v1.1) may 13, 2005 1-800-255-7778 vga signal timing r generally, a counter clocked by the pixel clock controls the horizontal timing. Decoded counter values generate the hs signal. This counter tracks the current pixel display location ...

  • Page 26

    26 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 5: vga port r.

  • Page 27: Ps/2 Mouse/keyboard Port

    Spartan-3 starter kit board user guide www.Xilinx.Com 27 ug130 (v1.1) may 13, 2005 1-800-255-7778 r chapter 6 ps/2 mouse/keyboard port the spartan-3 starter kit board includes a ps/2 mouse/keyboard port and the standard 6- pin mini-din connector, labeled j3 on the board and indicated as in figure 1-...

  • Page 28: Keyboard

    28 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 6: ps/2 mouse/keyboard port r bidirectional keyboard communications. As shown in figure 6-2 , the attached keyboard or mouse writes a bit on the data line when the clock signal is high, and the ...

  • Page 29

    Spartan-3 starter kit board user guide www.Xilinx.Com 29 ug130 (v1.1) may 13, 2005 1-800-255-7778 keyboard r the host can also send data to the keyboard. Table 6-3 provides a short list of some often- used commands. The keyboard sends data to the host only when both the data and clock lines are high...

  • Page 30: Mouse

    30 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 6: ps/2 mouse/keyboard port r the following site contains more information on ps/2 keyboard interfaces: • the at-ps/2 keyboard interface http://panda.Cs.Ndsu.Nodak.Edu/~achapwes/picmicro/keyboar...

  • Page 31: Voltage Supply

    Spartan-3 starter kit board user guide www.Xilinx.Com 31 ug130 (v1.1) may 13, 2005 1-800-255-7778 voltage supply r when an overflow occurs. If the mouse moves continuously, the 33-bit transmissions repeat every 50 ms or so. The l and r fields in the status byte indicate left and right button presses...

  • Page 32

    32 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 6: ps/2 mouse/keyboard port r.

  • Page 33: Rs-232 Serial Port

    Spartan-3 starter kit board user guide www.Xilinx.Com 33 ug130 (v1.1) may 13, 2005 1-800-255-7778 r chapter 7 rs-232 serial port the spartan-3 starter kit board has an rs-232 serial port. The rs-232 transmit and receive signals appear on the female db9 connector, labeled j2, indicated as in figure 1...

  • Page 34

    34 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 7: rs-232 serial port r device converts the rs-232 serial input data to lvtll levels for the fpga. A series resistor between the maxim output pin and the fpga’s rxd pin protects against accident...

  • Page 35: Clock Sources

    Spartan-3 starter kit board user guide www.Xilinx.Com 35 ug130 (v1.1) may 13, 2005 1-800-255-7778 r chapter 8 clock sources the spartan-3 starter kit board has a dedicated 50 mhz epson sg-8002jf series clock oscillator source and an optional socket for another clock oscillator source. Figure a-5 pro...

  • Page 36: Fpga Configuration Modes and

    36 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 9: fpga configuration modes and functions r chapter 9 fpga configuration modes and functions fpga configuration mode settings in most applications for the spartan-3 starter kit board, the fpga a...

  • Page 37

    Spartan-3 starter kit board user guide www.Xilinx.Com 37 ug130 (v1.1) may 13, 2005 1-800-255-7778 program push button/done indicator led r program push button/done indicator led the spartan-3 starter kit board includes two fpga configuration functions, located near the vga connector and the ac power...

  • Page 38: “Default” Option

    Spartan-3 starter kit board user guide www.Xilinx.Com 38 ug130 (v1.1) may 13, 2005 1-800-255-7778 r chapter 10 platform flash configuration storage the spartan-3 starter kit board has an xcf02s serial configuration flash prom to store fpga configuration data and potentially additional non-volatile d...

  • Page 39: “Flash Read” Option

    Spartan-3 starter kit board user guide www.Xilinx.Com 39 ug130 (v1.1) may 13, 2005 1-800-255-7778 “flash read” option r “flash read” option the spartan-3 starter kit board includes a 2mbit platform flash configuration prom. The xc3s200 fpga on the board only requires slightly less than 1mbit for con...

  • Page 40: “Disable” Option

    40 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 10: platform flash configuration storage r additional fpga logic is required to read the platform flash data, as described in the following application note. • xapp694: reading user data from co...

  • Page 41: Jtag Header (J7)

    Spartan-3 starter kit board user guide www.Xilinx.Com 41 ug130 (v1.1) may 13, 2005 1-800-255-7778 r chapter 11 jtag programming/debugging ports the spartan-3 starter kit board includes a jtag programming and debugging chain. Both the spartan-3 fpga and the platform flash devices are part of the jtag...

  • Page 42

    42 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 11: jtag programming/debugging ports r the j7 header also supports the xilinx parallel cable 3 (pc3) download/debugging cable when using the flying leaders. Again, make sure that the signals at ...

  • Page 43

    Spartan-3 starter kit board user guide www.Xilinx.Com 43 ug130 (v1.1) may 13, 2005 1-800-255-7778 parallel cable iv/multipro desktop tool jtag header (j5) r figure 11-3: use 14-pin ribbon cable to connect parallel cable iv or the multipro desktop tool to the j5 header j5 parallel cable iv jtag red t...

  • Page 44

    44 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 11: jtag programming/debugging ports r.

  • Page 45: Power Distribution

    Spartan-3 starter kit board user guide www.Xilinx.Com 45 ug130 (v1.1) may 13, 2005 1-800-255-7778 r chapter 12 power distribution ac wall adapter the spartan-3 starter kit includes an international-ready ac wall adapter that produces a +5v dc output. Connect the ac wall adapter to the barrel connect...

  • Page 46

    46 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 12: power distribution r 2.5v and 1.2v regulators. Similarly, the 3.3v regulator feeds all the v cco voltage supply inputs to the fpga’s i/o banks and powers most of the components on the board....

  • Page 47: Expansion Connectors

    Spartan-3 starter kit board user guide www.Xilinx.Com 47 ug130 (v1.1) may 13, 2005 1-800-255-7778 r chapter 13 expansion connectors and boards expansion connectors the spartan-3 starter kit board has three 40-pin expansion connectors labeled a1, a2, and b1. The a1 and a2 connectors, indicated as and...

  • Page 48

    48 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 13: expansion connectors and boards r each port offers some ability to program the fpga on the spartan-3 starter kit board. For example, port a1 provides additional logic to drive the fpga and p...

  • Page 49

    Spartan-3 starter kit board user guide www.Xilinx.Com 49 ug130 (v1.1) may 13, 2005 1-800-255-7778 expansion connectors r a1 connector pinout the a1 expansion connector is located along the top edge of the board, on the left, as indicated by in figure 1-2 . Table 13-2 provides the pinout for the a1 c...

  • Page 50

    50 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 13: expansion connectors and boards r the a1 expansion connector shares connections with the 256kx16 sram devices, specifically the sram address lines, the oe# and we# control signals, and the e...

  • Page 51

    Spartan-3 starter kit board user guide www.Xilinx.Com 51 ug130 (v1.1) may 13, 2005 1-800-255-7778 expansion connectors r b1 connector pinout the b1 expansion connector is located on the right edge of the board, as indicated by in figure 1-2 . Table 13-4 provides the pinout for the b1 connector. The ...

  • Page 52: Expansion Boards

    52 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 chapter 13: expansion connectors and boards r expansion boards various expansion boards plug into the a1, a2, or b1 connectors as listed below: • spartan-3 starter kit expansion boards http://www.Xilinx...

  • Page 53: Board Schematics

    Spartan-3 starter kit board user guide www.Xilinx.Com 53 ug130 (v1.1) may 13, 2005 1-800-255-7778 r appendix a board schematics this appendix provides the schematics for the spartan-3 starter kit board: • figure a-1 , “a1, a2, and b1 expansion connectors” • figure a-2 , “slide switches, push buttons...

  • Page 54

    54 w w w .X ilinx .C om s par ta n-3 star ter k it b o ar d u ser g uid e 1-80 0-25 5-7 778 u g 130 (v1 .1) ma y 13, 200 5 a ppen di x a : boa rd s c he ma tic s r fi g u re a-1 : a1 , a2 , a nd b1 e x p a ns ion conne c tor s ug130_apa_01_051305 note: sram address lines and oe#, we# controls have s...

  • Page 55

    Sp ar ta n-3 s tar te r k it b oa rd u s er g uide w w w .X ilinx .C om 55 u g 13 0 (v 1.1 ) ma y 13 , 20 05 1-80 0-25 5-7 778 r f igur e a- 2: sli d e sw it ch es, p u sh bu tt o n s, l e ds, a n d f o u r- c h ara ct er 7- se g m en t disp la y ug130_apa_02_051305.

  • Page 56

    56 w w w .X ilinx .C om s par ta n-3 star ter k it b o ar d u ser g uid e 1-80 0-25 5-7 778 u g 130 (v1 .1) ma y 13, 200 5 a ppen di x a : boa rd s c he ma tic s r f igu re a- 3: v o lt a g e re gulat or s, j p 2 j u mpe r s e tt in g f o r p s /2 p o rt v o lt a g e ug130_apa_03_042704.

  • Page 57

    Sp ar ta n-3 s tar te r k it b oa rd u s er g uide w w w .X ilinx .C om 57 u g 13 0 (v 1.1 ) ma y 13 , 20 05 1-80 0-25 5-7 778 r f igur e a -4: fpga configur a tion inte rf a c e , pla tf o rm fla s h , j t a g conne c tio ns , j u mp e r j p 1 ug130_apa_04_051305.

  • Page 58

    58 w w w .X ilinx .C om s par ta n-3 star ter k it b o ar d u ser g uid e 1-80 0-25 5-7 778 u g 130 (v1 .1) ma y 13, 200 5 a ppen di x a : boa rd s c he ma tic s r f igu re a- 5: fpg a i/o conne c tions , cloc k s our c e s ug130_apa_05_051305.

  • Page 59

    Sp ar ta n-3 s tar te r k it b oa rd u s er g uide w w w .X ilinx .C om 59 u g 13 0 (v 1.1 ) ma y 13 , 20 05 1-80 0-25 5-7 778 r fi g u re a-6 : p o we r de c o upli n g c a pa c it o rs ug130_apa_06_051305.

  • Page 60

    60 w w w .X ilinx .C om s par ta n-3 star ter k it b o ar d u ser g uid e 1-80 0-25 5-7 778 u g 130 (v1 .1) ma y 13, 200 5 a ppen di x a : boa rd s c he ma tic s r f igu re a- 7: rs -2 32 s e rial p o rt , v g a p o rt , p s /2 p o rt , p a ral lel ca b le i v j t a g int e rf ac e ug130_apa_07_0513...

  • Page 61

    Sp ar ta n-3 s tar te r k it b oa rd u s er g uide w w w .X ilinx .C om 61 u g 13 0 (v 1.1 ) ma y 13 , 20 05 1-80 0-25 5-7 778 r fi g u re a- 8 : 2 x 2 5 6 kx 1 6 f a s t as y n c h ronous sram inte rf a c e ug130_apa_08_051305 note: sram address lines and oe#, we# controls have shared connections w...

  • Page 62

    62 w w w .X ilinx .C om s par ta n-3 star ter k it b o ar d u ser g uid e 1-80 0-25 5-7 778 u g 130 (v1 .1) ma y 13, 200 5 a ppen di x a : boa rd s c he ma tic s r f igur e a -9: digilent jt a g 3 lo w -cost j t a g do w n lo a d /deb u g c a b le ug130_apa_09_042604.

  • Page 63: Reference Material For Major

    Spartan-3 starter kit board user guide www.Xilinx.Com 63 ug130 (v1.1) may 13, 2005 1-800-255-7778 r appendix b reference material for major components table b-1 lists the major components on the spartan-3 starter kit board, including full part numbers and links to complete device data sheets. Table ...

  • Page 64: Www.Xilinx.Com/s3Boards

    Pn 0402292 www.Xilinx.Com spartan-3 starter kit board user guide 1-800-255-7778 ug130 (v1.1) may 13, 2005 r www.Xilinx.Com/s3boards.

  • Page 65: Mouser Electronics

    Mouser electronics authorized distributor click to view pricing, inventory, delivery & lifecycle information: digilent : 410-044p-kit 410-044.