Xilinx Spartan-3E 1600E manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones Xilinx Spartan-3E 1600E. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica Xilinx Spartan-3E 1600E o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual Xilinx Spartan-3E 1600E se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales Xilinx Spartan-3E 1600E, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones Xilinx Spartan-3E 1600E debe contener:
- información acerca de las especificaciones técnicas del dispositivo Xilinx Spartan-3E 1600E
- nombre de fabricante y año de fabricación del dispositivo Xilinx Spartan-3E 1600E
- condiciones de uso, configuración y mantenimiento del dispositivo Xilinx Spartan-3E 1600E
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de Xilinx Spartan-3E 1600E no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de Xilinx Spartan-3E 1600E y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico Xilinx en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de Xilinx Spartan-3E 1600E, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo Xilinx Spartan-3E 1600E, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual Xilinx Spartan-3E 1600E. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

    R Micr oBlaz e De velopment Kit Spar tan-3E 1600E Edition User Guide UG257 (v1. 1) December 5, 2007[...]

  • Página 2

    MicroBlaze Development Kit Sparta n-3E 1600E Edition User Guide www .xilinx.com UG257 (v1.1) December 5, 20 07 Xilinx is disclosing this Document and Intelle ctual Proper ty (hereinafter “the D esign”) to you for use i n th e deve lopment of designs to operate on, or interf ace with Xilinx FPGAs. Except as stated herein , none of the Desig n ma[...]

  • Página 3

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 1 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Preface: About This Guide Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Guide Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Página 4

    2M i c r o B l a z e D e v e l o p m e n t K i t S p a r tan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 R UCF Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Página 5

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 3 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R UCF Location Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Related Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Página 6

    4M i c r o B l a z e D e v e l o p m e n t K i t S p a r tan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 R Creating an SPI Serial Flash PROM File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Downloading the Design to SPI Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Página 7

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 5 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Related Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 Chapter 17: DS2432 1-Wire SHA-1 EEPROM UCF Location Constraints . . . . . . . . . . . . . . . . .[...]

  • Página 8

    6M i c r o B l a z e D e v e l o p m e n t K i t S p a r tan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 R[...]

  • Página 9

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 7 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Pr eface About This Guide This user guide pr ovides basic information on the Micr oBlaze Development Kit boar d capabilities, functi ons, and design. It includes gener al information on how to use the various peripheral functions inclu[...]

  • Página 10

    8M i c r o B l a z e D e v e l o p m e n t K i t S p a r tan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Pref ace: About Th is Guide R x Chapter 5, “Character LCD Scr een,” describes the functionality of the character LCD scr een. x Chapter 6, “VGA Display Port,” de scribes the functionality of the VGA port. x [...]

  • Página 11

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 9 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 1 Intr oduction and Overview Thank you for purchasing the Xilinx Micr oBlaze™ Development Kit Spartan™-3E 1600E Edition. Y ou will find it useful in developing your Spartan- 3E FPGA application. Choose the Star ter Kit Boar[...]

  • Página 12

    10 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 1: Introd uction and Overvie w R x http://www .xilinx.com/xlnx/xebiz/designR esources/ip_product_details.jsp?key=DO- ML403-EDK-ISE Also consider the capable board s offe red by Xilinx partners: x h ttp://www .xilinx.com/products[...]

  • Página 13

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 11 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Design T rade-Offs R x 8-pin DIP socket for au xiliary clock osci llator Design T rade-Offs A few system-level design trade-offs were r e quir ed in or der to pr ovide the MicroBlaze Development Kit board with the most functionality . C[...]

  • Página 14

    12 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 1: Introd uction and Overvie w R[...]

  • Página 15

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 13 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 2 Switches, Buttons, and Knob Slide Switches Locations and Labels The MicroBlaze Development Kit boar d ha s four slide switches, as s hown in Figure 2-1 . The slide switches ar e located in the lower ri ght corner of the boar[...]

  • Página 16

    14 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 2: Switches, But tons, and Knob R Push-Button Switches Locations and Labels The MicroBlaze Development Kit boar d has four momentary-contact push-button switches, shown in Figure 2-3 . The push buttons are located in the lower l[...]

  • Página 17

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 15 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Rotary Pus h-Button Switch R In some applications, the BTN_SOUTH push-b utton switch is also a soft reset that selectively resets functions within the FPGA. UCF Location Constraints Figure 2-5 provides the UCF constraints for the fou r [...]

  • Página 18

    16 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 2: Switches, But tons, and Knob R Rotar y Shaft Encoder In principal, the ro tary shaft en coder behaves much like a cam, connect ed to central shaft. Rotating the shaft then operates tw o push-button switches, as shown in Figur[...]

  • Página 19

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 17 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Discrete LEDs R UCF Location Constraints Figure 2-9 provides the UCF constraints for the fou r push-button swi tches, including the I/O pin assignment and the I/O standard used , and defines a pull-down resistor on each input. Discrete [...]

  • Página 20

    18 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 2: Switches, But tons, and Knob R Operat ion Each LED has one side connected to gr ound an d the other side connected to a pin on the Spartan-3E dev ice via a 390 : current limiting r esistor . T o light an indivi dual LED, driv[...]

  • Página 21

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 19 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 3 Clock Sour ces Overview As shown in Figure 3-1 , the MicroBlaze Development Kit board suppor ts three primary clock input sour ces, all of whi ch are located below the Xilinx logo, near the Spar tan-3E logo. x The board incl[...]

  • Página 22

    20 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 3: Clock Sour ces R Cloc k Connections Each of the clock inputs connect directly to a global buf fer input in I/O Bank 0, along the top of the FPGA. As shown in T a ble 3-1 , each of the clock inputs also optimally connects to a[...]

  • Página 23

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 21 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Related Resources R Location Figure 3-2 provides the UCF constraints for the three clock input sources , including the I/O pin assignment and the I/O s tandard used. The set tings assume that jumper JP9 is set for 3.3V . If JP9 is se t [...]

  • Página 24

    22 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 3: Clock Sour ces R[...]

  • Página 25

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 23 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 4 FPGA Configuration Options The Micr oBlaze Developmen t Kit board supports a variety of FP GA config uration options: x Download FPGA des igns directly to the Spartan-3E FPGA via JT AG, using the on- board USB interface. The[...]

  • Página 26

    24 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 4: FPGA Configuration Opt ions R Figure 4-1: Micr oBlaze Developmen t Kit Boar d FPGA Configurat ion Options Figure 4-2: Detailed Configur ation Options U S B-ba s ed Download and Debu g P ort U s e s s t a nd a rd U S B c ab le[...]

  • Página 27

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 25 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Configuration Mode J umpers R The configuration mode jumpers determine which configuration mode the FPGA uses when power is first applied, or whenever the PROG button is pr essed. The DONE pin LED li ghts when the FPGA successfull y fin[...]

  • Página 28

    26 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 4: FPGA Configuration Opt ions R PR OG Push Button The PROG push button, shown in Figur e 4-2, page 24 , forces the FPGA to reconfigur e from the selected configuration memory source. Pr ess and r elease this button to restart t[...]

  • Página 29

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 27 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Progr amming the FPGA, CPLD , or Platform Fla sh PROM via USB R Pr ogramming the FPGA, CPLD , or Platf orm Flash PR OM via USB As shown in Figure 4- 1, page 24 , the Micr oBlaze Development Kit boar d includes embedded USB-based pr ogra[...]

  • Página 30

    28 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 4: FPGA Configuration Opt ions R When the USB cable driver is successfully inst alled and the boar d is corr ectly connected to the PC, a green LED lights up, ind icating a good connection. Progr amming via iMP A CT After succes[...]

  • Página 31

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 29 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Progr amming the FPGA, CPLD , or Platform Fla sh PROM via USB R If the original FPGA conf iguration file used the default StartU p clock sour ce, CCLK, iMP A CT issues the warning message shown in Figure 4-7 . Thi s message can be safel[...]

  • Página 32

    30 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 4: FPGA Configuration Opt ions R Progr amming Platf or m Flash PROM via USB The on-board USB-JT AG cir cuitry also progra ms the two Xilinx XCF04S serial Platform Flash PROM. The steps pr ovided in this section describe how to s[...]

  • Página 33

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 31 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Progr amming the FPGA, CPLD , or Platform Fla sh PROM via USB R Click Configuration Options as shown in Figure 4-1 1 . Using the Configuration Rate drop list, choose 25 to incr ease the inter nal CCLK oscill ator to appr oximately 25 MH[...]

  • Página 34

    32 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 4: FPGA Configuration Opt ions R T o regenerate the programming file, double-click Generate Programming File , as shown in Figure 4- 12 . Generating the PR OM File After generating the pr ogram file, double-click Generate PROM, [...]

  • Página 35

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 33 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Progr amming the FPGA, CPLD , or Platform Fla sh PROM via USB R Choose Xilinx PROM as the targ et PROM type, as shown in Figure 4-15 . Select from any of the PROM File Format s; the Intel Hex format ( MCS ) is popular . Enter the Locati[...]

  • Página 36

    34 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 4: FPGA Configuration Opt ions R The Spartan-3E Starter Kit board has an XCF04S Platform Flash PROM. Select xcf04s from the dr op list, as shown in Figure 4-16 . Click Add , then click Next > . The PROM Formatter then echoes [...]

  • Página 37

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 35 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Progr amming the FPGA, CPLD , or Platform Fla sh PROM via USB R The PROM Formatter then prompt s for the name( s) of the FPGA con figuration bi tstre am file. As shown in Figure 4- 18 , click OK to sta rt s elec ting fil es. Sele ct an [...]

  • Página 38

    36 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 4: FPGA Configuration Opt ions R T o g enerate the actual PROM fil e, click Operations Æ Generate File as shown in Figure 4-20 . The iMP ACT software indicates that the PROM file was successfully created, as shown in Figure 4-2[...]

  • Página 39

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 37 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Progr amming the FPGA, CPLD , or Platform Fla sh PROM via USB R Progr amming the Platf or m Flash PROM T o pr ogram the formatted PROM file into th e Platform Flash PROM via the on-board USB- JT AG circuitry , follow the step s outlined[...]

  • Página 40

    38 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 4: FPGA Configuration Opt ions R Assign the PROM fi le to the XCF04S P latform Flash PRO M on the JT AG chain, as show n in Figure 4-23 . Right-click the PROM i con, then click Assign New Configuration File . Select a pr eviousl[...]

  • Página 41

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 39 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Progr amming the FPGA, CPLD , or Platform Fla sh PROM via USB R Before pr ogramming, choose the pr ogramming options available in Figur e 4-26 . Checking the Erase Before Programming option erases the P latform Flash PROM complete ly be[...]

  • Página 42

    40 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 4: FPGA Configuration Opt ions R[...]

  • Página 43

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 41 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 5 Character LCD Scr een Overview The Spartan-3E MicroBlaze Development Kit boar d has been desi gned with a 16 pin female header connector . The Spartan-3E Micr oBlaze Develo pment boar d is shipped with a 2x16 LCD display att[...]

  • Página 44

    42 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 5: Character LCD Sc reen R Once master ed, the LCD is a practical way to disp lay a variety of information using standard ASCII and custom characters. However , these displays are not f ast. Scrolling the display at half-second [...]

  • Página 45

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 43 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Interaction wi th Intel StrataFlash R Interaction with In tel StrataFlash As shown in Figure 5-1 , the four LCD data signals are al so shared with StrataFlash data lines SF_D<1 1:8>. As shown in T abl e 5-2 , the LCD/StrataFlash i[...]

  • Página 46

    44 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 5: Character LCD Sc reen R LCD Contr oller The 2 x 16 character LCD has an internal Sitronix ST7066U graphics controller that is functionally equivalent with the following devices. x Samsung S6 A0069X or K S0066U x Hitachi HD447[...]

  • Página 47

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 45 UG257 (v1.1) De cember 5, 2007 www .xilin x.com LCD Controller R binary and the lower nibble equates to DB[3:0] = “001 1” binary . As shown in Figure 5-4 , the character ‘S’ appears on the screen. English/Roman characters are stored in CG ROM at their equivalent ASCII cod e a[...]

  • Página 48

    46 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 5: Character LCD Sc reen R The CG RAM addr ess counter can either r emain constant after r ead or write operations , or auto-increments or auto-decrements by one lo cation, as defined by the I/D set by the Entry Mode Set command[...]

  • Página 49

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 47 UG257 (v1.1) De cember 5, 2007 www .xilin x.com LCD Controller R Disabled If the LCD_E enable signal is Low , all other inputs to the LCD are ignor ed. Clear Displa y Clear the display and return the cursor to the home position, the top-left corner . This command writes a blank space[...]

  • Página 50

    48 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 5: Character LCD Sc reen R This bit eithe r auto-increments or auto -decr ements the DD RAM and CG RAM addr ess counter by one location after each W rite Data to CG RAM or DD RAM or Read Data fr om CG RAM or DD RAM command. The [...]

  • Página 51

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 49 UG257 (v1.1) De cember 5, 2007 www .xilin x.com LCD Controller R Function Set Sets interface data length, number of display lines, and cha racter fon t. The Starter Kit board supports a single function set with value 0x28. Execution T ime: 40 P s Set CG RAM Address Set the initial CG[...]

  • Página 52

    50 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 5: Character LCD Sc reen R After the write operation, the addr ess is au tomati cally incr emented or decr emented by 1 accordi ng to the Entry Mode Set co m m a n d . T h e e nt r y m o d e a l s o d e t e r mi n e s d i s p l [...]

  • Página 53

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 51 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Operation R The data values on SF_D<1 1:8>, and the re gister select (LCD_RS) and the read/write (LCD_R W) control signals must be set up and st able at least 40 ns befor e the enab le LCD_ E goes High. The enable signal must re m[...]

  • Página 54

    52 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 5: Character LCD Sc reen R x Finally , issue a Clear Display command. Allow at least 1.64 ms (82,000 clock cycles) after issuing this command. Writing Data to the Displa y T o write data to the display , specify the start addr e[...]

  • Página 55

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 53 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 6 VGA Display Port The MicroBlaze Development Kit boar d includ es a VGA display port via a J15 connector . Connect this port dir ectly to most PC moni tors or flat-pan el LCDs using a standard monitor cable. As shown in Figur[...]

  • Página 56

    54 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 6: VG A D i s p l a y Po r t R the VGA_RED, VGA_GREEN, and VGA_BLUE signal s High or Low to generate the eight colors shown in T able 6-1 . VGA signal timing is specified, published, copyrighted, and sold by the V ideo Electr on[...]

  • Página 57

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 55 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Signal Timing f or a 60 Hz, 640x480 V GA Displa y R The display r esolution defi nes the size of the beams, the fr equency at which the beam traces acr oss the display , and the frequency at which the electr on beam is modulated. Modern[...]

  • Página 58

    56 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 6: VG A D i s p l a y Po r t R display is redrawn. The m inimum refr esh freque ncy is a function of the display’s phosphor and electron beam intensity , with practical refresh fr equencies in the 60 Hz to 120 Hz range. The nu[...]

  • Página 59

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 57 UG257 (v1.1) De cember 5, 2007 www .xilin x.com UCF Location Constraints R UCF Location C onstraints Figure 6-4 provides the UCF constraint s for the VGA display port, including the I/O pin assignment, the I/O standar d used, the output s lew rate, and the output drive current. Relat[...]

  • Página 60

    58 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 6: VG A D i s p l a y Po r t R[...]

  • Página 61

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 59 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 7 RS-232 Serial Ports Overview As shown in Figure 7-1 , the MicroBlaze Development Ki t board has two RS-232 serial ports: a female DB9 DCE connector and a male DTE connector . The DCE-style port connects directly to the seria[...]

  • Página 62

    60 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 7: RS-232 Serial P or ts R Figure 7-1: RS-232 Serial P orts DCE DTE Spartan-3E FPGA DTE Male DB9 1 2 3 4 5 6 7 8 9 GND 1 2 3 4 5 6 7 8 9 GND RS232_DCE_RXD RS232_DCE_TXD RS232_DTE_TXD RS232_DTE_RXD DCE Female DB9 RS-232 Voltage T[...]

  • Página 63

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 61 UG257 (v1.1) De cember 5, 2007 www .xilin x.com UCF Location Constraints R UCF Location C onstraints Figure 7-2 a nd Figure 7-3 pr ovide the UCF constraints for the DTE and DCE RS-232 ports, res pe cti ve ly , in cl ud in g t h e I /O p in a ss ig nm ent a n d t he I /O s ta nda rd u[...]

  • Página 64

    62 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 7: RS-232 Serial P or ts R[...]

  • Página 65

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 63 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 8 PS/2 Mouse/Keyboard Port The MicroBlaze Development Kit boar d includ es a PS/2 mouse/keyboard port and the standard 6-pin mini-DIN connector , labeled J14 on the boar d. Figur e 8-1 shows the PS/2 connector , and T abl e 8-[...]

  • Página 66

    64 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 8: PS/2 Mouse/K eyb oar d P ort R Both a PC mouse and ke yboard use the two-w i re PS/2 ser ial bus to communicate with a host device, the Spartan-3E FPGA in this case. The PS/2 bus includes both clock and data. Both a mouse and[...]

  • Página 67

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 65 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Keyb oard R Some keys, called extended keys, se nd an “E 0” ahead of the scan code and furthermore, they might send more than one scan code. W h en an extended key is released, an “E0 F0” key-up code is sent, followed by the s c[...]

  • Página 68

    66 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 8: PS/2 Mouse/K eyb oar d P ort R The keyboard se nds d ata to the host in 1 1-bit wo rds 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 ‘[...]

  • Página 69

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 67 UG257 (v1.1) De cember 5, 2007 www .xilin x.com V oltage Supply R the X or Y values exceed their maximum valu e, an overflow condition. A ‘1’ indicates when an overflow occurs. If the mouse moves continuously , the 33-bit transmissions repeat every 50 ms or so. The L and R fields[...]

  • Página 70

    68 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 8: PS/2 Mouse/K eyb oar d P ort R[...]

  • Página 71

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 69 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 9 Digital to Analog Converter (DAC) The MicroBlaze Development Kit boar d includes an SPI-compatible, four-channel, serial Digital-to-Analog Converter (DA C). The DAC device is a Linear T echnology L TC2624 quad DAC with 12-bi[...]

  • Página 72

    70 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 9: Digital to Analog Con verter (D A C) R Interf ace Signals T abl e 9-1 lists the interface signals between the FPGA a nd the DAC. The SPI_MOSI, SPI_MISO, and SPI_SCK signals are shar ed with other devices on the SPI bus. The D[...]

  • Página 73

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 71 UG257 (v1.1) De cember 5, 2007 www .xilin x.com SPI Commu nication R Although the Strat aFlash PROM is a parall el device, its least-s ignificant data bit is sha r ed with the SPI_MISO signal. SPI Communication Details Figure 9-3 shows a detailed example of the SPI bus timing. Each b[...]

  • Página 74

    72 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 9: Digital to Analog Con verter (D A C) R master . The r esponse from the DAC can be ig nored although it is a useful to confirm correct communication. The FPGA first sends eight dummy or “don’t car e” bits, f ollowed by a[...]

  • Página 75

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 73 UG257 (v1.1) De cember 5, 2007 www .xilin x.com UCF Location Constraints R D A C Outputs C and D Equation 9-3 provides the output voltage equation for DAC outputs A and B. The refer ence voltage associated with DAC outputs A and B is 2.5V r 5%. Equation 9-3 UCF Location C onstraints [...]

  • Página 76

    74 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 9: Digital to Analog Con verter (D A C) R[...]

  • Página 77

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 75 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 10 Analog Captur e Cir cuit The MicroBlaze Development Kit boar d includ es a two-channel analog capture cir cuit, consisting of aprogrammable scaling pre-am plifie r and an analog-to-di gital converter (ADC), as shown in Figu[...]

  • Página 78

    76 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 10 : Analog Capture Cir cuit R Digital Outputs fr om Analog Inputs The analog capture circuit converts the analog voltage on VINA or VINB and converts it to a 14-bit digital repr esentation , D[13:0], as expr essed by Equation 1[...]

  • Página 79

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 77 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Pr ogrammable Pre-Amplif ier R The r eference design files pr ovide more inform ation on convertin g the voltage applied on VINA or VINB to a digital r epresentation (s ee “Related Resour ces,” page 81 ). Pr ogrammab le Pre-Amplifie[...]

  • Página 80

    78 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 10 : Analog Capture Cir cuit R SPI Control Interf ace Figure 10-3 highlights the SPI-based communications interface with the amplifier . The gain for each amplifier is sent as an 8-bit comma nd word, consisting of two 4-bit fiel[...]

  • Página 81

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 79 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Analog to Digital Con verter (ADC) R UCF Location Constraints Figure 10-5 provides the User Constraint File (UCF ) constraints for the amplifier interface, including the I/O pin assignment and I/O standar d used. Analog to Digital Con v[...]

  • Página 82

    80 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 10 : Analog Capture Cir cuit R Figure 10-7 shows detailed transaction timing. The A D_CONV signal i s not a traditional SPI slave select enable. Be sur e to pr ovide enough SPI_S CK clock cycles so that the ADC leaves the SPI_MI[...]

  • Página 83

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 81 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Disable Ot her Devi ces on the SPI Bus to A void Content ion R Disable Other De vices on the SPI Bus to A v oid Contention The SPI bus signals are shar ed by other devices on the board. It is vital that other devices are dis abled when [...]

  • Página 84

    82 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 10 : Analog Capture Cir cuit R[...]

  • Página 85

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 83 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 1 1 Intel StrataFlash Parallel NOR Flash PROM As shown in Figure 1 1 - 1 , the MicroBlaze Development Kit boards includes a 128 Mbit (16 Mbyte) Intel StrataFlash parallel NOR Flash PR OM. As indicated, some of the StrataFlash [...]

  • Página 86

    84 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 11 : Intel StrataFl ash P arallel NOR Fl ash PR OM R x Stores Micr oBlaze pr ocessor code in the StrataFlash device and shadows the code into the DDR memory befor e executing the code. x Stores non-volatile data from the FPGA. S[...]

  • Página 87

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 85 UG257 (v1.1) De cember 5, 2007 www .xilin x.com StrataFlash Connec tions R Ta b l e 1 1 - 1 : FPGA-to-StrataFlash Connection s Category StrataFlash Signal Name FPGA Pin Number Function Address SF_A24 A1 1 Shared with XC2C64A CPLD. The CPLD actively drives these pins during FPGA confi[...]

  • Página 88

    86 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 11 : Intel StrataFl ash P arallel NOR Fl ash PR OM R Data SF_D15 T8 Upper 8 bits of a 16-bit halfword when StrataFlash is configured for x16 data (SF_BYTE=High). Connects to FPGA user I/O. Signals SF_D<15:8> connect to cha[...]

  • Página 89

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 87 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Shared Connections R Shared Connectio ns Besides the connections t o the FPGA, the Stra taFlash memory shar es some conne ctions to other components. Character LCD The LCD supports an 8-bit or a 4-bit data inte rface. The eight dis play[...]

  • Página 90

    88 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 11 : Intel StrataFl ash P arallel NOR Fl ash PR OM R UCF Location C onstraints Address Figure 1 1 -2 provid es the UCF constraints for the StrataFlash add ress pin s, including the I/O pin assignment and the I/O standard used. D[...]

  • Página 91

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 89 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Setting the FPGA M ode Select Pins R Control Figure 1 1 -4 provides the UCF constraints for the StrataFlash contr ol pins, incl uding the I/O pin assignment and the I/O standard used. Setting the FPGA Mode Select Pins Set the FPGA confi[...]

  • Página 92

    90 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 11 : Intel StrataFl ash P arallel NOR Fl ash PR OM R[...]

  • Página 93

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 91 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 12 SPI Serial Flash The MicroBlaze Development Kit boar d includ es a STMicroelectr onics M25P16 16 Mbit SPI serial Flash, u seful in a variety of appl ications. The SPI Flash provides an alternative means to conf igure the FP[...]

  • Página 94

    92 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 12 : SPI Serial Flash R UCF Location C onstraints Figure 12-2 pr ovides the UCF constraints for the SPI serial Flash PROM, including the I/O pin assignment and the I/O stand ard used. Configuring fr om SPI Flash T o configure th[...]

  • Página 95

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 93 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Configuring fr om SPI Flash R Creating an SPI Serial Flash PROM File The following steps describe how to format an FPGA bitstr eam for an SP I Serial Flash PROM. Setting the Configuration Cloc k Rate The FPGA supports a 12 MHz config ur[...]

  • Página 96

    94 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 12 : SPI Serial Flash R F ormatting an SPI Flash PROM File After generating the pr ogram file, double-click Generate PROM, ACE, or JTAG File to launch the iMP ACT software, as shown in Figur e 12-6 . After iMP ACT starts, double[...]

  • Página 97

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 95 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Configuring fr om SPI Flash R The Spartan-3E Starter Kit boar d has a 16 Mbit SPI serial Flash PROM. Select 16M fr o m t h e drop list, as sh own in Figur e 12-9 . Click Next > . Figure 12-8: Choose the PR OM T arget T ype, the, Data[...]

  • Página 98

    96 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 12 : SPI Serial Flash R The PROM Formatter then echoes the settings, as shown in Figure 12-10 . Click Finish . The PROM Formatter then prompt s for the name( s) of the FPGA con figuration bi tstre am file. As shown in Figu re 12[...]

  • Página 99

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 97 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Configuring fr om SPI Flash R T o g enerate the actual PROM fil e, click Operations Æ Generate File as shown in Figure 12-13 . As shown in Figure 12-14 , the iMP ACT software indicates that the PROM file was successfully created. The P[...]

  • Página 100

    98 MicroBlaze Development Kit Spar tan-3E 1600 Edition Use r Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 12 : SPI Serial Flash R Downloading the Design to SPI Flash There multiple methods to program the SPI Flash, as listed below . x Use the XSPI pr ogramming softwar e pr ov ided with XAPP445. Download the SPI Flash via the paralle[...]

  • Página 101

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 99 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Configuring fr om SPI Flash R First, turn off the power on the Spartan-3E Starter Kit board. If the USB cable is attached to the boar d, di sconnect it. Simult aneously connecting bot h the USB cable and the parallel cable to th e PC co[...]

  • Página 102

    100 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 12 : SPI Serial Flash R Re-apply power to the MicroB laze Development Kit boar d. Progr amming the SPI Flas h with the XSPI Softw are Open a command pr ompt or DOS box and chan ge to the XSPI installation directory . The XSPI ins[...]

  • Página 103

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 101 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Additional Design Details R After pr ogramming the SPI Flash, re move jumper JP8, as shown in Figure 12-16(a) . If properly pr ogrammed, the FPGA then co nfigures itself fr om the SPI Flas h PROM and the DONE LED lights. The DONE LED i[...]

  • Página 104

    102 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 12 : SPI Serial Flash R Other SPI Flash Control Signals The M25P16 SPI Flash has two additional co ntrol inputs. The active-L ow write protect input (W) and the active-Low bus hold input (HLD) are unused and pulled High via an ex[...]

  • Página 105

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 103 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Additional Design Details R x Density migration between smaller - and larger-density SPI Flash PROMs. Not all SPI Flash densities ar e availa ble in all pack ages. The SPI Flash migration strategy follows nicely with the pinout migrati[...]

  • Página 106

    104 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 12 : SPI Serial Flash R Related Resour ces x XAPP445: Configuring Spartan-3E Xilinx FPGAs with SP I Flash Memories x http://www .xilinx.com/xlnx/xweb/xil_publicati ons_display .jsp?category= Application+Notes/FPGA+Featur es+and+ [...]

  • Página 107

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 105 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 13 DDR SDRAM The MicroBlaze Development Kit boar d includ es a 5 12 Mbit (32M x 16) Micron T echnology DDR SDRAM (MT46V32M16) wit h a 16-bit data interface, as shown in Figure 13-1 . All DDR SDRAM interface pins connect to th[...]

  • Página 108

    106 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 13 : D DR SDRAM R The differ ential clock pin SD_CK_ P is fed back into FPGA pin B9 i n I/O Bank 0 to have best access to one of the FPGA ’s Digital Clock Ma nagers (DCMs ). This path is r equir ed when using the MicroBlaze OPB[...]

  • Página 109

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 107 UG257 (v1.1) De cember 5, 2007 www .xilin x.com DDR SDRAM Connections R Data SD_DQ15 H5 Data input/output SD_DQ14 H6 SD_DQ13 G5 SD_DQ12 G6 SD_DQ1 1 F2 SD_DQ10 F1 SD_DQ9 E1 SD_DQ8 E2 SD_DQ7 M6 SD_DQ6 M5 SD_DQ5 M4 SD_DQ4 M3 SD_DQ3 L4 SD_DQ2 L3 SD_DQ1 L1 SD_DQ0 L2 Control SD_BA1 K6 Ban[...]

  • Página 110

    108 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 13 : D DR SDRAM R UCF Location C onstraints Address Figure 13-2 provi des the User Co nstraint File (UCF ) const raints for the DDR SDR AM address pins, including the I/O pin assignment and the I/O standar d used. Data Figure 13-[...]

  • Página 111

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 109 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Related Resources R Control Figure 13-4 provi des the User Co nstraint File (UCF ) const raints for the DDR SDR AM control pins, including the I/O pin as signment and the I/O standar d used. Reser v e FPGA VREF Pins Five pins in I/O Ba[...]

  • Página 112

    110 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 13 : D DR SDRAM R[...]

  • Página 113

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 111 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 14 10/100 Ethernet Physical Layer Interface The MicroBlaze Development Kit boar d incl udes a Standar d Microsystems LAN83C185 10/100 Ethernet physical layer (PHY) interf ace and an RJ-45 connector , as shown in Figure 14-1 .[...]

  • Página 114

    112 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 14 : 10/100 Ethernet Phy sical La yer Int erface R Ethernet PHY Connections The FPGA connects to the LAN83C185 Ethernet PHY using a standard Media Independent Interface (MII), as shown in Figure 14-2 . A more detailed description[...]

  • Página 115

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 113 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Micr oBlaze Ethernet IP Cores R Micr oBlaze Ethernet IP Cores The Ethernet PHY is primaril y i ntended for use with Micr oBlaze applications. As such, an Ethernet MAC is part of the EDK Platform St udio’s Base System Builder . Both t[...]

  • Página 116

    114 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 14 : 10/100 Ethernet Phy sical La yer Int erface R The har dware e valuation versions of the Et hernet MAC cor es operate for approximately eight hours i n silico n before tim ing o ut. T o orde r the full version of the cor e, v[...]

  • Página 117

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 115 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 15 Expansion Connectors The MicroBlaze Development Kit boar d pr ovid es a variety of expansion connectors for easy interface fl exibility to oth er of f-board co mponents. The boar d include s the following I/O expansion hea[...]

  • Página 118

    116 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 15 : Expansion Connectors R Three signals are reserved prim arily as clock signals between the boar d and FX2 connector , although all three conn ect to full I/O pins. V oltage Supplies to the Connector The MicroBlaze Development[...]

  • Página 119

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 117 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Hiros e 100-pin FX2 Edge Connect or (J3) R Ta b l e 1 5 - 1 : Hirose 100- pin FX2 Connector Pinout and FPGA Connect ions (J3) Signal Name FPGA Pin Shared Header Connections FX2 Connector FPGA Pin Signal Name LED J6 A (top) B (bottom) V[...]

  • Página 120

    118 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 15 : Expansion Connectors R Compatib le Board The following boar d is compatible with t he FX2 connector on the M icr oBlaze Development Kit boar d: x VDEC1 V ideo Decoder Board fr om Digile nt, Inc. http://www .digilentinc.com/P[...]

  • Página 121

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 119 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Hiros e 100-pin FX2 Edge Connect or (J3) R Spartan-3E data sheet. Select pairs have optional landing pads for external termination res is tor s . These signals ar e not routed with matche d diff er ential impedance, as would be r equir[...]

  • Página 122

    120 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 15 : Expansion Connectors R Using Diff erential Inputs L VDS and RSDS differential inputs r equir e in put termination. T wo options are available. The first option is to use external termination r esistors, as shown in Figur e 1[...]

  • Página 123

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 121 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Hiros e 100-pin FX2 Edge Connect or (J3) R Using Diff erential Outputs Differ ential input signals do not requir e any special voltage. L VDS and RSDS dif ferential outputs signals, on the other hand, require a 2.5V supply on I/O Bank [...]

  • Página 124

    122 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 15 : Expansion Connectors R UCF Location Constraints Figure 15-7 provides the UCF constraints for the FX2 connector , including the I/O pin assignment and the I/O standard used, assumi ng that all connections use single-ended I/O[...]

  • Página 125

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 123 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Six-Pin Acces sory Header s R Six-Pin Accessory Headers The 6-pin accessor y headers pr ovide easy I/O interface expansion using the various Digilent Peripheral Modules (see “Related Resour ces,” page 126 ). The location of the 6-p[...]

  • Página 126

    124 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 15 : Expansion Connectors R Header J4 The J4 header , shown in Figur e 15-10 , is located immediately to the left of the J1 header . It uses a 6-pin header consisting of 0.1-inch centered stake pins. Four FPGA pins connect to the[...]

  • Página 127

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 125 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Connectorless Deb ug ging P ort Landing P a ds (J6) R Connectorless Deb ugging P o rt Landing P ads (J6) Landing pads for a connectorless debugging port are pr ovided as header J6 , shown in Figure 15-1, page 1 15 . Ther e is no physic[...]

  • Página 128

    126 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 15 : Expansion Connectors R Related Resour ces x Hirose connectors http://www .hir ose-connectors.com/ x FX2 Series Connector Data Sheet http://www .hir ose.co.jp/cataloge_hp/e57220088.pdf x Digilent, Inc. Peripheral Modules http[...]

  • Página 129

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 127 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 16 XC2C64A CoolRunner-II CPLD The MicroBlaze De velopment Kit boar d incl udes a Xilinx XC2C64A CoolRunner -II CPLD. The CPLD is user pr ogrammable and available for customer applicat ions. Portions of the CPLD are r eserved [...]

  • Página 130

    128 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 16 : X C2C64A CoolRunner-II CPLD R UCF Location C onstraints There ar e two sets of co nstraints list ed below – one for the Spartan-3E FPGA and one for the XC2C64A CoolRunner -II CPLD. Figure 16-1: XC2C64A CoolRunner-II CPLD C[...]

  • Página 131

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 129 UG257 (v1.1) De cember 5, 2007 www .xilin x.com UCF Location Constraints R FPGA Connections to CPLD Figure 16-2 provides the UCF constraints for the FPGA connections to the CPLD , including the I/O pin assignment and the I/O standard used. CPLD Figure 16-3 provides the UCF constrain[...]

  • Página 132

    130 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 16 : X C2C64A CoolRunner-II CPLD R Related Resour ces x CoolRunner-II CPLD Family Data Sheet http://direct.xilinx.com/bvd ocs/publications/ds090.pdf x XC2C64A CoolRunner -II CPLD Data Sheet http://direct.xilinx.com/bvd ocs/public[...]

  • Página 133

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 131 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Chapter 17 DS2432 1-W ir e SHA-1 EEPROM The Micr oBlaze Development Kit board includ es a Maxim DS2432 serial EEPROM with an integrated SHA-1 engin e. As shown in Figure 17-1 , the DS2432 EEPROM uses the Maxim 1-W ire interface, whic[...]

  • Página 134

    132 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Chapter 17 : D S2432 1-Wire SHA-1 EEPR OM R[...]

  • Página 135

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 133 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Appendix A Schematics This appendix provides the following circuit board schematics: x “FX2 Expansion Header , 6-pin Header s, and Connectorless Probe Header” x “RS-232 Ports, VGA Port, and PS/2 Port” x “Ethernet PHY , Magn[...]

  • Página 136

    134 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R FX2 Expansion Header , 6-pin H eader s, and Connectorless Pr obe Header Headers J1, J2, and J4 ar e six-pin connectors co mpatible with the Digilent Accessory boar d format. Headers J3A a nd J3B ar e the connecti[...]

  • Página 137

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 135 UG257 (v1.1) De cember 5, 2007 www .xilin x.com FX2 Expansion He ader , 6-pin Headers, and Connectorless Pr obe He ader R Figure 18-1: Schematic Sheet 1 UG257_A01_060606[...]

  • Página 138

    136 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R RS-232 P or ts, V GA P or t, and PS/2 P or t IC2 is the Maxim L VTTL to RS-232 level converte r . One of the serial chann els connects to a female DB9 DCE connector (J9) and the other connects to a male DB9 DTE c[...]

  • Página 139

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 137 UG257 (v1.1) De cember 5, 2007 www .xilin x.com RS-232 P or ts, V GA P ort, and PS/2 P or t R Figure 18-2: Schematic Sheet 2 UG257_A02_060606[...]

  • Página 140

    138 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R Ethernet PHY , Magnetics, and RJ-11 Connector IC6 is an SMSC 10/100 Ethernet PHY , with its associated 25 MHz oscillator . The PHY requir es an Eth ernet MAC implemented within the FPGA. J19 is the RJ-1 1 Etherne[...]

  • Página 141

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 139 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Ethernet PHY , Magne tics, and RJ-1 1 Connector R Figure 18-3: Schematic Sheet 4 UG257_A0 3 _060606[...]

  • Página 142

    140 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R V oltage Regulator s IC7 is a T exas Instr uments TPS75003 triple-output regulator . The regulator provides 1.2V to the FPGA ’s VCCINT supply input, 2.5V to the FPGA ’s VC CAUX supply input, and 3.3V to other[...]

  • Página 143

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 141 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Vo l t a g e R e g u l a t o r s R Figure 18-4: Schematic Sheet 5 UG257_A04_060606[...]

  • Página 144

    142 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R FPGA Configurations Settings, Platf orm Flash PR OM, SPI Serial Flash, JT A G Connections IC10MISC repr esents the various FPGA configuration connections. IC1 1 is a 4 Mbit XCF04S Platform Flash PROM . Landing pa[...]

  • Página 145

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 143 UG257 (v1.1) De cember 5, 2007 www .xilin x.com FPGA Configurations Settings, Pla tform Flas h PROM, SPI Serial Flash, JT A G Connections R Figure 18-5: Schematic Sheet 6 UG257_A05_060606[...]

  • Página 146

    144 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R FPGA I/O Banks 0 and 1, Oscillators IC10B0 repr esents the connections to I/O Bank 0 on the FPGA. The VCCO input to Bank 0 is 3.3V by default, but can be set to 2.5V using jumper JP9. IC10B1 repr esents the conne[...]

  • Página 147

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 145 UG257 (v1.1) De cember 5, 2007 www .xilin x.com FPGA I/O Banks 0 and 1, Oscillators R Figure 18-6: Schematic Sheet 7 UG257_A06_060606[...]

  • Página 148

    146 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R FPGA I/O Banks 2 and 3 IC10B2 repr esents the connections to I/O Bank 2 on the FPGA. Some of the I/O Bank 2 connections ar e used for FPGA config uration and ar e listed as IC10MISC. IC10B3 repr esents the connec[...]

  • Página 149

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 147 UG257 (v1.1) De cember 5, 2007 www .xilin x.com FPGA I/O Banks 2 and 3 R Figure 18-7: Schematic Sheet 8 UG257_A07_060606[...]

  • Página 150

    148 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R P ower Suppl y Decoupling IC10PWR r epr esents the various voltage suppl y inputs to the FPGA and shows the power decoupling network. Jumper JP9 defines the voltage applied to VCCO on I/O Bank 0. The default sett[...]

  • Página 151

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 149 UG257 (v1.1) De cember 5, 2007 www .xilin x.com P o wer Supply Deco upling R Figure 18-8: Schematic Sheet 9 UG257_A08_060606[...]

  • Página 152

    150 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R XC2C64A CoolRunner -II CPLD IC18 is a Xilinx XC2C64A CoolRunner-II CPLD. The CPLD primarily pr ovides additional flexibility when configuring the FPGA fr om parallel NOR Flash and duri ng MultiBoot configurations[...]

  • Página 153

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 151 UG257 (v1.1) De cember 5, 2007 www .xilin x.com XC2C64A CoolRunner-II CPLD R Figure 18-9: Schematic Sheet 10 UG257_A09_060606[...]

  • Página 154

    152 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R Linear T echnolog y ADC and D A C IC19 is a Linear T echnology L TC1407A-1 two- channel ADC. IC20 is a Linear T echnology L TC6912 programmable pr e-amplifier (AMP) to condition the analog inputs to the ADC. See [...]

  • Página 155

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 153 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Linear T echnolog y ADC and D AC R Figure 18-10: Schematic Sheet 11 UG257_A10_060606[...]

  • Página 156

    154 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R Intel StrataFlash P arallel NOR Flash Memory and Micr on DDR SDRAM IC22 is a 128 Mbit (16 Mbyte) Intel StrataFlash parall el NOR Flas h PROM. See Chapter 1 1, “Intel StrataFlash Parallel NOR Flash PROM,” f or[...]

  • Página 157

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 155 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Intel StrataFlas h P arallel NOR Fl ash Memory and Micron DDR SDRAM R Figure 18-11: Schematic Sheet 12 UG257_A11_060606[...]

  • Página 158

    156 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R Buttons, Switches, Rotary Encoder , and Character LCD SW0, SW1, SW2, and SW3 are slide switches. Push-button switches W , E, S, and N are located ar ound the ROT1 push-button switch/rotary encoder . LD0 through L[...]

  • Página 159

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 157 UG257 (v1.1) De cember 5, 2007 www .xilin x.com Buttons, Switches, Rotary Encoder , and Character LCD R Figure 18-12: Schematic Sheet 13 UG257_A12_060606[...]

  • Página 160

    158 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R DDR SDRAM Series T ermination and FX2 Connector Differential Te r m i n a t i o n Resistors R160 through R201 repr esent the series termination r esistors for the DDR SDRAM. See Chapter 13, “DDR SDRAM,” for a[...]

  • Página 161

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 159 UG257 (v1.1) De cember 5, 2007 www .xilin x.com DDR SDRAM Series T ermination and FX2 Connector Differential T ermination R Figure 18-13: Schematic Sheet 14 UG257_A1 3 _060606[...]

  • Página 162

    160 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix A: Schematics R[...]

  • Página 163

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 161 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R Appendix B Example User Constraints File (UCF) #################################### ############################ ### S PARTAN-3 E M i c r oBlaze Developmen t KIT BOARD CON S TRAINT S FIL E #################################### #######[...]

  • Página 164

    162 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix Appendix B: Example User Constraint s File (UCF) R # The s e a r e s ha r ed connect i on s w i th the F X connecto r N E T "L E D<0>" LOC = "D4" | IO S TANDARD = SS TL2_I ; N E T "L E D<1>&q[...]

  • Página 165

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 163 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R N E T " E _R X D<4>" LOC = "U14" | IO S TAND ARD = L V CMO S 33 ; N E T " E _T X _CLK" LOC = "T7" | IO S TANDA RD = L V CMO S 33 ; N E T " E _T X _ E N" LOC = "P15" | [...]

  • Página 166

    164 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix Appendix B: Example User Constraint s File (UCF) R CONFIG PROHIBIT = R4; # ==== Intel S t r ataFla s h Pa r allel NO R Fla s h ( S F) ==== N E T " S F_A<0>" LOC = "H17" | IO S TANDA RD = L V CMO S 33 | [...]

  • Página 167

    MicroBlaze Development Kit Sparta n-3E 1600 Edition User Guide 165 UG257 (v1.1) De cember 5, 2007 www .xilin x.com R N E T " V GA_ VS YNC" LOC = "F14" | IO S TAN DARD = L V TTL | DRI VE = 8 | S L E W = FA S T ; # # ==== F X 2 Connecto r (F X 2) ==== N E T "F X 2_CLKIN" LOC = " E 10" | IO S TAN DARD = L V CMO [...]

  • Página 168

    166 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www .xili nx.com UG257 (v1.1) December 5, 2007 Appendix Appendix B: Example User Constraint s File (UCF) R # ==== 6 -p i n heade r J4 ==== # The s e a r e i ndependent of the F X 2 connecto r # N E T "J4<0>" LOC = "R14" | IO S TANDAR D = L V TTL | S L E W = [...]