Xilinx reserves the right to make changes, at any time, to the Design as deemed desirable in the sole discretion of Xilinx. Xilinx assumes no obligation to correct any errors contained herein or to advise you of any correction if such be made. Xilinx will not assume any liability for the accuracy or correctness of any engineering or technical support or assistance provided to you in connection with the Design.
Spartan-3E FPGA Features and Embedded Processing Functions ....9 Learning Xilinx FPGA, CPLD, and ISE Development Software Basics ... . . 9 Advanced Spartan-3 Generation Development Boards .
Page 4
............. 67 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 6
CPLD ..............129 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 7
..... 156 DDR SDRAM Series Termination and FX2 Connector Differential Termination Appendix B: Example User Constraints File (UCF) MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 8
MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Spartan™-3E Starter Kit Board Reference Page http://www.xilinx.com/sp3e1600e Acknowledgements Xilinx wishes to thank the following companies for their support of the MicroBlaze Development Kit board: Intel Corporation for the 128 Mbit StrataFlash memory Linear Technology for the SPI-compatible A/D and D/A converters, the...
Appendix B, “Example User Constraints File (UCF),” provides example code from a UCF. Additional Resources To find addtional resources for the MicroBlaze Processor or the Xilinx Embedded development tools, see the Xilinx website at: http://www.Xilinx.com/Microblaze http://www.Xilinx.com/EDK To find additional documentation, see the Xilinx website at: http://www.xilinx.com/literature.
Edition. You will find it useful in developing your Spartan-3E FPGA application. Choose the Starter Kit Board for Your Needs Depending on specific requirements, choose the Xilinx development board that best suits your needs. Spartan-3E FPGA Features and Embedded Processing Functions...
Chapter 1: Introduction and Overview http://www.xilinx.com/xlnx/xebiz/designResources/ip_product_details.jsp?key=DO- ML403-EDK-ISE Also consider the capable boards offered by Xilinx partners: http://www.xilinx.com/products/devboards/index.htm Key Components and Features The key features of the MicroBlaze Development Kit board are: Xilinx XC3S1600E Spartan-3E FPGA Up to 250 user-I/O pins...
The on-chip circuitry simplifies the device programming experience. In typical applications, the JTAG programming hardware resides off-board or in a separate programming module, such as the Xilinx Platform USB cable. This USB port is for programming only and can not be used as an independent USB interface.
Page 14
Chapter 1: Introduction and Overview MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
I/O standard used. The PULLUP resistor is not required, but it defines the input value when the switch is in the middle of a transition. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Figure 2-5 shows how to specify a pull-down resistor within the UCF. There is no active debouncing circuitry on the push button. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Low. Figure 2-9 shows how to specify a pull-down resistor within the UCF. There is no active debouncing circuitry on the push button. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 18
See the Rotary Encoder Interface reference design in“Related Resources” for an example. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
The MicroBlaze Development Kit board has eight individual surface-mount LEDs located above the slide switches as shown in Figure 2-10. The LEDs are labeled LED7 through LED0. LED7 is the left-most LED, LED0 the right-most LED. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
As shown in Figure 3-1, the MicroBlaze Development Kit board supports three primary clock input sources, all of which are located below the Xilinx logo, near the Spartan-3E logo. The board includes an on-board 50 MHz clock oscillator. The user clock socket is populated with a 66 MHz oscillator Clocks can be supplied off-board via an SMA-style connector.
I/O pin assignments and I/O standards. The period constraints define the clock period—and consequently the clock frequency—and the duty cycle of the incoming clock signal. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
UG257_03_02_061306 Figure 3-2: UCF Location Constraints for Clock Sources Clock Period Constraints The Xilinx ISE development software uses timing-driven logic placement and routing. Set the clock PERIOD constraint as appropriate. An example constraint appears in Figure 3-3 for the on-board 50 MHz clock oscillator. The CLK_50MHZ frequency is 50 MHz, which equates to a 20 ns period.
Page 24
Chapter 3: Clock Sources MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Download FPGA designs directly to the Spartan-3E FPGA via JTAG, using the on- board USB interface. The on-board USB-JTAG logic also provides in-system programming for the on-board Platform Flash PROM and the Xilinx XC2C64A CPLD. SPI serial Flash and StrataFlash programming are performed separately.
Page 26
DONE Pin LED Spartan-3E Lights up when FPGA successfully configured Development Board 4 Mbit Xilinx Platform Flash PROM Configuration storage for Master Serial mode (one XC04S on front and one on the back of the board” 64 Macrocell Xilinx XC2C64A CoolRunner CPLD...
The DONE pin LED lights when the FPGA successfully finishes configuration. Pressing the PROG button forces the FPGA to restart its configuration process. The 4 Mbit Xilinx Platform Flash PROM provides easy, JTAG-programmable configuration storage for the FPGA. The FPGA configures from the Platform Flash using Master Serial mode.
The DONE pin LED, shown in Figure 4-2, page 24, lights whenever the FPGA is successfully configured. If this LED is not lit, then the FPGA is not configured. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Figure 4-3: Standard USB Type A/Type B Cable The wider and narrower Type A connector fits the USB connector at the back of the computer. After installing the Xilinx software, connect the square Type B connector to the MicroBlaze Development Kit board, as shown in Figure 4-4.
PC, a green LED lights up, indicating a good connection. Programming via iMPACT After successfully compiling an FPGA design using the Xilinx development software, the design can be downloaded using the iMPACT programming software and the USB cable. To begin programming, connect the USB cable to the starter kit board and apply power to the board.
Page 31
When the FPGA successfully programs, the iMPACT software indicates success, as shown Figure 4-9. The FPGA application is now executing on the board and the DONE pin LED (see Figure 4-2) lights up. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
CCLK oscillator always starts at its slowest setting, approximately 1.5 MHz. Most external PROMs support a higher frequency. Increase the CCLK frequency as appropriate to reduce the FPGA’s configuration time. The Xilinx XCF04S Platform Flash supports a 25 MHz CCLK frequency.
Page 33
25 MHz, the fastest frequency when using an XCF04S Platform Flash PROM. Click OK when finished. UG257_04_11_061206 Figure 4-11: Set CCLK Configuration Rate under Configuration Options MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 34
Figure 4-13. UG257_04_13_061206 Figure 4-13: Double-Click Generate PROM, ACE, or JTAG File After iMPACT starts, double-click PROM File Formatter, as shown in Figure 4-14. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 35
Programming the FPGA, CPLD, or Platform Flash PROM via USB UG257_04_14_061206 Figure 4-14: Double-Click PROM File Formatter Choose Xilinx PROM as the target PROM type, as shown in Figure 4-15. Select from any of the PROM File Formats; the Intel Hex format (MCS) is popular. Enter the Location of the directory and the PROM File Name.
Page 36
Figure 4-16: Choose the XCF04S Platform Flash PROM The PROM Formatter then echoes the settings, as shown in Figure 4-17. Click Finish. UG257_4-17_061206 Figure 4-17: Click Finish after Entering PROM Formatter Settings MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 37
PROM, the select FPGA bitstream(s), and the amount of PROM space consumed by the bitstream. Figure 4-19 shows an example for a single XC3S500E FPGA bitstream stored in an XCF04S Platform Flash PROM. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 38
Figure 4-20: Click Operations Generate File to Create the Formatted PROM File The iMPACT software indicates that the PROM file was successfully created, as shown in Figure 4-21. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 39
Boundary Scan in the iMPACT Modes pane, as shown in Figure 4-22, or by clicking on the Boundary Scan tab. UG257_04_22_061206 Figure 4-22: Switch to Boundary Scan Mode MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 40
The programming software again prompts for the PROM type to be programmed. Select xcf04s and click OK, as shown in Figure 4-25. UG257_04_25_061206 Figure 4-25: Select XCF04S Platform Flash PROM MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 41
FPGA to reconfigure from the newly programmed Platform Flash PROM. If the FPGA successfully configures, the DONE LED, also shown in Figure 4-2, lights up. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 42
Chapter 4: FPGA Configuration Options MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
StrataFlash I/O pins when the character LCD drives a High logic value. The character LCD drives the data lines when LCD_RW is High. Most applications treat the LCD as a write- only peripheral and never read from from the display. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
CG ROM. For example, a hexadecimal character code of 0x53 stored in a DD RAM location displays the character ‘S’. The upper nibble of 0x53 equates to DB[7:4]=”0101” MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 47
CG RAM. Write CG RAM data using the Write Data to CG RAM or DD RAM command, and read CG RAM using the Read Data from CG RAM or DD RAM command. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Table 5-3: LCD Character Display Command Set Upper Nibble Lower Nibble Function Clear Display Return Cursor Home Entry Mode Set Display On/Off Cursor and Display Shift S/C R/L Function Set MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 49
These operations are performed during data reads and writes. Execution Time: 40 s Bit DB1: (I/D) Increment/Decrement Auto-decrement address counter. Cursor/blink moves to left. Auto-increment address counter. Cursor/blink moves to right. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 50
When the displayed data is shifted repeatedly, both lines move horizontally. The second display line does not shift into the first display line. Execution Time: 40 s MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 51
Write data into DD RAM if the command follows a previous Set DD RAM Address command, or write data into CG RAM if the command follows a previous Set CG RAM Address command. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
0x06, to set the display to automatically increment the address pointer. Issue a Display On/Off command, 0x0C, to turn the display on and disables the cursor and blinking. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Also drive the LCD_RW pin Low to prevent the LCD screen from presenting data. Related Resources Initial Design for Spartan-3E MicroBlaze Development Kit (Reference Design) http://www.xilinx.com/s3e1600e PowerTip PC1602-D Character LCD (Basic Electrical and Mechanical Data) http://www.powertipusa.com/pdf/pc1602d.pdf Sitronix ST7066U Character LCD Controller http://www.sitronix.com.tw/sitronix/product.nsf/Doc/ST7066U?OpenDocument...
VGA-specified 0V to 0.7V range. The VGA_HSYNC and VGA_VSYNC signals using LVTTL or LVCMOS33 I/O standard drive levels. Drive MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
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. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 57
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 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
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. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
NET "VGA_VSYNC" LOC = "F14" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ; UG257_06_04_060506 Figure 6-4: UCF Constraints for VGA Display Port Related Resources VESA http://www.vesa.org VGA timing information http://www.epanorama.net/documents/pc/vga_timing.html MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 60
Chapter 6: VGA Display Port MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
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. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 62
Serial cable To DTE To DCE Female DB9 Male DB9 RS-232 Voltage Translator (IC2) (R7) (M14) (U8) (M13) Spartan-3E FPGA UG257_07_01_060506 Figure 7-1: RS-232 Serial Ports MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
The keyboard sends the same scan code, regardless if a key has different shift and non-shift characters and regardless whether the Shift key is pressed or not. The host determines which character is intended. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 67
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. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
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 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
(SPI_MOSI) to the selected bus slave—the DAC in this example. At the same time, the bus slave provides serial data (SPI_MISO) back to the bus master. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
FPGA communicates with the DAC to avoid bus contention. Table 9-2 provides the signals and logic values required to disable the other devices. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
As a new command enters the DAC, the previous 32-bit command word is echoed back to the MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
DAC outputs A and B. The reference voltage associated with DAC outputs A and B is 3.3V 5%. D 11:0 -------------------- - 3.3V Equation 9-2 OUTA 4096 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
LTC2624 Quad DAC Data Sheet http://www.linear.com/pc/downloadDocument.do?navId=H0,C1,C1155,C1005,C1156, P2048,D2170 PicoBlaze Based D/A Converter Control for the Spartan-3E Starter Kit (Reference Design) http://www.xilinx.com/sp3e1600e Xilinx PicoBlaze Soft Processor http://www.xilinx.com/picoblaze Digilent, Inc. Peripheral Modules http://www.digilentinc.com/Products/Catalog.cfm?Nav1=Products& Nav2=Peripheral&Cat=Peripheral MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007...
Page 76
Chapter 9: Digital to Analog Converter (DAC) MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
10-2). The output of pre-amplifier connects to a Linear Technology LTC1407A-1 ADC. Both the pre-amplifier and the ADC are serially programmed or controlled by the FPGA. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
-2 and 2 -1. Therefore, the quantity is scaled by 8192, or 2 “Programmable Pre-Amplifier” to control the GAIN settings on the programmable pre-amplifier. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
The gain of each amplifier is programmable from -1 to -100, as shown in Table 10-2. Table 10-2: Programmable Gain Settings for Pre-Amplifier Input Voltage Range Gain Minimum Maximum 1.025 2.275 1.525 1.775 1.5875 1.7125 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
All timing is minimum in nanoseconds unless otherwise noted. UG570_10_04_060706 Figure 10-4: SPI Timing When Communicating with Amplifier The amplifier interface is relatively slow, supporting only about a 10 MHz clock frequency. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
The maxim sample rate is approximately 1.5 MHz. The ADC presents the digital representation of the sampled analog values as a 14-bit, two’s complement binary value. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Figure 10-7: Detailed SPI Timing to ADC UCF Location Constraints Figure 10-8 provides the User Constraint File (UCF) constraints for the amplifier interface, including the I/O pin assignment and I/O standard used. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Connect AC signals to VINA or VINB via a DC blocking capacitor. Related Resources Amplifier and A/D Converter Control for the Spartan-3E Starter Kit (Reference Design) http://www.xilinx.com/sp3e1600e Xilinx PicoBlaze Soft Processor http://www.xilinx.com/picoblaze LTC6912 Dual Programmable Gain Amplifiers with Serial Digital Interface http://www.linear.com/pc/downloadDocument.do?navId=H0,C1,C1154,C1009,C1121, P7596,D5359 LTC1407A-1 Serial 14-bit Simultaneous Sampling ADCs with Shutdown http://www.linear.com/pc/downloadDocument.do?navId=H0,C1,C1155,C1001,C1158,...
Page 84
Chapter 10: Analog Capture Circuit MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Stores two different FPGA configurations in the StrataFlash device and dynamically switch between the two using the Spartan-3E FPGA’s MultiBoot feature. Stores and executes MicroBlaze processor code directly from the StrataFlash device. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
StrataFlash device. Instead, the XC2C64 CPLD controls the pins during configuration. As described in Table 11-1 Shared Connections, some of the StrataFlash connections are shared with other components on the board. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 87
Connects to FPGA pins A[19:0] to support the BPI configuration. SF_A18 SF_A17 SF_A16 SF_A15 SF_A14 SF_A13 SF_A12 SF_A11 SF_A10 SF_A9 SF_A8 SF_A7 SF_A6 SF_A5 SF_A4 SF_A3 SF_A2 SF_A1 SF_A0 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 88
StrataFlash Byte Enable. Connects to FPGA pin LDC2 to support the BPI configuration. 0: x8 data 1: x16 data SF_STS StrataFlash Status signal. Connects to FPGA user-I/O pin. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
The FPGA accesses the StrataFlash PROM. Xilinx XC2C64A CPLD The Xilinx XC2C64A CoolRunner CPLD controls the five upper StrataFlash address lines, SF_A<24:20> during configuration. The four upper BPI-mode address lines from the FPGA, A<23:20> are not connected. Instead, four FPGA user-I/O pins connect to the StrataFlash PROM upper address lines SF_A<23:0>.
Set the FPGA configuration mode pins for SPI mode, as shown in Figure 12-4. The location of the configuration mode jumpers (J30) appears in Figure 12-3. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Regenerate the FPGA bitstream programming file with the new settings. UG257_12_05_060806 Figure 12-5: Set Configuration Rate to 12 MHz When Using the M25P16 SPI Flash MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 96
Formatter automatically swaps the bit direction as SPI Flash PROMs shift out the most- significant bit (MSB) first. Enter the Location of the directory and the PROM File Name. Click Next > when finished. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 97
The Spartan-3E Starter Kit board has a 16 Mbit SPI serial Flash PROM. Select 16M from the drop list, as shown in Figure 12-9. Click Next >. UG257_12_09_060806 Figure 12-9: Choose 16M MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 98
PROM, the select FPGA bitstream(s), and the amount of PROM space consumed by the bitstream. Figure 12-12 shows an example for a single XC1600E FPGA bitstream stored in an XCF04S Platform Flash PROM. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 99
The PROM Formatter creates an output file based on the settings shown in Figure 12-8. In this example, the output file is called MySPIFlash.mcs. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Digilent JTAG3 programming cable These cables are not provided with the MicroBlaze Development Kit board , but can be purchased separately, either from the Xilinx Online Store or from Digilent, Inc. (see “Related Resources,” page 104). MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com...
Page 101
Force the FPGA’s PROG_B pin Low by installing a jumper on JP8, next to the PROG push button, as shown in Figure 12-16. See Figure 12-3, page 92 to locate jumper JP8 and surrounding landmarks. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 102
Finish : Mon Feb 27 13:38:22 2006 Elapsed clock time (00:01:15) = 75 seconds UG257_12_17_060806 Figure 12-17: Programming the M25P16 SPI Flash with the XSPI Programming Utility MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Table 12-3: Disable Other Devices on SPI Bus Signal Disabled Device Disable Value DAC_CS Digital-to-Analog Converter (DAC) AMP_CS Programmable Pre-Amplifier MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
These pins must be left floating. Why support multiple packages? In a word, flexibility. The multi-package layout provides ... MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 105
Density migration between smaller- and larger-density SPI Flash PROMs. Not all SPI Flash densities are available in all packages. The SPI Flash migration strategy follows nicely with the pinout migration provided by Xilinx FPGAs. Consistent configuration PROM layout when migrating between FPGA densities.
Table 13-1: FPGA-to-DDR SDRAM Connections DDR SDRAM FPGA Pin Category Signal Name Number Function SD_A12 Address inputs SD_A11 SD_A10 SD_A9 SD_A8 SD_A7 SD_A6 SD_A5 SD_A4 SD_A3 SD_A2 SD_A1 SD_A0 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 109
SD_LDM SD_UDQS Data Strobe. Upper and Lower data strobes SD_LDQS SD_CK_FB SDRAM clock feedback into top DCM within FPGA. Used by some DDR SDRAM controller cores MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Transmit Clock. 25 MHz in 100Base-TX mode, and 2.5 MHz in 10Base-T mode. E_RXD<4> Receive Data from PHY. E_RXD<3> E_RXD<2> E_RXD<1> E_RXD<0> E_RX_DV Receive Data Valid. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Refer to the OPB Ethernet MAC data sheet (v1.02) for details. The OPB bus clock frequency must be 65 MHz or higher for 100 Mbps Ethernet operations and 6.5 MHz or faster for 10 Mbps Ethernet operations. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Chapter 14: 10/100 Ethernet Physical Layer Interface The hardware evaluation versions of the Ethernet MAC cores operate for approximately eight hours in silicon before timing out. To order the full version of the core, visit the Xilinx website at: http://www.xilinx.com/ipcenter/processor_central/processor_ip/10-100emac/ 10-100emac_order_register.htm...
FX2_IP<38:35> and FX2_IP<40> are Input-only pins on the FPGA. These pins are highlighted in light green in Table 15-1 and cannot drive the FX2 connector but can receive signals. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Table 15-1 also highlights the shared connections to the eight discrete LEDs, the three 6-pin Accessory Headers (J1, J2, and J4), and the connectorless debugging header (J6). MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
LVDS or RSDS I/O standards, as listed in Table 15-2. All I/O pairs support differential input termination (DIFF_TERM) as described in the MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 122
Table 15-2 indicates which resistor is associated with a specific differential pair. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 123
If using differential outputs on the FX2 connector, set jumper JP9 to 2.5V. If the jumper is not set correctly, the outputs switch correctly but the signal levels are out of specification. FPGA LxxN_0 Signal LxxP_0 UG257_15_06_060806 Figure 15-6: Differential Outputs MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
J2<4:1>. The board supplies 3.3V to the accessory board mounted in the J4 socket on the bottom pin. Spartan-3E FPGA J2<0> (P12) J2<1> (N12) J2<2> (V6) J2<3> (V5) 3.3V UG257_15_09_082907 Figure 15-9: FPGA Connections to the J2 Accessory Header MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Agilent, provides an interface to a logic analyzer. This debugging port is intended primarily for the Xilinx ChipScope Pro software with the Agilent’s FPGA Dynamic Probe. It can, however, be used with either the Agilent or Tektronix probes, without the ChipScope software, using FPGA Editor’s probe command.
Hirose connectors http://www.hirose-connectors.com/ FX2 Series Connector Data Sheet http://www.hirose.co.jp/cataloge_hp/e57220088.pdf Digilent, Inc. Peripheral Modules http://www.digilentinc.com/Products/Catalog.cfm?Nav1=Products&Nav2=Peripheral&Cat=Peripheral Xilinx ChipScope Pro Tool http://www.xilinx.com/ise/optional_prod/cspro.htm Agilent B4655A FPGA Dynamic Probe for Logic Analyzer http://www.home.agilent.com/USeng/nav/-536898189.536883660/pd.html?cmpid=92641 Agilent 5404A/6A Pro Series Soft Touch Connector http://www.home.agilent.com/cgi-bin/pub/agilent/Product/cp_Product.jsp?NAV_ID=-536898227.0.00 Tektronix P69xx Probe Module s with D-Max Technology http://www.tek.com/products/accessories/logic_analyzers/p6800_p6900.html...
The CPLD is user programmable and available for customer applications. Portions of the CPLD are reserved to coordinate behavior between the various FPGA configuration memories, namely the Xilinx Platform Flash PROM and the Intel StrataFlash PROM. Consequently, the CPLD must provide the following functions in addition to the user application.
Figure 16-1: XC2C64A CoolRunner-II CPLD Controls Master Serial and BPI Configuration Modes UCF Location Constraints – There are two sets of constraints listed below one for the Spartan-3E FPGA and one for the XC2C64A CoolRunner-II CPLD. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
1-Wire interface, which uses a single wire for power and serial communication. The DS2432 EEPROM offers one of many possible means to copy and protect the FPGA configuration bitstream, thereby making cloning difficult. Xilinx application note XAPP780, listed under “Related Resources”...
Page 134
Chapter 17: DS2432 1-Wire SHA-1 EEPROM MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 135
“Intel StrataFlash Parallel NOR Flash Memory and Micron DDR SDRAM ” “Buttons, Switches, Rotary Encoder, and Character LCD ” “DDR SDRAM Series Termination and FX2 Connector Differential Termination” MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Header J7 provides the two analog inputs to the programmable pre-amplifier (AMP) and two-channel Analog-to-Digital Converter (ADC). The diagram in the lower left corner shows the JTAG chain. Chapter 15, “Expansion Connectors,” for additional information. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 137
FX2 Expansion Header, 6-pin Headers, and Connectorless Probe Header UG257_A01_060606 Figure 18-1: Schematic Sheet 1 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
The SMA connector allows an external clock source to drive one of the FPGA’s global clock inputs. Alternatively, the FPGA can provide a high-performance clock to another board via the SMA connector. See Chapter 3, “Clock Sources,” for additional information. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 139
RS-232 Ports, VGA Port, and PS/2 Port UG257_A02_060606 Figure 18-2: Schematic Sheet 2 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Ethernet MAC implemented within the FPGA. J19 is the RJ-11 Ethernet connector associated with the 10/100 Ethernet PHY. Chapter 14, “10/100 Ethernet Physical Layer Interface,” for additional information. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 141
Ethernet PHY, Magnetics, and RJ-11 Connector UG257_A03_060606 Figure 18-3: Schematic Sheet 4 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Resistors R65 and R67 create a voltage divider to create the termination voltage required for the DDR SDRAM interface. IC9 is a 1.8V supply to the Embedded USB download/debug circuit and to the CPLD’s VCCINT supply input. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 143
Voltage Regulators UG257_A04_060606 Figure 18-4: Schematic Sheet 5 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
IC14 and IC15 are alternate landing pads for the STMicro SPI serial Flash. IC14 accepts the 16-pin SOIC package option, while IC15 accepts either the 8-pin SOIC or MLP package option. See Figure 12-19, page 103 for additional informaton. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 145
FPGA Configurations Settings, Platform Flash PROM, SPI Serial Flash, JTAG Connections UG257_A05_060606 Figure 18-5: Schematic Sheet 6 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
IC17 is the 50 MHz clock oscillator. Chapter 3, “Clock Sources,” for additional information. IC16 is an 8-pin DIP socket to insert an alternate clock oscillator with a different frequency. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 147
FPGA I/O Banks 0 and 1, Oscillators UG257_A06_060606 Figure 18-6: Schematic Sheet 7 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
IC10B3 represents the connections to I/O Bank 3 on the FPGA. Bank 3 is dedicated to the DDR SDRAM interface and is consequently powered by 2.5V. See Chapter 13, “DDR SDRAM,” for additional information. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 149
FPGA I/O Banks 2 and 3 UG257_A07_060606 Figure 18-7: Schematic Sheet 8 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 150
Jumper JP9 defines the voltage applied to VCCO on I/O Bank 0. The default setting is 3.3V. “Voltage Control,” page 20 “Voltage Supplies to the Connector,” page 116 additional details. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 151
Power Supply Decoupling UG257_A08_060606 Figure 18-8: Schematic Sheet 9 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Appendix A: Schematics XC2C64A CoolRunner-II CPLD IC18 is a Xilinx XC2C64A CoolRunner-II CPLD. The CPLD primarily provides additional flexibility when configuring the FPGA from parallel NOR Flash and during MultiBoot configurations. When the CPLD is loaded with the appropriate design, JP10 enables a watchdog timer in the CPLD used during fail-safe MultiBoot configurations.
Page 153
XC2C64A CoolRunner-II CPLD UG257_A09_060606 Figure 18-9: Schematic Sheet 10 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Chapter 10, “Analog Capture Circuit,” for additional information. IC21 is a Linear Technology LTC2624 four-channel DAC. See Chapter 9, “Digital to Analog Converter (DAC),” for additional information. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 155
Linear Technology ADC and DAC UG257_A10_060606 Figure 18-10: Schematic Sheet 11 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
“Intel StrataFlash Parallel NOR Flash PROM,” for additional information. IC23 is a 512 Mbit (64 Mbyte) Micron DDR SDRAM. See Chapter 13, “DDR SDRAM,” additional information. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 157
Intel StrataFlash Parallel NOR Flash Memory and Micron DDR SDRAM UG257_A11_060606 Figure 18-11: Schematic Sheet 12 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
LD0 through LD7 are discrete LEDs. Chapter 2, “Switches, Buttons, and Knob,” for additional information. DISP1 is a 2x16 character LCD screen. See Chapter 5, “Character LCD Screen,” additional information. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 159
Buttons, Switches, Rotary Encoder, and Character LCD UG257_A12_060606 Figure 18-12: Schematic Sheet 13 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Resistors R202 through R210 are not loaded on the board. These landing pads provide optional connections for 100 differential termination resistors. See “Using Differential Inputs,” page 120 for additional information. MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 161
DDR SDRAM Series Termination and FX2 Connector Differential Termination UG257_A13_060606 Figure 18-13: Schematic Sheet 14 MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 162
Appendix A: Schematics MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 163
NET "SW<2>" LOC = "H18" | IOSTANDARD = LVTTL | PULLUP ; NET "SW<3>" LOC = "N17" | IOSTANDARD = LVTTL | PULLUP ; # ==== Discrete LEDs (LED) ==== MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 164
NET "E_RXD<1>" LOC = "T11" | IOSTANDARD = LVCMOS33 ; NET "E_RXD<2>" LOC = "U11" | IOSTANDARD = LVCMOS33 ; NET "E_RXD<3>" LOC = "V14" | IOSTANDARD = LVCMOS33 ; MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Page 165
NET "SD_CK_FB" LOC = "B9" | IOSTANDARD = LVCMOS33 ; # Prohibit VREF pins CONFIG PROHIBIT = D2; CONFIG PROHIBIT = G4; CONFIG PROHIBIT = J6; CONFIG PROHIBIT = L5; MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide UG257 (v1.1) December 5, 2007 www.xilinx.com...
Page 166
NET "VGA_HSYNC" LOC = "F15" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ; NET "VGA_RED" LOC = "H14" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ; MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide www.xilinx.com UG257 (v1.1) December 5, 2007...
Need help?
Do you have a question about the MIcroBlaze Development Spartan-3E 1600E Kit and is the answer not in the manual?
Questions and answers