Home

Xilinx UG130 Spartan-3 Starter Kit Board user guide

image

Contents

1. 1NI939 1 1 1 ANION 1 AMdTII E ERERFERERE ES 4 L lx Arddns aamod 06 042804 UG130_A Power Decoupling Capacitors Figure A 6 63 www xilinx com Spartan 3 Starter Kit Board User Guide UG130 v1 0 April 28 2004 1 800 255 7778 Appendix A Board Schematics XILINX 55 5 HU 4ouing 455 6 3 007 2 oYe sses sy gga 49qwnN iueun2og p4eog ES 1 DUT 00Z 6 963 p4eog 665 6 6 8 2 9 9 D 1 140d yon peo 1400 Tetuas Aaoseooe 40 pesf ANMTOOR OD aTewe4 680 390 TETEXEN LINI ON Z ONS IN 9x N9 NIQ IQL SxON9 3NOQ OQl x0N9 6 1 9000 5601 EXONS TONS AOYDSUUOD 9UIf lt 60 0 20 10148 07 042804 UG130 A Figure 4 7 RS 232 Serial Port VGA Port PS 2 Port Parallel Cable IV JTAG Interface Spartan 3 Starter Kit Board User Guide www xilinx com 1 800 255 7778 64 UG130 v1 0 April 28 2004 23 XILINX G 3ueg uo zg1 pue pue 9 u
2. 6 8 2 S E 1 oz g C a 33 IININININININIMI q rj 1 a1 qi qj OGO6000000000000000000000000000000000000000 ANMTOUR OQOO0O0000000000000000000000000000000000000 ANMTOUR OAD UG130_ApA_01_042704 A1 A2 and B1 Expansion Connectors Figure A 1 Spartan 3 Starter Kit Board User Guide www xilinx com 58 UG130 v1 0 April 28 2004 1 800 255 7778 23 XILINX Hasys 3 29 455 6 3 00Z 2 reien aseaTay 0 009 49qunN UEWND0q p4eog S 1 Duy 88 Yubrandog p4eog 686 0 0130 ApA 02 042704 isplay Segment D Character 7 and Four LEDs ide Switches Push Buttons 2 SI Figure A 59 www xilinx com 1 800 255 7778 Spartan 3 Starter Kit Board User Guide UG130 v1 0 April 28 2004 Appendix A Board Schematics XILINX B E 55 5 00Z 2 zeigt s lI q UNI 40uing p4eog ES 1 8 39 4 urbu3 DUJ yUeTIbIq 00Z Yubrandog p4eog 665 6 anzz 131 ZIINUJ s37 E 8402
3. Schematic Name FPGA Pin Connector FPGA Pin Schematic Name GND VU 5V Vcco 3 3V Veco all banks C10 PB ADRO PB DBO T3 E10 PB ADR1 FPGA RD WR 8 config PB DB1 N11 C11 PB ADR2 FPGA 131 config PB DB2 P10 D11 PB ADR3 FPGA 132 config PB DB3 R10 C12 PB ADR4 FPGA D3 config PB DB4 T7 D12 PB ADR5 FPGA D4 config PB DB5 R7 E11 PB WE FPGA D5 config PB DB6 N6 B16 PB OE FPGA D6 config PB DB7 M6 R3 PB CS FPGA D7 config FPGA CS B config PB CLK C15 C16 MB1 DBO MB1 DB1 D15 D16 MB1 DB2 481 1 83 E15 E16 MB1 DB4 MB1 DB5 F15 G15 MB1 DB6 MB1 DB7 G16 H15 MB1 ASTB MB1 DSTB H16 J16 MB1 WRITE MB1 WAIT K16 K15 MB1 RESET MB1 INT L15 B3 PROG B FPGA PROG_B DONE R14 N9 INIT FPGA DONE FPGA INIT_B CCLK T15 M11 DIN FPGA CCLK Connects to A14 via 390Q resistor Spartan 3 Starter Kit Board User Guide www xilinx com 55 UG130 v1 0 April 28 2004 1 800 255 7778 A XILINX Chapter 13 Expansion Connectors and Boards Expansion Boards Various expansion boards plug into the A1 A2 or B1 connectors as listed below e Spartan 3 Starter Kit Expansion Boards www xilinx com s3boards e Digilent Expansion Boards https digilent us Sales boards cfm Peripheral Digilent Breakout Probe Header TPH1 https digilent us Sales Product cfm Pro
4. 9 9 9 dez1 9 N6Z1 9 d8z1 9 9 9 NZZ1 9 d amp z1 9 NGZ1 RICH 9 NIO1 Q9 j3dn vOI 9 j3dn 0I 501 101 2 ueg 0 1 ey OW 95 1 ino 30 aan pa4ap os dard J3un 2 N rT d6e1 6 dre dec NZ dizl NIZI dec NOZI dsl 33 NEI d2Tl NZTI 33 2 Nat 6 8 101 Aveda 0 1 5 338 5 d6e1 6 5 NZI 5 33 decl 5 NEZ 5 ENZ die 5 NIZI dez N ZT 5 6 N6T1 338 det E 9 Nat d TOI ueg O I 390200898 831 ino 30 932 205 97 338 9 2 NOV 2 d6 1 2 NGC 6 0 2 9 338 2 6 2 dez 2 2 decl 2 9 dazi 2 NIZI 2 deci 2 NOZI 2 d6T1 2 NEI 9 33 2 d2Tl 2 N2TI 2 dai 9 N9TI 2 d101 2 101 9 Aveda 0 1 Z 338 devi Z NOF1 Z d6 1 Z NGC Z dre Z z dezi Z 338 NEZ1 Z Z NZZ
5. nZ I 1 3 P a IMO NI INIIN 6 UN 10238241 5 31 5 8 AN T m antoj anzz ZSd NG Z Xxnua33n A 6 21 T T aadwnr Arddns uanog pueoghey oO g 100 NG XTIN33 n 8398011 JnaT 33 2 0130 ApA 03 4 UG130 v1 0 April 28 2004 Spartan 3 Starter Kit Board User Guide Figure A 3 Voltage Regulators JP2 Jumper Setting for PS 2 Port Voltage www xilinx com 1 800 255 7778 60 23 XILINX 2 teie 555 5 8 009 49QqunN i1ueunoo p4eog ES 1 DUT uer rg 00Z Yubrandog p4eog 86868 6 B ANHO Jn2v0 0 6 2 ZU 113 913 WON 34 buranbrjuo2 ueun 298 eAe s 322155 sr 40 T300W PUP 0300 uo perreisur aq pInous 207 5 468 63D UoTYe4NHTyUOD Jel4es aui aui ssedhq oi Zdf pue Idf jO z s rd uo pa reisur eje 20 4 5 46 4epeaH s2ej4eiu I 17 sy uey 48uie4 UOT ISOd paeoq e4eudraed e UsAT4p 6 9 sue s eubrs gylf y uaum ureu2 ue2s aui aie duo2 zr uo 001 pue 01 u mi q pe reisur 420Tq burigous y S81oN Tg pue zu 40129uuo2 OL 00084 sa dunr 123198 900 14 yeys i nejep sadunf ou WATJWOJ 1ON N37 dUMSH ASn8 1nOQ v g LINI NIET 00 N10 NZZ1 WON uote Tet 49g 8 8084 aNog alr 1
6. abe 4215 pog 4edunf SUOTYSUN4 O41u0j suory gt ung uote nb pue 0 4 63 94 o Jon 201 S N9 p dere 628 gal ool 658 1 SWL A WW 4epeaH 62 5 9UIf A 04 042704 UG130 Ap FPGA Configuration Interface Platform Flash JTAG Connections Jumper JP1 Figure A 4 61 www xilinx com 1 800 255 7778 Spartan 3 Starter Kit Board User Guide UG130 v1 0 April 28 2004 165 Board Schemati Appendix A XILINX vO0O0Z E Z y oYe ospatad 0 809 49 iueuno2og p4eog s 1 DUJ yUeTIbIq 00Z iubia4hdoj p4eog 86868 6 2129 8 dc 1 SN 199 8 Nc 1 80 98 4 8 NIET S doel S amp 4338 8 dez1 S 20 97 82 90 8 N821 8 d 8 438 8 N2Z1 S dem amp 8 53 5 4 87 8 uMQad G8 N1071 S j3Un v0I 01 01 01 S ueg 1 Suv 066 Sy109 T dre T 434n T NIET T dee1 T N ET T dez1 TN6Z1 T d821 IT N8Z1 T T T deri T JA3un T NOTI T diei T NI T T 338 01 01 TOI 1 aueg 1 DN 199 v dZET 9 NZE1 v d e1 c v N E1 dee v NGC d8Z1 N8Z1 10 4 v dsc NGC v di 1 1 1 501 TOI veg 1 2109 8 MEET 9 199 8 D J pnn p
7. 33 Chapter 7 RS 232 Port Chapter 8 Clock Sources Spartan 3 Starter Kit Board User Guide www xilinx com UG130 v1 0 April 28 2004 1 800 255 7778 XILINX Chapter 9 FPGA Configuration Modes and Functions FPGA Configuration Mode Gettngs 000 0 cece cece eee eee 39 Program Push Button DONE Indicator 1 51 40 Chapter 10 Platform Flash Configuration Storage Platform Flash Jumper Options PU 41 Default Option ane kiya rubber ER ER Ces Ee ee Ee 41 Flash Read e EE EE 42 Digable 0 z uuu pH pd EE 43 Chapter 11 JTAG Programming Debugging Ports JTAG Header 17 icc 45 Parallel Cable IV MultiPro Desktop Tool JTAG Header J5 46 Chapter 12 Power Distribution AC Wall Adapters ius Age rogo Rena fal epar e 49 Voltage Regulators ico e etn REX Y Ra REPE at 49 Chapter 13 Expansion Connectors and Boards Expansion Connectors osi rebar Lieder hacia RR Ra ees Rp EK 51 Al Connector Pinul u sss serit nee eate Vas dre aaa 53 A2 Connector Ee s cere yaaa suspa ee E ned S dee ees ansa d adiret 54 BI Connector PINOUT rper e ea aaa 55 Expansion Boards Zoids Drs Las EE 56 Appendix A Board Schematics Appendix B Reference Material for Major Components 4 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 A
8. DO Default OE RESET CE CLK UG130_c10_01_042704 Figure 10 1 Default Platform Flash Option Flash Read Option The Spartan 3 Starter Kit Board includes a 2Mbit Platform Flash configuration PROM The XC35200 FPGA on the board only requires slightly less than 1Mbit for configuration data The remainder of the Platform Flash is available to store other non volatile data such as revision codes serial numbers coefficients an Ethernet MAC ID or code for an embedded processor such as MicroBlaze within the FPGA To allow the FPGA to read from Platform Flash after configuration the JP1 jumper must be properly positioned as shown in Figure 10 2 When the jumper is in this position the Platform Flash is always enabled After FPGA configuration completes the FPGA application drives the INIT_B pin High FPGA pin N9 Consequently the Platform Flash data pointer is not reset and points to the additional data following the FPGA configuration data To read any subsequent data the FPGA application generates additional clock pulses on the RCLK signal from FPGA pin A14 After configuration the FPGA s CCLK output is three stated with a pull up resistor to Vccaux 2 5V The Platform Flash presents serial data on the FPGA s DIN pin pin M11 Spartan 3 FPGA Platform Flash p JP1 DIN DO 20 Flash Read INIT_B OE RESET DONE CE CCLK USER I O xx FPGA pin number UG130 610 02 042704 Figure 10 2 Read Additional Data
9. Table 6 4 Keyboard LED Control 7 6 5 4 3 2 1 0 and Caps Num Scroll en Lock Lock Lock EE Echo Upon receiving an echo command the keyboard replies with the same scan code EE F3 Set scan code repeat rate The keyboard acknowledges receipt of an F3 by returning an FA after which the host sends a second byte to set the repeat rate FE Resend Upon receiving a resend command the keyboard resends the last scan code sent FF Reset Resets the keyboard The keyboard sends data to the host only when both the data and clock lines are High the Idle state Because the host is the bus master the keyboard checks whether the host is sending data before driving the bus The clock line can be used as a clear to send signal If the host pulls the clock line Low the keyboard must not send any data until the clock is released The keyboard sends data to the host in 11 bit words that contain a 0 start bit followed by eight bits of scan code LSB first followed by an odd parity bit and terminated with a 1 stop bit When the keyboard sends data it generates 11 clock transitions at around 20 to 30 kHz and data is valid on the falling edge of the clock as shown in Figure 6 2 Spartan 3 Starter Kit Board User Guide www xilinx com 31 UG130 v1 0 April 28 2004 1 800 255 7778 22 XILINX Chapter 6 PS 2 Mouse Keyboard Port The following site contains more informati
10. IERI Tow bp UG130_c5_03_042404 Figure 5 3 VGA Control Timing www xilinx com 1 800 255 7778 Spartan 3 Starter Kit Board User Guide UG130 v1 0 April 28 2004 VGA Signal Timing XILINX 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 on a given row A separate counter tracks the vertical timing The vertical sync counter increments with each HS pulse and decoded values generate the VS signal This counter tracks the current display row These two continuously running counters form the address into a video display buffer For example the on board fast SRAM is an ideal display buffer No time relationship is specified between the onset of the HS pulse and the onset of the VS pulse Consequently the counters can be arranged to easily form video RAM addresses or to minimize decoding logic for sync pulse generation Spartan 3 Starter Kit Board User Guide www xilinx com 27 UG130 v1 0 April 28 2004 1 800 255 7778 XILINX Chapter 5 VGA Port 28 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 SC XILINX Chapter 6 PS 2 MouselKeyboard 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 2 Figure 6 1 shows the P
11. 0 0 0 0 0 0 0 9 0 0 0 0 1 0 0 A 0 0 0 1 0 0 0 b 1 1 0 0 0 0 0 6 0 1 1 0 0 0 1 d 1 0 0 0 0 1 0 E 0 1 1 0 0 0 0 F 0 1 1 1 0 0 0 18 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 23 XILINX 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 character by driving the associated anode control signal Low Through persistence of vision the human brain perceives that all four characters appear simultaneously similar to the way the brain perceives a TV display Aas 0 A ff AN1 NT Ao NAA J A B C D E F G DP pisP3 DisP2 DISPO UG130 c3 02 042404 Figure 3 2 Drive Anode Input Low to Light an Individual Character This scanning technique reduces the number of I O pins required for the four characters If an FPGA pin were dedicated for each individual segment then 32 pins are required to drive four 7 segment LED characters The scanning technique reduces the required I O down to 12 pins The drawback to this approach is that the FPGA logic must continuously scan data out to the displays a small price to save 20 additional I O pins Spartan 3 Starter Kit Board User Guide www xilinx com 19 UG130 v1 0 April 28 2004 1 800 255 7778 22 XILINX Chapter 3 Four Digit Seven Segment LED
12. 39 dE EIN 0 0 n 9 9 9 n n nn 00000000000 E N Pin 4 Pin 2 VU Pin 40 5V O Pin 40 7 UG130_c12_02_042504 Figure 13 2 40 pin Expansion Connector The pinout information for each connector appears below The tables include the connections between the FPGA and the expansion connectors plus the signal names used in the detailed schematic in Figure A 1 52 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 Expansion Connectors A1 Connector Pinout 23 XILINX 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 connector The FPGA connections are specified in parentheses Table 13 2 Pinout for A1 Expansion Connector Schematic Name FPGA Pin Connector FPGA Pin Schematic Name GND VU 5V DBO N7 L5 ADR1 SRAM AO DB1 T8 N3 ADR2 SRAM A1 DB2 R6 M4 ADR3 SRAM A2 DB3 T5 M3 ADR4 SRAM A3 DB4 R5 L4 ADR5 SRAM A4 DB5 C2 G3 WE SRAM WE DB6 C1 K4 OE SRAM OE DB7 B1 P9 CSA FPGA DOUT BUSY LSBCLK M7 M10 MA1 DB0 MA1 DB1 F3 G4 MA1 DB2 SRAM A6 SRAM A5 MA1 DB3 E3 F4 MA1 DB4 SRAM A8 SRAM A7 MA1 DB5 G5 E4 MA1 DB6 SRAM A10 SRAM A9 MA1 DB7 H4 H3 MA1 ASTB SRAM A12 SRAM A11 M
13. LEDs www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 SC XILINX 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 displays using a standard monitor cable Pin 5 Pin 10 Pin 15 DB15 VGA Connector DB15 front view Connector 2700 R AAA o R R2 G 2700 reen ANN oG 12 2700 BI o B R11 Horizontal Sync O HS R9 Vertical Sync vs T10 xx FPGA pin number GND UG130_c5_01_042604 Figure 5 1 VGA Connections from Spartan 3 Starter Kit Board Asshown in Figure 5 1 the Spartan 3 FPGA controls five VGA signals Red R Green G Blue B Horizontal Sync HS and Vertical Sync VS all available on the VGA connector The FPGA pins that drive the VGA port appear in Table 5 1 A detailed schematic is in Figure A 7 Spartan 3 Starter Kit Board User Guide www xilinx com 23 UG130 v1 0 April 28 2004 1 800 255 7778 XILINX Chapter 5 VGA Port Table 5 1 VGA Port Connections to the Spartan 3 FPGA Signal FPGA Pin Red R R12 Green G T12 Blue B R11 Horizontal Sync HS R9 Vertical Sync VS T10 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 75Q
14. Mode mr Description lt MO M1 M2 gt 9 9 Slave Parallel GND 8 JP1 Another device connected to the B1 expansion connector 01 1 w eeg provides parallel data and clock to load the FPGA 1 32 Mo m1 M2 JTAG The FPGA waits for configuration via the four wire JTAG rGND J8 RS JP1 5 lt 1 0 1 gt u interface BIB Mo M1 M2 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 input connector as shown in Figure 9 1 The PROG in Figure 9 1 drives the FPGA s PROG B programming pin When pressed the PROG push button forces the FPGA to reconfigure and reload it configuration data The DONE LED shown as 3 in Figure 9 1 connects to the FPGA s DONE pin and lights 40 push button shown as up when the FPGA is successfully configured Figure 9 1 www xilinx com 1 800 255 7778 DONE PROG UG130 c9 03 042704 The PROG Button and the DONE LED Spartan 3 Starter Kit Board User Guide UG130 v1 0 April 28 2004 XILINX Chapter 10 Platform Flash Configuration Storage The Spartan 3 Starter Kit board has an XCF028 serial configuration Flash PROM to store FPGA configuration data and potentially additional non volatile data including MicroBlaze application code To configure the FPGA from Platform Flash memory all three jumpers must be installed on the J8 header indicated
15. VGA cable termination to ensure that the color signals remain in the VGA specified OV to 0 7V range The HS and VS signals are TTL level Drive the R G and B signals High or Low to generate the eight possible colors shown in Table 5 2 Table 5 2 3 Bit Display Color Codes Red 8 Green G Blue B Resulting Color 0 0 0 Black 0 0 1 Blue 0 1 0 Green 0 1 1 Cyan 1 0 0 Red 1 0 1 Magenta 1 1 0 Yellow VGA signal timing is specified published copyrighted and sold by the Video Electronics Standards Association VESA The following VGA system and timing information is provided as an example of how the FPGA might drive VGA monitor in 640 by 480 mode For more precise information or for information on higher VGA frequencies refer to documents available on the VESA website or other electronics websites e Video Electronics Standards Association http www vesa org e VGA Timing Information http www epanorama net documents pc vga timing html Signal Timing for a 60Hz 640x480 VGA Display CRT based VGA displays use amplitude modulated moving electron beams or cathode rays to display information on a phosphor coated screen LCD displays use an array of switches that can impose a voltage across a small amount of liquid crystal thereby changing light permitivity through the crystal on a pixel by pixel basis Although the following description is limited to CRT displays LCD
16. bit 8 color VGA display port e 9 pin RS 232 Serial Port DB9 9 pin female connector DCE connector 5 232 transceiver level translator 7 Uses straight through serial cable to connect to computer or workstation serial port Second RS 232 transmit and receive channel available on board test points Spartan 3 Starter Kit Board User Guide www xilinx com 9 UG130 v1 0 April 28 2004 1 800 255 7778 XILINX 10 Chapter 1 Introduction Digilent Low Cost 23 Parallel Port to JTAG Included Cable Parallel Cable IV a Low Cost JTAG 23 MutliPro Desktop Tool Download Cable JTAG Connector Connector A1 Expansion XILINX XCFO2S 2Mbit Configuration A2 Expansion 0 PROM Header Bi Expansion 19 Header Configuration 18 DONE LED 1 PROGRAM 2 XILINX Push Button 8 color XC3S200 Configuration VGA Port Spartan 3 Mode Select FPGA Jumpers 6 RS 232 Port RS 232 Serial Port Driver Auxiliary 08 6 Oscillator Socket Oscillator D I 4 Character 7 t LED 4 Push Button 8 Slide Switches 4 8 LEDs vcco LED Regulator Regulator Regulator 5 VDC 2A Supply 100 240V AC Input 50 60 Hz 29 AC Wall Adapter Included UG130 c1 01 042504 Figure 1 1 Xilinx Spartan 3 Starter Kit Board Block Diagram e P5 2 style mouse keyboard port 9 Four character seven segment LED display 9 Eight slide switches e Eight individual LED output
17. displays have evolved to use the 24 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 Signal Timing for a 60Hz 640x480 VGA Display XILINX Current through the horizontal deflection coil time same signal timings as CRT displays Consequently the following discussion pertains to both CRTs and LCD displays Within a CRT display current waveforms pass through the coils to produce magnetic fields that deflect electron beams to transverse the display surface in a raster pattern horizontally from left to right and vertically from top to bottom As shown in Figure 5 2 information is only displayed when the beam is moving in the forward direction left to right and top to bottom and not during the time the beam returns back to the left or top edge of the display Much of the potential display time is therefore lost in blanking periods when the beam is reset and stabilized to begin a new horizontal or vertical display pass pixel 0 639 640 pixels are displayed each time the beam traverses the screen VGA Display Retrace No information pixel 479 0 pixel 479 639 is displayed during this time Stable current ramp Information is displayed during this time Total horizontal time perk retrace time Horizontal display time poles tess gt front porch front porch oo p Hor
18. of the I O structures In specific all of the FPGA s dedicated configuration pins such as DONE PROG B CCLK and the FPGA s JTAG pins are powered by VccAUxX The FPGA configuration interface on the board is powered by 3 3V Consequently the 2 5V supply has a current shunt resistor to prevent reverse current Finally a 1 2V regulator supplies power to the FPGA s Vec r voltage inputs which power the FPGA s core logic The board uses three discrete regulators to generate the necessary voltages However various power supply vendors are developing integrated solutions specifically for Spartan 3 FPGAs Figure A 3 provides a detailed schematic of the various voltage regulators Similarly Figure A 6 shows the power decoupling capacitors www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 XILINX 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 Go respectively in Figure 1 2 are on the top edge of the board Connector A1 is on the top left and A2 is on the top right The B1 connector indicated as in Figure 1 2 is along the left edge of the board A1 Expansion Connector A2 Expansion Connector x 5 5 Al wm H ce S mm x mm lll _ mM UG130_c12_01_0
19. 0 or 60 Hz Voltage Regulators There are multiple voltages supplied on the Spartan 3 Starter Kit Board as summarized in Table 12 1 Table 12 1 Voltage Supplies and Sources Voltage Source Supplies 5V DC AC Wall Adapter 5V switching power supply 3 3V regulator in Figure 1 2 Optionally PS 2 port via jumper JP2 setting Pin 1 VU on A1 A2 B1 expansion connectors 3 3V DC National Semiconductor LM1086CS ADJ 3 3 2 5V and 1 2V regulators regulator in Prose aa Veco supply input for all FPGA I O banks Most components on the board Pin 3 on A1 A2 B1 expansion connectors 25V DC STMicroelectronics LF25CDT 2 5V regulator Vccaux supply input to FPGA in Figure 1 2 1 2V DC 1 2V regulator in Figure 1 2 Vecint supply input to FPGA Overall the 5V DC switching power adapter that connects to AC wall power powers the board A 3 3V regulator powered by the 5V DC supply provides power to the inputs of the Spartan 3 Starter Kit Board User Guide www xilinx com 49 UG130 v1 0 April 28 2004 1 800 255 7778 XILINX 50 Chapter 12 Power Distribution 2 5V and 1 2V regulators Similarly the 3 3V regulator feeds all the Vcco voltage supply inputs to the FPGA s I O banks and powers most of the components on the board The 2 5V regulator supplies power to the FPGA s VccAux supply inputs The VccAUX voltage input supplies power to Digital Clock Managers DCMs within the FPGA and supplies some
20. 1 g digi 5 NIZI z dezi Z NeZ1 Z 61 Z NEI Z Jdun Z Z N2TI ZC dat Z 2 Z TOI 6 aueg 0 1 05 042804 pA UG130 A FPGA I O Connections Clock Sources Figure 5 Spartan 3 Starter Kit Board User Guide www xilinx com 62 UG130 v1 0 April 28 2004 1 800 255 7778 23 XILINX teie 95998 002 52 49QqunwN yu un5og 0 00 paeog ES 1 DUT yUeTIbIq 00Z Yubrahdog p4eog 86868 60 JPIO O JPIO O ANTa a NTA 6 6 3 6 6 3 6 6 6 6 SL 262 169 962 682 ANT 4 198 ANT B ANTAA ANT ANT 8 0 m 929 GL 223 889 282 982 883 229 1 9 9223 623 dup 4 6 123 229 223 6 EA 4 Jn10 0 416 8 829 619 813 el 2 11 1 AL LL L l c c ull Le Lo TITI L I I JE ER pons Ka Lar BA OLE 4 6 3 ANTE 4 16 8 912 19 ei 82 3 53 3 53 C eal
21. 1 IO14 M1 1013 K2 1012 C3 IO11 F5 IO10 G1 IO9 E2 IO8 D2 IO7 D1 IO6 El 105 G2 104 1 103 K1 102 M2 101 N2 100 P2 CE2 chip enable IC11 N5 UB2 upper byte enable IC11 R4 LB2 lower byte enable IC11 P5 www xilinx com 1 800 255 7778 Chapter 2 Fast Asynchronous SRAM Spartan 3 Starter Kit Board User Guide 6130 v1 0 April 28 2004 XILINX 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 shares eight common control signals to light individual LED segments Each individual character has a separate anode control input A detailed schematic for the display appears in Figure A 2 The pin number for each FPGA pin connected to the LED display appears in parentheses To light an individual signal drive the individual segment control signal Low along with the associated anode control signal for the individual character In Figure 3 1 for example the left most character displays the value 2 The digital values driving the display in this example are shown in blue The AN3 anode control signal is Low enabling the control inputs for the left most character The segment control inputs A through G and DP drive the individual segments that comprise the character A Low value lights the individual segment a High turns off the segment A Low on the A input signal lig
22. 4 Write Enable and Output Enable Control Signals 23 XILINX Write Enable and Output Enable Control Signals Both 256Kx16 SRAMs share common output enable OE and write enable WE control lines as shown in Table 2 2 These control signals also connect to the A1 Expansion Connector refer to Expansion Connectors page 51 Table 2 2 External SRAM Control Signal Connections to Spartan 3 FPGA Signal FPGA Pin A1 Expansion Connector Pin OE K4 16 WE G3 18 SRAM Data Signals Chip Enables and Byte Enables The data signals chip enables and byte enables are dedicated connections between the FPGA and SRAM Table 2 3 shows the FPGA pin connections to the SRAM designated IC10 in Figure A 8 Table 2 4 shows the FPGA pin connections to SRAM IC11 To disable an SRAM drive the associated chip enable pin High Table 2 3 SRAM IC10 Connections Signal FPGA Pin 1015 R1 1014 P1 1013 L2 1012 J2 1011 H1 1010 F2 109 P8 108 D3 107 Bl 106 Cl 105 C2 104 R5 103 T5 102 R6 101 T8 100 N7 CE1 chip enable IC10 P7 751 upper byte enable IC10 T4 LB1 lower byte enable IC10 P6 Spartan 3 Starter Kit Board User Guide www xilinx com UG130 v1 0 April 28 2004 1 800 255 7778 15 XILINX 16 Table 2 4 SRAM IC11 Connections Signal FPGA Pin IO15 N
23. 42704 Figure 13 1 Spartan 3 Starter Kit Board Expansion Connectors Table 13 1 summarizes the capabilities of each expansion port Port Al supports a maximum of 32 user I O pins while the other ports provide up to 34 user I O pins Some pins are shared with other functions on the board which may reduce the effective I O count for specific applications For example pins on the A1 port are shared with the SRAM address signals and the SRAM OF and WE control signals Table 13 1 Expansion Connector Features Connector User I O SRAM Address JTAG Serial Configuration Parallel Configuration A1 32 Y V A2 34 V B1 34 V V Spartan 3 Starter Kit Board User Guide www xilinx com 51 UG130 v1 0 April 28 2004 1 800 255 7778 XILINX Chapter 13 Expansion Connectors and Boards 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 Platform Flash JTAG chain Similarly ports A2 and B1 provide connections for Master or Slave Serial mode configuration Finally port B1 also offers Master or Slave Parallel configuration mode Each 40 pin expansion header shown in Figure 13 2 uses 0 1 inch 100 mil DIP spacing Pin 1 on each connector is always GND Similarly pin 2 is always the 5V DC output from the switching power supply Pin 3 is always the output from the 3 3V DC regulator Pin 39 Pin 3 3 3V Pin 1 GND Pin
24. A1 DSTB 03 4 MA1 WRITE SRAM A14 SRAM A13 MA1 WAIT K5 K3 MA1 RESET SRAM A16 SRAM A15 MA1 INT L3 JTAG Isolation JTAG Isolation SRAM A17 TMS C13 C14 TCK FPGA JTAG TMS FPGA JTAG TCK TDO ROM Platform Flash Header J7 pin 3 TDO A JTAG TDO Spartan 3 Starter Kit Board User Guide UG130 v1 0 April 28 2004 www xilinx com 1 800 255 7778 53 XILINX Chapter 13 Expansion Connectors and Boards The A1 expansion connector shares connections with the 256Kx16 SRAM devices specifically the SRAM address lines an d the OE and WE control signals Similarly the JTAG chain is available on pins 36 through 40 Pin 20 is the FPGA DOUT BUSY configuration signal and toggles during the FPGA configuration process A2 Connector Pinout The A2 expansion connector is located along the top edge of the board on the right as indicated by in Figure 1 2 Figure 13 3 provides the pinout for the A2 connector The FPGA connections are specified in parentheses Most of the A2 expansion connector pins connect only with the FPGA and are not shared Pin 35 connects to the auxiliary clock socket if an oscillator is installed in the socket Pins 36 through 40 include the signals requir mode Table 13 3 Pinout for A2 Expansion Connector ed to configure the FPGA in Master or Slave Serial 54 www xilinx com 1 800 255 7778 Schematic Name FPGA Pin Con
25. Display 20 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 XILINX 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 right edge The switches are labeled SW7 through SWO Switch SW7 is the left most switch and SWO is the right most switch The switches connect to an associated FPGA pin as shown in Table 4 1 A detailed schematic appears in Figure A 2 Table 4 1 Slider Switch Connections Switch SW7 SW6 SW5 SWA SW3 SW2 SW1 SWO FPGA Pin K13 K14 3 J14 H13 H14 G12 F12 When in the UP or ON position a switch connects the FPGA pin to Vcco a logic High When DOWN or in the OFF position the switch connects the FPGA pin to ground a logic Low The switches typically exhibit about 2 ms of mechanical bounce and there is no active debouncing circuitry although such circuitry could easily be added to the FPGA design programmed on the board A 4 7KQ series resistor provides nominal input protection Push Button Switches The Spartan 3 Starter Kit board has four momentary contact push button switches indicated as in Figure 1 2 These push buttons are located along the lower edge of the board toward the right edge The switches are labeled BTN3 through BTNO Push button switch BTN3 is the left mos
26. S 2 connector and Table 6 1 shows the signals on the connector Only pins 1 and 5 of the connector attach to the FPGA A detailed schematic appears in Figure A 7 UG130 c6 01 4 Figure 6 1 PS 2 DIN Connector Table 6 1 PS 2 Connections to the Spartan 3 FPGA PS 2 DIN Pin Signal FPGA Pin 1 DATA PS2D M15 2 Reserved 3 GND GND 4 Voltage Supply 5 CLK PS2C M16 6 Reserved Both a PC mouse and keyboard use the two wire PS 2 serial bus to communicate with a host device the Spartan 3 FPGA in this case The PS 2 bus includes both clock and data Both a mouse and keyboard drive the bus with identical signal timings and both use 11 bit words that include a start stop and odd parity bit However the data packets are organized differently for a mouse and keyboard Furthermore the keyboard interface allows bidirectional data transfers so the host device can illuminate state LEDs on the keyboard The PS 2 bus timing appears Table 6 2 and Figure 6 2 The clock and data signals are only driven when data transfers occur and otherwise they are held in the idle state at logic High The timings define signal requirements for mouse to host communications and Spartan 3 Starter Kit Board User Guide www xilinx com 29 UG130 v1 0 April 28 2004 1 800 255 7778 XILINX Keyboard 30 Chapter 6 PS 2 Mouse Keyboard Port bidirectional keyboard communications As shown in Figure 6 2 the attached k
27. Spartan 3 Starter Kit Board User Guide UG130 v1 0 April 28 2004 XILINX XILINX 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 Virtex XACT XC2064 XC3090 XC4005 and XC5210 are registered trademarks of Xilinx Inc The shadow X shown above is a trademark of Xilinx Inc ACE Controller ACE Flash A K A Speed Alliance Series AllianceCORE Bencher ChipScope Configurable Logic Cell CORE Generator CoreLINX Dual Block EZTag Fast CLK Fast CONNECT Fast FLASH FastMap Fast Zero Power Foundation Gigabit Speeds and Beyond HardWire HDL Bencher IRL J Drive JBits LCA LogiBLOX Logic Cell LogiCORE LogicProfessor MicroBlaze MicroVia MultiLINX NanoBlaze PicoBlaze PLUSASM PowerGuide PowerMaze QPro Real PCI RocketlO SelectlO SelectRAM SelectRAM Silicon Xpresso Smartguide Smart IP SmartSearch SMARTswitch System ACE Testbench In A Minute TrueMap UIM VectorMaze VersaBlock VersaRing Virtex ll Pro Virtex ll EasyPath Wave Table WebFITTER WebPACK WebPOWERED XABEL XACT Floorplanner XACT Performance XACTstep Advanced XACTstep Foundry XAM XAPP X BLOX XC designated products XChecker XDM XEPLD Xilinx Foundation Series Xilinx XDTV Xinfo XSI XtremeDSP and ZERO are trademarks of Xilinx Inc The Programmable Logic Compan
28. The XS and YS bits in the status byte define the sign of each value where a 1 indicates a negative value Y values YS 0 X values X values XS 1 XS 0 Y values YS 1 UG130 c6 05 042404 Figure 6 5 The Mouse Uses a Relative Coordinate System to Track Movement The magnitude of the X and Y values represent the rate of mouse movement The larger the value the faster the mouse is moving The XV and YV bits in the status byte indicate when the X or Y values exceed their maximum value an overflow condition A 1 indicates 32 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 Voltage Supply XILINX 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 A 1 indicates that the associated mouse button is being pressed The following site contains additional information on interfacing to a PS 2 style mouse e The PS 2 Mouse Interface http panda cs ndsu nodak edu achapwes PICmicro mouse mouse html Voltage Supply Most modern keyboards and mice work equally well from a 3 3V or 5V supply The voltage supply for the PS 2 port is selectable via the JP2 jumper indicated as in Figure 1 2 located immediately above the PS 2 connector along the right edge The 3 3V setting is preferred as the FPGA s output signals operate from the 3 3V su
29. The pixel clock defines the time available to display one pixel of information The VS signal defines the refresh frequency of the display or the frequency at which all information on the display is redrawn The minimum refresh frequency is a function of the display s phosphor and electron beam intensity with practical refresh frequencies in the 60 Hz to 120 Hz range The number of horizontal lines displayed at a given refresh frequency defines the horizontal retrace frequency VGA Signal Timing 26 The signal timings in Table 5 3 are derived for a 640 pixel by 480 row display using a 25 MHz pixel clock and 60 Hz 1 refresh Figure 5 3 shows the relation between each of the timing symbols The timing for the sync pulse width Tpw and front and back porch intervals Trp and Tgp are based on observations from various VGA displays The front and back porch intervals are the pre and post sync pulse times Information cannot be displayed during these times Table 5 3 640x480 Mode VGA Timing Vertical Sync Horizontal Sync Symbol Parameter Time Clocks Lines Time Clocks Ts Sync pulse time 16 7 ms 416 800 521 32 us 800 Tnisp Display time 15 36 ms 384 000 480 25 6 us 640 Tpw Pulse width 64 us 1 600 2 3 84 us 96 Trp Front porch 320 us 8 000 10 640 ns 16 Tpp Back porch 928 us 23 200 29 1 92 us 48 T 14 Taisp E T
30. artan 3 Starter Kit Board User Guide UG130 v1 0 April 28 2004 www xilinx com 1 800 255 7778 XILINX Preface About This Guide 8 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 XILINX 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 Spartan 3 Starter Kit board which includes the following components and features e 200 000 gate Xilinx Spartan 3 XC3S200 FPGA in a 256 ball thin Ball Grid Array package XC35200FI256 1 4 320 logic cell equivalents Twelve 18K bit block RAMs 216K bits Twelve 18x18 hardware multipliers Four Digital Clock Managers DCMs to 173 user defined I O signals e 2Mbit Xilinx XCF02S Platform Flash in system programmable configuration PROM 1Mbit non volatile data or application code storage available after FPGA configuration Jumper options allow FPGA application to read PROM data or FPGA configuration from other sources 1M byte of Fast Asynchronous SRAM bottom side of board see Figure 1 3 2 Two 256Kx16 ISSI IS61LV25616AL 10T 10 ns SRAMs Configurable memory architecture Single 256Kx32 SRAM array ideal for MicroBlaze code images Two independent 256Kx16 SRAM arrays Individual chip select per device Individual byte enables 3
31. as Gei in Figure 1 2 Platform Flash Jumper Options JP1 The Platform Flash has three optional settings controlled by the JP1 jumper which is located in the upper right hand corner of the board adjacent to the Platform Flash configuration PROM The JP1 jumper is indicated as in Figure 1 2 A detailed schematic is provided in Figure A 4 Table 10 1 summarizes the available options which are described in more detail below Table 10 1 Jumper JP1 Controls the Platform Flash Options Jumper JP1 Option Setting Description Default JP1 The FPGA boots from Platform Flash No additional data storage is available Flash Read yp The FPGA boots from Platform Flash which is permanently enabled The FPGA C W can read additional data from Platform Flash Disable Jumper removed Platform Flash is disabled Other configuration data source Ess JP provides FPGA boot data Default Option For most applications this is the default jumper setting As shown in Figure 10 1 the Platform Flash is enabled only during configuration when the FPGA s DONE pin is Low When the DONE pin goes High at the end of configuration the Platform Flash is disabled and placed in low power mode Spartan 3 Starter Kit Board User Guide www xilinx com 41 UG130 v1 0 April 28 2004 1 800 255 7778 Chapter 10 Platform Flash Configuration Storage Spartan 3 FPGA DIN DO INIT_B DONE CCLK Platform Flash JP1 m
32. ces shown or products described herein are free from patent infringement or from any other third party right Xilinx Inc assumes no obligation to correct any errors contained herein or to advise any user of this text of any correction if such be made Xilinx Inc will not assume any liability for the accuracy or correctness of any engineering or software support or assistance provided to a user Xilinx products are not intended for use in life support appliances devices or systems Use of a Xilinx product in such applications without the written consent of the appropriate Xilinx officer is prohibited The contents of this manual are owned and copyrighted by Xilinx Copyright 1994 2004 Xilinx Inc All Rights Reserved Except as stated herein none of the material may be copied reproduced distributed republished downloaded displayed posted or transmitted in any form or by any means including but not limited to electronic mechanical photocopying recording or otherwise without the prior written consent of Xilinx Any unauthorized use of any material contained in this manual may violate copyright laws trademark laws the laws of privacy and publicity and communications regulations and statutes Some portions reproduced by permission from Digilent Inc Spartan 3 Starter Kit Board User Guide UG130 v1 0 April 28 2004 The following table shows the revision history for this document Version Revision 04 26 04 1 0 Initial Xilin
33. d TPH1 e Digilent Breadboard DBB1 https digilent us Sales Product cfm Prod DBB1 e Digilent Wire wrap Board DWR1 https digilent us Sales Product cfm Prod DWR1 Digilent SPP EPP ECP Parallel Port PIO1 https digilent us Sales Product cfm Prod PIO1 56 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 SC XILINX 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 LEDs and Four Character 7 Segment Display Figure A 3 Voltage Regulators JP2 Jumper Setting for PS 2 Port Voltage Figure A 4 FPGA Configuration Interface Platform Flash JTAG Connections Jumper JP1 Figure A 5 FPGA I O Connections Clock Sources Figure A 6 Power Decoupling Capacitors Figure A 7 RS 232 Serial Port VGA Port PS 2 Port Parallel Cable IV JTAG Interface Figure A 8 2x256Kx16 Fast Asynchronous SRAM Interface Figure A 9 Digilent JTAG3 Low Cost JTAG Download Debug Cable Spartan 3 Starter Kit Board User Guide www xilinx com 57 UG130 v1 0 April 28 2004 1 800 255 7778 Appendix A Board Schematics XILINX 00Z Z Sieg 55521 5 69 49qunwN iueunoo 43508 ES 1 Duy 00Z iubr4hdoj p4eog 665
34. d respectively Spartan 3 Starter Kit Board User Guide www xilinx com 11 UG130 v1 0 April 28 2004 1 800 255 7778 e XILINX Chapter 1 Introduction A1 Expansion Connector A2 Expansion Connector Daa DG pe e 2 v 5 202 5 co co m 2Mbit 16 PlatformFlash 17 XILINX 5 XC3S200 ZONE FPGA 1 PROG POWER POWER L EE fans e ug130 01 02 042704 B1 Expansion Connector 0 BUT DJ m Figure 1 2 Xilinx Spartan 3 Starter Kit Board Top Side 256Kx16 SRAM 256Kx16 ug130_c1_03_042704 Figure 1 3 Xilinx Spartan 3 Starter Kit Board Bottom Side 12 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 SC XILINX 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 IS61LV25616AL 10T 10 ns SRAM devices as shown in Figure 2 1 A detailed schematic appears in Figure A 8 ISSI 256Kx16 SRAM 10 ns see Table 2 3 yl l O 15 0 A 17 0 CE C10 UB LB WE OE Spartan 3 FPGA ISSI 256Kx16 SRAM 10 ns see Table 2 4 lt gt see Table 2 1 gt xx FPGA pin number UG130_c2_01_042604 Figure 2 1 FPGA to SRAM Connection
35. end of the JTAG cable align with the labels listed on the board Figure A 4 provides a detailed schematic of the J7 header and the JTAG programming chain Parallel Cable IV MultiPro Desktop Tool JTAG Header J5 The J5 header shown as in Figure 1 2 supports the Xilinx download debugging cables listed below e MultiPro Desktop Tool http www xilinx com bvdocs publications ds114 pdf e Parallel Cable IV PC IV http toolbox xilinx com docsan xilinx4 data docs pac cables6 html Use the 14 pin ribbon cable supplied with both cables to connect to the J5 header DO NOT use the flying leads that are also provided with some cables Although the MultiPro Desktop Tool and the Parallel Cable IV support multiple FPGA configuration modes the Spartan 3 Starter Kit board only supports the JTAG configuration method The header is designed for a keyed socket However the Spartan 3 Starter Kit uses only stake pins The outline of the keyed connector appears around the J5 header as shown in Figure 11 3 When properly inserted the keyed header matches the outline on the board and the ribbon cable crosses over the top edge of the board The red colored lead indicates pin 1 on the cable and should be on the left side 46 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 Parallel Cable IV MultiPro Desktop Tool JTAG Header J5 XILINX Red trace m indicates pin 1 Notch on outline match
36. eq q 1995 aeg te1e ospaton 002 52 49QqunwN i1ueunoo 6 009 p4eog ES 1 DUT yUeTIbIq 00Z Yubrandog p4eog 86868 60 1191 tan 233 5 zi i q qg lt 4 lt 41 4 qg 4 41 lt lt a 312124232424 24 2 24 24 24 a as pue 9 yueq q ieaus 555 Jn2v0 8 ANHO 8 J 2v0 0 J 2v0 8 1 6 8 3 2v0 0 3 2v0 0 89 82 282 183 9082 629 829 229 9131 sg 3ueg uo Tg pue Ign 133 Ku 4 41 4 qj qj G yueg G 19905 uo 8 601 pue 9 G ueq G 55 5 555 ai Qd Qd Ee ada pue 9 ueq G Jays ses Ku 414 ApA 08 042804 UG130_A 2x256Kx16 Fast Asynchronous SRAM Interface Figure 8 65 www xilinx com 1 800 255 7778 Spartan 3 Starter Kit Board User Guide UG130 v1 0 April 28 2004 Appendix A Board Schematics XILINX T T 1884 eo0z 9 6 U 95 52 28 ebeir 1 2 egoz zaoz 14D AAdog 9 qe3 Butweuboug gbeip 21952 40 pue Jd ie paiaous ae zid Tid 6d 1910N E w ANT BT ANT B amp umdzoal za 5 5 oll lt 5 o GZTZSZTIN Z12MZETN lt lt 1 LIZMZETN 6 9 5 231 AA Gt DH UG130 ApA 09 042604 Figure A 9 Digilent JTAG3 Low Cost JTAG Download Debug Cable Spartan 3 Starter Kit Board User Gu
37. er Kit Board User Guide UG130 v1 0 April 28 2004 XILINX Chapter 6 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 provides a detailed schematic for the clock sources The 50 MHz clock oscillator is mounted on the bottom side of the board indicated as 3 in Figure A 5 Use the 50 MHz clock frequency as is or derive other frequencies using the FPGAs Digital Clock Managers DCMs e Using Digital Clock Managers DCMs in Spartan 3 FPGAs http www xilinx com bvdocs appnotes xapp462 pdf The oscillator socket indicated as in Figure 1 2 accepts oscillators in an 8 pin DIP footprint Table 8 1 Clock Oscillator Sources Oscillator Source FPGA Pin 50 MHz ICA T9 Socket IC8 D9 Spartan 3 Starter Kit Board User Guide www xilinx com 37 UG130 v1 0 April 28 2004 1 800 255 7778 A XILINX Chapter 8 Clock Sources 38 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 XILINX Chapter 9 FPGA Configuration Modes and Functions FPGA Configuration Mode Settings In most applications for the Spartan 3 Starter Kit Board the FPGA automatically boots from the on board Platform Flash memory whenever power is applied or the PROG push button is pressed However the board supports all the available configura
38. es key on header Parallel Cable IV JTAG UG130 c11 03 042704 Figure 11 3 Use 14 Pin Ribbon Cable to Connect Parallel Cable IV or the MultiPro Desktop Tool to the J5 Header Spartan 3 Starter Kit Board User Guide www xilinx com 47 UG130 v1 0 April 28 2004 1 800 255 7778 XILINX Chapter 11 JTAG Programming Debugging Ports 48 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 lt XILINX 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 connector along the left edge of the board indicated as Gi in Figure 1 2 There is no power switch to the board To disconnect power remove the AC adapter from the wall or disconnect the barrel connector The POWER indicator LED shown as in Figure 1 2 lights up when power is properly applied to the board If the jumpers in the J8 header and JP1 header are properly set and there is a valid configuration data file in the Platform Flash memory then the DONE indicator LED shown as G in Figure 1 2 also lights up The AC wall adapter is directly compatible for North America Japan and Taiwan locales Other locations might require a socket adapter to convert from the North American standard to the local power socket standard The AC wall adapter operates from 100V to 240V AC input at 5
39. eyboard or mouse writes a bit on the data line when the clock signal is High and the host reads the data line when the clock signal is Low Table 6 2 PS 2 Bus Timing Symbol Parameter Min Max Tex Clock High or Low time 30 us 50 us Tsy Data to clock setup time 5 us 25 us Tun Clock to data hold time 5 us 25 Us Tok Tok Edge 0 gene 10 CLK PS2C J t ea n l Tup Tsu ri DATA PS2D mme sah SES UG130_c6_02_042404 Figure 6 2 PS 2 Bus Timing Waveforms The following site contains additional information on the PS 2 bus protocol e 5 2 Mouse Keyboard Protocol http panda cs ndsu nodak edu achapwes PICmicro PS2 ps2 htm The keyboard uses open collector drivers so that either the keyboard or the host can drive the two wire bus If the host never sends data to the keyboard then the host can use simple input pins A PS 2 style keyboard uses scan codes to communicate key press data Nearly all keyboards in use today are PS 2 style Each key has a single unique scan code that is sent whenever the corresponding key is pressed The scan codes for most keys appear in Figure 6 3 If the key is pressed and held the keyboard repeatedly sends the scan code every 100 ms or so When a key is released the keyboard sends a FO key up code followed by the scan code of the released key The keyboard sends the same scan code regardless if a key has different shift and non sh
40. from Platform Flash by Setting the JP1 Jumper The resistor between the CCLK output and FPGA pin A14 prevents any accidental conflicts between the two signals 42 www xilinx com 1 800 255 7778 Spartan 3 Starter Kit Board User Guide UG130 v1 0 April 28 2004 Disable Option 22 XILINX Additional FPGA logic is required to read the Platform Flash data as described in the following application note e XAPP694 Reading User Data from Configuration PROMs http www xilinx com bvdocs appnotes xapp694 pdf Disable Option If the JP1 jumper is removed then the Platform Flash is disabled potentially allowing configuration via an expansion board connected to one of the expansion connectors Spartan 3 Starter Kit Board User Guide www xilinx com 43 UG130 v1 0 April 28 2004 1 800 255 7778 XILINX Chapter 10 Platform Flash Configuration Storage 44 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 XILINX 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 chain as shown in Figure 11 1 Additionally there are two JTAG headers for driving the JTAG signals from various supported JTAG download and debugging cables A Digilent JTAG3 low cost parallel to JTAG cable is included as part of the kit and connects to t
41. he J7 header Digilent Parallel JTAG3 Cable IV i Spartan 3 FPGA PlatformFlash Parallel MultiPro Cable 3 Desktop XC3S400FT256C XCFo2S oo Header Header J7 J5 Header pin number x UG130_c11_01_042504 Figure 11 1 Spartan 3 Starter Kit Board JTAG Chain JTAG Header J7 This J7 JTAG header consists of 0 1 inch stake pins and is indicated as in Figure 1 2 located toward the top edge of the board directly below the two expansion connectors The Digilent low cost parallel port to JTAG cable fits directly over the J7 header stake pins as shown in Figure 11 2 When properly fitted the cable is perpendicular to the board Make sure that the signals at the end of the JTAG cable align with the labels listed on the board The other end of the Digilent cable connects to the PC s parallel port The Digilent cable is directly compatible with the Xilinx iMPACT software The schematic for the Digilent cable appears in Figure A 9 Spartan 3 Starter Kit Board User Guide www xilinx com 45 UG130 v1 0 April 28 2004 1 800 255 7778 22 XILINX Chapter 11 JTAG Programming Debugging Ports UG130_c11_02_042704 Figure 11 2 Digilent JTAG Cable Provided with Kit Connects to the J7 Header 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 the
42. hildsemi com ds FA FAN1112 pdf Spartan 3 Starter Kit Board User Guide UG130 v1 0 April 28 2004 www xilinx com 67 1 800 255 7778 XILINX Appendix B Reference Material for Major Components 68 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004
43. hts segment a of the display The anode controls for the remaining characters AN 2 0 are all High and these characters ignore the values presented on A through G and DP ANS E13 AN2 F14 AN1 G14 ANO D14 14 A B F13 f G13 c N16 E SH HE mE P16 O O O OoOO UG130_c3_01_042704 Figure 3 1 Seven Segment LED Digit Control Table 3 1 lists the FPGA connections that drive the individual LEDs comprising a seven segment character Table 3 2 lists the connections to enable a specific character Table 3 3 shows the patterns required to display hexadecimal characters Spartan 3 Starter Kit Board User Guide www xilinx com 17 UG130 v1 0 April 28 2004 1 800 255 7778 22 XILINX Chapter 3 Four Digit Seven Segment LED Display 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 Enable Anode Control Signals Active Low Anode Control AN3 AN2 AN1 ANO FPGA Pin E13 F14 G14 D14 Table 3 3 Display Characters and Resulting LED Segment Control Values Character a b 0 d e f g 0 0 0 0 0 0 0 1 1 1 0 0 1 1 1 1 2 0 0 1 0 0 1 0 3 0 0 0 0 1 1 0 4 1 0 0 1 1 0 0 5 0 1 0 0 1 0 0 6 0 1 0 0 0 0 0 7 0 0 0 1 1 1 1 8
44. ide www xilinx com 66 UG130 v1 0 April 28 2004 1 800 255 7778 SC XILINX 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 B 1 Major Components and Data Sheet Links Device Vendor Part Number Description Data Sheet Link Xilinx Inc XC3S200 4FT256C Spartan 3 FPGA IC1 http www xilinx com bvdocs publications ds099 pdf Xilinx Inc XCF02SVO20C Platform Flash Configuration Flash PROM IC9 http www xilinx com bvdocs publications ds123 pdf Integrated Silicon IS61LV25616AL 10T 256Kx16 Fast Asynchronous SRAM IC10 IC11 Solutions Inc ISSI http www issi com pdf 61LV25616AL pdf Maxim Intersil MAX3232 ICL3232 Dual Channel RS 232 Voltage Translator IC14 http pdfserv maxim ic com en ds MAX3222 MAX3241 pdf http www ntersil com data fn fn4805 pdf Epson SG 8002JF 50 MHz Crystal Oscillator ICA http www knap at de pdf kat_o sg8002jf pdf Interex APA 101M 05 5V Switching Regulator National LM1086CS ADJ 3 3V Regulator IC5 Semiconductor http www national com pf LM LM1086 html Datasheet STMicroelectronics LF25CDT 2 5V Regulator IC3 http www st com stonline books pdf docs 2574 pdf Fairchild FAN1112 1 2V Regulator IC12 Semiconductor http www fairc
45. ift characters and regardless whether the Shift key is pressed or not The host determines which character is intended Some keys called extended keys send an E0 ahead of the scan code and furthermore they may send more than one scan code When an extended key is released a E0 F0 key up code is sent followed by the scan code www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 Keyboard ESC 76 XILINX F1 F3 F4 F5 F6 F7 F8 F9 F11 F12 4 05 04 00 03 0B 83 0A 01 78 07 E075 EH R Ka Fa d K KE B EH R Ka K E074 n P Ba be x ES EE 2 M E EO 65 5 ES ER E EJ H 4 4 52 12 Ctrl 14 IB C V B M gt 1 A Shift 12 21 2A 2 4 1 3A 1 is 4A 59 Alt Space Ctrl 11 29 lo p E014 UG130 c6 03 042404 Figure 6 3 PS 2 Keyboard Scan Codes The host can also send data to the keyboard Table 6 3 provides a short list of some often used commands Table 6 3 Common PS 2 Keyboard Commands Command ED Turn on off Num Lock Caps Lock and Scroll Lock LEDs The keyboard acknowledges receipt of Description an ED command by replying with an FA after which the host sends another byte to set LED status The bit positions for the keyboard LEDs appear in Table 6 4 Write a 1 to the specific bit to illuminate the associated keyboard LED
46. izontal sync signal back porch sets the retrace frequency UG130_c5_02_042404 Figure 5 2 CRT Display Timing Example The size of the beams the frequency at which the beam traces across the display and the frequency at which the electron beam is modulated determine the display resolution Spartan 3 Starter Kit Board User Guide www xilinx com 25 UG130 v1 0 April 28 2004 1 800 255 7778 XILINX Chapter 5 VGA Port 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 produces TTL level synchronizing pulses that set the frequency at which current flows through the deflection coils and it ensures that pixel or video data is applied to the electron guns at the correct time Video data typically comes from a video refresh memory with one or more bytes assigned to each pixel location The Spartan 3 Starter Kit board uses three bits per pixel producing one of the eight possible colors shown in Table 5 2 The controller indexes into the video data buffer as the beams move across the display The controller then retrieves and applies video data to the display at precisely the time the electron beam is moving across a given pixel As shown in Figure 5 2 the VGA controller generates the HS horizontal sync and VS vertical sync timings signals and coordinates the delivery of video data on each pixel clock
47. nector FPGA Pin Schematic Name GND VU 5V Veco 3 3 Veco all banks E6 PA IO1 PA IO2 D5 C5 PA IO3 PA IO4 D6 C6 PA IO5 PA IO6 E7 C7 PA IO7 PA IO8 D7 C8 PA IO9 PA IO10 D8 C9 PA IO11 PA IO12 D10 A3 PA IO13 PA IO14 B4 A4 PA IO15 PA IO16 B5 A5 PA IO17 PA IO18 B6 B7 MA2 DBO MA2 DB1 A7 B8 MA2 DB2 MA2 DB3 A8 A9 MA2 DB4 MA2 DB5 B10 A10 MA2 DB6 MA2 DB7 B11 B12 MA2 ASTB MA2 DSTB A12 B13 MA2 WRITE MA2 WAIT A13 B14 MA2 RESET MA2 INT GCK4 D9 B3 PROG B Oscillator socket FPGA PROG_B DONE R14 N9 INIT FPGA DONE FPGA INIT_B CCLK T15 M11 DIN FPGA CCLK Connects to A14 via 390 resistor Spartan 3 Starter Kit Board User Guide UG130 v1 0 April 28 2004 Expansion Connectors XILINX 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 FPGA connections are specified in parentheses Most of the B1 expansion connector pins connect only with the FPGA and are not shared Pins 36 through 40 include the signals required to configure the FPGA in Master or Slave Serial mode These same pins plus pins 5 7 9 11 13 15 17 19 and 20 provide the signals required to configure the FPGA in Master or Slave Parallel mode Table 13 4 Pinout for B1 Expansion Connector
48. on on PS 2 keyboard interfaces e The AT PS 2 Keyboard Interface http panda cs ndsu nodak edu achapwes PICmicro keyboard atkeyboard html Mouse A mouse generates a clock and data signal when moved otherwise these signals remain High indicating the Idle state Each time the mouse is moved the mouse sends three 11 bit words to the host Each of the 11 bit words contains a 0 start bit followed by 8 data bits LSB first followed by an odd parity bit and terminated with a 1 stop bit Each data transmission contains 33 total bits where bits 0 11 and 22 are 0 start bits and bits 10 21 and 32 are 1 stop bits The three 8 bit data fields contain movement data as shown in Figure 6 4 Data is valid at the falling edge of the clock and the clock period is 20 to 30 kHz Mouse status byte X direction byte Y direction byte o al of beklaut e Lo olx 1 P 1 Lo joj jre vajva vsjvejr e KS s z z Start bit Stop bit Stop bit Stop bit Idle state Start bit Start bit Idle state UG130 c6 04 042404 Figure 6 4 PS 2 Mouse Transaction As shown in Figure 6 5 a PS 2 mouse employs a relative coordinate system wherein moving the mouse to the right generates a positive value in the X field and moving to the left generates a negative value Likewise moving the mouse up generates a positive value in the Y field and moving down represents a negative value
49. pply The JP2 jumper should be positioned as shown in Table 6 5 by default Table 6 5 PS 2 Port Supply Voltage Options PS 2 Port Jumper JP2 Supply Voltage Setting 3 3V gt JP2 DEFAULT gt gt 5V gt JP2 9 06 gt Some older keyboards and mice are 5V only Consequently the JP2 jumper should be set for 5V operation as shown in Table 6 5 The Spartan 3 FPGA can tolerate 5V signals due to the 270Q series resistors on the PS 2 data and clock signals connected to the FPGA See the schematic in Figure A 7 for more details Spartan 3 Starter Kit Board User Guide www xilinx com 33 UG130 v1 0 April 28 2004 1 800 255 7778 22 XILINX Chapter 6 PS 2 Mouse Keyboard Port 34 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 XILINX Chapter 7 RS 232 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 2 The connector is a DCE style port and connects to the DB9 DTE style serial port connector available on most personal computers and workstations Use a standard straight through serial cable to connect the Spartan 3 Starter Kit board to the PC s serial port Figure 7 1 shows the connection between the FPGA and the DB9 connector including the Maxim MAX3232 RS 232 voltage converter indicated as 7 in Figure 1 2 The FPGA supplies se
50. pril 28 2004 SC XILINX 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 Introduction Chapter 2 Fast Asynchronous SRAM Chapter 3 Four Digit Seven Segment LED Display Chapter 4 Switches and LEDs Chapter 5 VGA Port Chapter 6 PS 2 Mouse Keyboard Port Chapter 7 RS 232 Port Chapter 8 Clock Sources Chapter 9 FPGA Configuration Modes and Functions Chapter 10 Platform Flash Configuration Storage Chapter 11 JTAG Programming Debugging Ports Chapter 12 Power Distribution Chapter 13 Expansion Connectors and Boards Appendix A Board Schematics Appendix B Reference Material for Major Components Spartan 3 Starter Kit Board User Guide www xilinx com 5 UG130 v1 0 April 28 2004 1 800 255 7778 XILINX Preface About This Guide Additional Resources For additional information go to http support xilinx com The following table lists some of the resources you can access from this website You can also directly access these resources using the provided URLs Resource Description URL Tutorials Tutorials covering Xilinx design flows from design entry to verification and debugging http support xilinx com support techsup tutorials index htm Answer Browse
51. r Database of Xilinx solution records http support xilinx com xlnx xil ans browserjsp Application Notes Descriptions of device specific design techniques and approaches http support xilinx com apps appsweb htm Data Sheets Device specific information on Xilinx device characteristics including readback boundary scan configuration length count and debugging http support xilinx com xlnx xweb xil publications index jsp Problem Solvers Interactive tools that allow you to troubleshoot your design issues http support xilinx com support troubleshoot psolvers htm Tech Tips Latest news design tips and patch information for the Xilinx design environment http www support xilinx com xlnx xil tt home sp Conventions This document uses the following conventions An example illustrates each convention Typographical The following typographical conventions are used in this document Convention Meaning or Use Example Messages prompts and Courier font program files that the system speed grade 100 displays Courier bold Literal commands that you ngdbuild design name enter in a syntactical statement Ee that you select File Open Helvetica bold MENN Keyboard shortcuts Ctrl C 6 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 Conventions 23 XILINX Convention Italic font Meaning or U
52. rial output data as LVTLL LVCMOS levels to the Maxim device which in turn converts the logic value to the appropriate RS 232 voltage level Likewise the Maxim 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 accidental logic conflicts A detailed schematic appears in Figure A 7 Hardware flow control is not supported on the connector The port s DCD DTR and DSR signals connect together as shown in Figure 7 1 Similarly the port s RTS and CTS signals connect together Pin 9 DB9 Serial Port Connector DB9 front view Connector Maxim MAX3232 Spartan 3 FPGA RS 232 Voltage Converter G ND UG130 c7 01 042404 Figure 7 1 RS 232 Serial Port Spartan 3 Starter Kit Board User Guide www xilinx com 35 UG130 v1 0 April 28 2004 1 800 255 7778 XILINX Chapter 7 RS 232 Port The FPGA connections to the Maxim RS 232 translator appear in Table 7 1 Table 7 1 Accessory Port Connections to the Spartan 3 FPGA Signal FPGA Pin RXD T13 TXD R13 RXD A N10 TXD A T14 An auxiliary RS 232 serial channel from the Maxim device is available on two 0 1 inch stake pins indicated as J1 in the schematic and in Figure 1 2 The FPGA connections driving the Maxim device appear in Table 7 1 with signals RXD A and TXD A 36 www xilinx com 1 800 255 7778 Spartan 3 Start
53. s Spartan 3 Starter Kit Board User Guide www xilinx com 13 UG130 v1 0 April 28 2004 1 800 255 7778 XILINX Chapter 2 Fast Asynchronous SRAM 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 and address A 17 0 signals However each device has a separate chip select enable CE control and individual byte enable controls to select the high or low byte in the 16 bit data word UB and LB respectively The 256Kx32 configuration is ideally suited to hold MicroBlaze instructions However it alternately provides high density data storage for a variety of applications such as digital signal processing DSP large data FIFOs and graphics buffers Address Bus Connections 14 Both 256Kx16 SRAMs share 18 bit address control lines as shown in Table 2 1 These address signals also connect to the A1 Expansion Connector see Expansion Connectors page 51 Table 2 1 External SRAM Address Bus Connections to Spartan 3 FPGA Address Bit FPGA Pin A1 Expansion Connector Pin A17 L3 35 A16 K5 33 A15 K3 34 A14 J3 31 A13 J4 32 A12 H4 29 A11 H3 30 A10 G5 27 A9 E4 28 A8 E3 25 A7 F4 26 A6 F3 23 A5 G4 24 A4 L4 14 A3 M3 12 A2 M4 10 A1 N3 8 AO L5 6 www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 200
54. s 2 Four momentary contact push button switches Gei www xilinx com Spartan 3 Starter Kit Board User Guide 1 800 255 7778 UG130 v1 0 April 28 2004 Component Locations 23 XILINX 50 MHz crystal oscillator clock source bottom side of board see Figure 1 3 Socket for an auxiliary crystal oscillator clock source Gei FPGA configuration mode selected via jumper settings 3 Push button switch to force FPGA reconfiguration FPGA configuration happens automatically at power on 7 LED indicates when FPGA is successfully configured i8 Three 40 pin expansion connection ports to extend and enhance the Spartan 3 Starter Kit Board 3 See www xilinx com s3board for compatible expansion cards Compatible with Digilent Inc peripheral boards https digilent us Sales boards cfm Peripheral FPGA serial configuration interface signals available on the A2 and B1 connectors PROG B DONE INIT B CCLK DONE JTAG port for low cost download cable Digilent JTAG download debugging cable connects to PC parallel port JTAG download debug port compatible with the Xilinx Parallel Cable IV and MultiPRO Desktop Tool AC power adapter input for included international unregulated 5V power supply Power on indicator LED Gei On board 3 3V 2 5V and1 2V regulators Component Locations Figure 1 2 and Figure 1 3 indicate the component locations on the top side and bottom side of the boar
55. se Variables in a syntax statement for which you must supply values Example ngdbuild design_name References to other manuals See the Development System Reference Guide for more information Emphasis in text If a wire is drawn so that it overlaps the pin of a symbol the two nets are not connected Square brackets An optional entry or parameter However in bus specifications such as bus 7 0 they are required ngdbuild option_name design_name Braces A list of items from which you must choose one or more lowpwr on off Vertical bar Separates items in a list of choices lowpwr on off Vertical ellipsis Repetitive material that has been omitted OB 1 OB 2 QOUT CLKIN Name Name Repetitive material that has allow block block name Online Document location in another document Hoon See omitted loci loc2 locn The following conventions are used in this document Convention Meaning or Use Example See the section Additional Cross reference link to a Resources for details Blue text location in the current GES des document Refer to Title Formats in Chapter 1 for details Cross reference link to a See Figure 2 5 in the Virtex II Red text Handbook Blue underlined text Hyperlink to a website URL Go to http www xilinx com for the latest speed files Sp
56. t switch BTNO the right most switch The push button switches connect to an associated FPGA pin as shown in Table 4 2 A detailed schematic appears in Figure A 2 Table 4 2 Push Button Switch Connections Push Button BTN3 User Reset BTN2 BTN1 BTNO FPGA Pin L14 L13 M14 M13 Pressing a push button generates a logic High on the associated FPGA pin Again there is no active debouncing circuitry on the push button The left most button BTN3 is also the default User Reset pin BTNG electrically behaves identically to the other push buttons However when applicable BINS resets the provided reference designs Spartan 3 Starter Kit Board User Guide www xilinx com 21 UG130 v1 0 April 28 2004 1 800 255 7778 XILINX LEDs 22 Chapter 4 Switches and 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 through LEDO LED7 is the left most LED LEDO the right most LED Table 4 3 shows the FPGA connections to the LEDs Table 4 3 LED Connections to the Spartan 3 FPGA LED LD7 LD6 LD5 LD4 LD3 LD2 LD1 LDO FPGA Pin P11 P12 N12 P13 N14 L12 P14 K12 The cathode of each LED connects to ground via a 270Q resistor To light an individual LED drive the associated FPGA control signal High which is the opposite polarity from lighting one of the 7 segment
57. tion modes via the J8 header indicated as Gei in Figure 1 2 Table 9 1 provides the available option settings for the J8 header Additionally the JP1 jumper setting is required when using Master Serial configuration mode as further described in Platform Flash Jumper Options JP1 The default jumper settings for the board are e All jumpers in the J8 header are installed The JP1 jumper is in the Default position Table 9 1 Header J8 Controls the FPGA Configuration Mode Configuration Mode lt MO M1 M2 gt Header J8 Jumper JP1 Settings Setting Description Master Serial DEFAULT The FPGA automatically boots from the Platform GND 8 JP1 lt 0 0 0 gt EIER cu Flash MO M1 M2 JP1 The FPGA attempts to boot from a serial configuration source attached to either expansion connector A2 or B1 Slave Serial Another device connected to either the A2 or B1 expansion rGND 48 gmmm JP lt 1 1 1 gt w connector provides serial data and clock to load the FPGA Mo M1 M2 Master Parallel The FPGA attempts to boot from a parallel configuration source lt 1 1 0 gt attached to the B1 expansion connector Mo M1 M2 Spartan 3 Starter Kit Board User Guide www Xilinx com 39 UG130 v1 0 April 28 2004 1 800 255 7778 23 XILINX Chapter 9 FPGA Configuration Modes and Functions Table 9 1 Header J8 Controls the FPGA Configuration Mode Continued Configuration
58. x release Spartan 3 Starter Kit Board User Guide www xilinx com UG130 v1 0 April 28 2004 1 800 255 7778 Table of Contents Preface About This Guide Guide Contents 5 Additional Resources 6 Conventions 6 Typographical ya apta Hehe e gid HERR Eu ER 6 Online Document ce e hee naeh 7 Chapter 1 Introduction Key Components and Features 4 4 45664 646 5 6 9 Component Locations cce ce 4a rrr 8 5 n e hr er 11 Chapter 2 Fast Asynchronous SRAM Address Bus Connections 444444464466 14 Write Enable and Output Enable Control Signals 15 SRAM Data Signals Chip Enables and Byte Enables 15 Chapter 3 Four Digit Seven Segment LED Display Chapter 4 Switches and LEDs Slide Switches 21 Push Button Switches 21 TEE BCEE 22 Chapter 5 VGA Port Signal Timing for a 60Hz 640x480 VGA 1219013 anna 24 VGA Signal EE EE 26 Chapter 6 PS 2 Mouse Keyboard Port Keyboard eee P 30 Mouse PEE 32 Voltage Supply 13 400 440 0002 2 00 Eier deb
59. y is a service mark of Xilinx Inc All other trademarks are the property of their respective owners Xilinx Inc does not assume any liability arising out of the application or use of any product described or shown herein nor does it convey any license under its patents copyrights or maskwork rights or any rights of others Xilinx Inc reserves the right to make changes at any time in order to improve reliability function or design and to supply the best product possible Xilinx Inc will not assume responsibility for the use of any circuitry described herein other than circuitry entirely embodied in its products Xilinx provides any design code or information shown or described herein as is By providing the design code or information as one possible implementation of a feature application or standard Xilinx makes no representation that such implementation is free from any claims of infringement You are responsible for obtaining any rights you may require for your implementation Xilinx expressly disclaims any warranty whatsoever with respect to the adequacy of any such implementation including but not limited to any warranties or representations that the implementation is free from claims of infringement as well as any implied warranties of merchantability or fitness for a particular purpose Xilinx Inc devices and products are protected under U S Patents Other U S and foreign patents pending Xilinx Inc does not represent that devi

Download Pdf Manuals

image

Related Search

Related Contents

照明器具取扱説明書 型番:YCA-350  Smooth Fitness 7858-699 User's Manual  MX32x32DVI-Pro MX16x16DVI-Pro User`s Manual  WALTER BIO-CIRCLE™ Model: BR-100  MJB - Gateway  C8800G - QTC  Téléchargez votre calendrier 2015  Apprêt-C OS de construction Dow Corning®  特集:「業務用洗濯機」  

Copyright © All rights reserved.
Failed to retrieve file