Getting Started with
the Kintex-7 FPGA
KC705 Embedded Kit
UG913 (v1.0.1) May 31, 2012
XPN 0402910-01
Notice of Disclaimer
The information disclosed to you hereunder (the “Materials”) is provided solely for the selection and use of Xilinx products. To the maximum
extent permitted by applicable law: (1) Materials are made available "AS IS" and with all faults, Xilinx hereby DISCLAIMS ALL
WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and (2) Xilinx shall not be liable (whether
in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising
under, or in connection with, the Materials (including your use of the Materials), including for any direct, indirect, special, incidental, or
consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action
brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same.
Xilinx assumes no obligation to correct any errors contained in the Materials or to notify you of updates to the Materials or to product
specifications. You may not reproduce, modify, distribute, or publicly display the Materials without prior written consent. Certain products are
subject to the terms and conditions of the Limited Warranties which can be viewed at http://www.xilinx.com/warranty.htm
subject to warranty and support terms contained in a license issued to you by Xilinx. Xilinx products are not designed or intended to be
fail-safe or for use in any application requiring fail-safe performance; you assume sole risk and liability for use of Xilinx products in Critical
Applications: http://www.xilinx.com/warranty.htm#critapps
Automotive Applications Disclaimer
XILINX PRODUCTS ARE NOT DESIGNED OR INTENDED TO BE FAIL-SAFE, OR FOR USE IN ANY APPLICATION REQUIRING
FAIL-SAFE PERFORMANCE, SUCH AS APPLICATIONS RELATED TO: (I) THE DEPLOYMENT OF AIRBAGS, (II) CONTROL OF A
VEHICLE, UNLESS THERE IS A FAIL-SAFE OR REDUNDANCY FEATURE (WHICH DOES NOT INCLUDE USE OF SOFTWARE IN THE
XILINX DEVICE TO IMPLEMENT THE REDUNDANCY) AND A WARNING SIGNAL UPON FAILURE TO THE OPERATOR, OR (III) USES
THAT COULD LEAD TO DEATH OR PERSONAL INJURY. CUSTOMER ASSUMES THE SOLE RISK AND LIABILITY OF ANY USE OF
XILINX PRODUCTS IN SUCH APPLICATIONS.
Getting Started with the
Kintex-7 FPGA KC705 Embedded Kit
Introduction
The Kintex®-7 FPGA embedded kit conveniently delivers the key components of the
Xilinx® Embedded Targeted Design Platform (TDP) required for developing embedded
software and hardware in a wide range of applications in the broadcast, industrial,
medical, and aerospace and defense markets. For software developers, a familiar
Eclipse-based integrated development environment (IDE), GNU tools, operating systems,
libraries, and a pre-verified reference design enables them to start programming right
away. Similarly, hardware designers now have immediate access to a pre-integrated
MicroBlaze™ processor subsystem that includes the most commonly used peripheral IP
cores, enabling the designers to begin at once developing their custom logic.
This getting started guide identifies the steps required to set up the KC705 board and run
the out-of-box video demonstration, which illustrates the flexibility and capability of a
MicroBlaze processor subsystem for embedded design. If the Xilinx ISE® software has not
already been installed, the user is directed through the steps to install the software, get
updates, and generate a license.
KC705 Embedded Kit Contents
What’s Inside the Box
•KC705 evaluation board featuring the XC7K325T-2FFG900C FPGA
•USB cables, Ethernet cable, and universal power supply
•SD card
•ISE Design Suite: Embedded Edition (device-locked for the XC7K325T-2FFG900C
FPGA) which includes:
•ISE Foundation with ISE Simulator
•PlanAhead™ design tools
•Embedded Development Kit (EDK)
•Xilinx Platform Studio (XPS)
•Software Development Kit (SDK)
•ChipScope™ Pro logic analyzer
•Documentation:
•UG913, Getting Started with the Kintex-7 FPGA KC705 Embedded Kit
KC705 Getting Started Guidewww.xilinx.com5
UG913 (v1.0.1) May 31, 2012
Chapter 1: Getting Started with the Kintex-7 FPGA KC705 Embedded Kit
•Reference designs and demonstrations:
•BIST - MicroBlaze processor subsystem
•Web server-based multi video streams demonstration system
•Reference designs, demonstrations, documentation, and applications delivered on
USB flash drive to get started quickly
This Kintex-7 FPGA embedded kit comes with a video demonstration available on the
provided USB flash drive. This demonstration can be run before installing any additional
tools to get an overview of the features of the KC705 evaluation board using a MicroBlaze
processor subsystem in the Kintex-7 (XC7K325T-FF900-2) FPGA.
Processor System Used for the Video Demonstration
The provided video demonstration uses a pre-built Kintex-7 FPGA design (Figure 1-1)
with these features:
•MicroBlaze processor
•External DDR3 SDRAM interface
•External flash memory interface
•On-chip memory (block RAM)
•Integrated Tri-Mode Ethernet MAC
•UART (connected from the KC705 board via the USB-UART connector)
•Interrupt controller (Intc) and timer
•GPIO (LCD, LEDs, buttons, switches, and rotary)
•Software-configurable XADC block
6www.xilinx.comKC705 Getting Started Guide
UG913 (v1.0.1) May 31, 2012
X-Ref Target - Figure 1-1
UG913_c1_01_050112
FMC DVI IN
(1920x1080)
(1080p)
AXI_TPG_DVI_0
VIDEO_MUX_0
DVI2AXIAXI_SCALARAXI_SCALAR
DVI_0 VDMA
S2MM
S2MM
3.8 Gb/s3.8 Gb/s1 Gb/s1 Gb/s
TIME BASE
GENERATOR
DVI2AXI
AXI TPG_2DVI_SCALAR
DVI_SCALAR
AXI TPG_0
AXI_TPG_DVI_1
VIDEO_MUX_1
FMC DVI IN
(1920x1080)
(1080p)
SCALER_0 VDMA
TPG_0
VDMA_
S2MM
MM2SS2MM
SLAVESLAVE SLAVE
SLAVE
MASTER32 bit@150 MHzAXI MM
INTERCONNECT
AXI2AXI CONNECTOR
AXI MM INTERCONNECT
SLAVESLAVE
AXI2AXI CONNECTOR
DDR CONTROLLER
64 bit@800 MHz
DDR SDRAM
AXI2AXI CONNECTOR
LOGIC CVC
24_2_16bit
CONVERTER
PERF_MONITOR_0
ADV7511
HDMI
HDMI_OUT
1920x1080
IIC_EEPROM_HDMI
DEBUG_MODULE
DUAL_TIMER_CNTR
DIP_SWITCHES
GPIO_RST
LOGISDHC_0
AXI_XADC_0
512 bit@200 MHz
RS232_UART_1
PUSH_BUTTONS
LEDS
LCD_GPIO
Ethernet
IIC
ROTARY_GPIO
LINEAR_FLASH
INTERRUPT_CNTLR
SLAVESLAVESLAVESLAVE
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MA
STER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
MASTER
SLAVE
MASTER
MASTER
MASTER
MASTER
MASTER
32 bit@150 MHz32 bit@150 MHzAXI MM
INTERCONNECT
AXI MM
INTERCONNECT
SLAVESLAVESLAVE
SLAVE SLAVE
SLAVE
DVI_1 VDMA
S2MM
S2MM
1 Gb/s3.8 Gb/s
3.8 Gb/s
1 Gb/s
TPG_2
VDMA_
S2MM
3.8 Gb/s
23 Gb/s
SCALER_2 VDMA
MM2SS2MM
MICROBLAZE
ICIC
SOFT ETHERNET
MAC
AXI_DMA
ETHERNET
MicroBlaze Processor EDK IP Core
EDK IP Core
Local PCORE
Third-Party IP Core
SLAVE
AXI2AXI CONNECTOR
AXI LITE INTERCONNECT
AXI LITE INTERCONNECT
Introduction
KC705 Getting Started Guidewww.xilinx.com7
UG913 (v1.0.1) May 31, 2012
Figure 1-1: Kintex-7 FPGA Video Demonstration System
Video Demonstration Hardware
The following hardware is provided with the evaluation kit:
•KC705 evaluation board with the Kintex-7 XC7K325T-2FFG900C device
•USB-to-Mini-B cable (for UART)
•AC power adapter (12V DC)
•Digilent USB cable (for JTAG)
The following prerequisites are not provided with the evaluation kit:
•One external monitor capable of displaying 1080p video through high-definition
•One HDMI-HDMI or HDMI-DVI cable
•A host PC with TeraTerm Pro terminal program
•Adobe SVG plug-in for Internet Explorer
multimedia interface (HDMI) or digital visual interface (DVI)
Chapter 1: Getting Started with the Kintex-7 FPGA KC705 Embedded Kit
Video Demonstration Hardware Setup Instructions
1.This demonstration requires default switch and jumper settings on the KC705 board.
For more information on the default switch settings, refer to the “Hardware Test Board
Setup Requirements” section of UG883Started Guide.
2.Connect the KC705 board, HDMI cables, display monitor, Ethernet cable, and USB
cables as shown in Figure 1-2.
X-Ref Target - Figure 1-2
, Kintex-7 FPGA KC705 Evaluation Kit Getting
POWER
SUPPLY
Ethernet
UART
JTAG
HDMI_OUT
1080P
Figure 1-2: Kintex-7 FPGA Video Demonstration Hardware Setup
3.Set the IP address of the host PC to 192.168.1.100. Return the IP address of the PC back
to its original setting after running the demonstration.
Note:
and does not connect to the regular LAN network using DHCP. Do not connect more than one board
to the same network segment.
The demonstration uses a hard-coded MAC address and a fixed IP address of 192.168.1.10
Running the Video Demonstration
To run the video demonstration, copy and unzip the demonstration package files either
from the USB flash drive or from the Web to the host machine and follow these steps:
KC705 Evaluation
Board
UG913_c1_02_051612
1.If the KC705 board is not already powered on, plug in the power adapter to local AC
power. Plug the 12V power cable into the board connector on J49. Turn on the power
by switching the SW15 to the ON position.
2.Open and configure a serial communications terminal utility program with these
settings:
•Baud Rate: 9600
•Data: 8 bit
8www.xilinx.comKC705 Getting Started Guide
UG913 (v1.0.1) May 31, 2012
Introduction
•Parity: None
•Stop: 1 bit
•Flow Control: None
Note:
Refer to Appendix B, Communicating with the KC705 USB-UART for setting up the
UART communication.
3.Open a command shell with the ISE tools and EDK environment settings. Refer to
Appendix C, Installation and Licensing of ISE Design Suite for ISE tool chain
installation and licensing help.
Note:
To set environment variables, run the settings32.bat file located in the Xilinx
installation area. At the command prompt, type
C:\Xilinx\13.4\ISE_DS\settings32.bat (for Windows XP) or
C:\Xilinx\13.4\ISE_DS\settings64.bat (for Windows 7) and press
Enter.
4.Go to the unzipped directory of the demonstration package and execute these
commands to download the design and connect to the MicroBlaze processor:
$ cd KC705_Embedded_Kit/Video_Demo/ready_for_download
$ xmd
XMD% fpga -f ise_top.bit
This command downloads the hardware bitstream into the FPGA but does not
download the software application:
XMD% connect mb mdm
This command connects to the MicroBlaze processor debug module:
XMD% dow Video_Demo.elf
XMD% con
5.The UART output should be as shown in Figure 1-3.
KC705 Getting Started Guidewww.xilinx.com9
UG913 (v1.0.1) May 31, 2012
Chapter 1: Getting Started with the Kintex-7 FPGA KC705 Embedded Kit
X-Ref Target - Figure 1-3
UG913_c1_03_050312
Figure 1-3: Video Demonstration UART Output
6.Open a Web browser on the host computer and set the URL to 192.168.1.10. The Web
page shown in Figure 1-4 should be displayed. The page uses JavaScript, so the
browser must have JavaScript enabled.
Note:
If using Internet Explorer, the Adobe SVG viewer plug-in or a similar plug-in that enables
viewing of SVG files must be installed to view the graph. This demonstration is tested with
Internet Explorer 8 on a Windows XP machine.
10www.xilinx.comKC705 Getting Started Guide
UG913 (v1.0.1) May 31, 2012
X-Ref Target - Figure 1-4
UG913_c1_04_050212
Introduction
Figure 1-4: Initial Video Demonstration Web Page
7.In the video demonstration Web page, make the following selections as shown in
Figure 1-5:
•Live Video: No
•Video Selection: Scaled streams>All streams
8.After the video selection is made, click the Start Video button on the Web page.
Performance and temperature graphs are plotted in the Web page with performance
numbers shown in the text boxes (Figure 1-5).
KC705 Getting Started Guidewww.xilinx.com11
UG913 (v1.0.1) May 31, 2012
Chapter 1: Getting Started with the Kintex-7 FPGA KC705 Embedded Kit
X-Ref Target - Figure 1-5
Figure 1-5: Video Demonstration Web Page with Data Plotted
Figure 1-6 shows the output display for the selections made in step 7.
UG913_c1_05_050212
12www.xilinx.comKC705 Getting Started Guide
UG913 (v1.0.1) May 31, 2012
X-Ref Target - Figure 1-6
UG913_c1_06_051612
Introduction
Figure 1-6: Output Video Display
The Web browser receives one packet of results at a time. This packet contain five
results:
•Read throughput (Gb/s)
•Write throughput (Gb/s)
•On-chip temperature (°C)
•On-chip V
•On-chip V
CCINT
CCAUX
voltage (V)
voltage (V)
JavaScript is used to convert these results into coordinates and update the graphs. The
graphs update every time a new data packet is received. The graph holds a maximum
of 12 data points at a time. After the maximum has been reached, the oldest data point
is dropped and the newest data point is added.
9.In the video demonstration Web page, click Stop Video to stop the video streams and
stop requesting results data packets. After this button is clicked, any pending requests
complete and then no additional data is requested. All the video streams are also
stopped and the monitor displays only the background screen.
KC705 Getting Started Guidewww.xilinx.com13
UG913 (v1.0.1) May 31, 2012
Chapter 1: Getting Started with the Kintex-7 FPGA KC705 Embedded Kit
10. Repeat step 7, step 8, and step 9 to explore different VIDEO DEMO TESTS options by
changing the selections mentioned in step 7.
Running BIST tests
11. A Web server-based BIST demonstration can also be run on the same hardware to test
different peripherals. Enter these commands at the XMD prompt to run the BIST
demonstration:
XMD% stop
XMD% dow Bist.elf
XMD% con
12. Reload the Web page with the same URL (192.168.1.10). The Web page should appear
as shown in Figure 1-7.
X-Ref Target - Figure 1-7
UG913_c1_07_051612
Figure 1-7: BIST Demonstration Web Page with DDR3 test results
13. The left side of the Web page has different options for selecting the type of test to run
on the hardware. For running the test, select any option from the list and press the Go Target button. The right side of the Web page has a messaging section that prints the
results of the tests.
The Video and BIST demonstrations using the KC705 board are complete. Because a fully
configured MicroBlaze processor subsystem has been provided, the user can start
developing embedded applications. Because an FPGA is being used, the processor
subsystem can also be fully customized. To do this, the ISE Design Suite and the
USB-UART driver must be installed on the computer (see Appendix C, Installation and
Licensing of ISE Design Suite).
14www.xilinx.comKC705 Getting Started Guide
UG913 (v1.0.1) May 31, 2012
Next Steps
Next Steps
After running through an FPGA-based embedded processor demonstration and installing
the ISE Design Suite: Embedded Edition, the user is ready to create custom embedded
systems for the Kintex-7 XC7K325T FPGA.
Figure 1-8 is a snapshot of the directory structure in the KC705_Embedded_Kit folder on
the USB flash drive included in the embedded kit or from the Kintex-7 FPGA KC705
Evaluation Kit page: http://www.xilinx.com/products/boards-and-kits/
EK-K7-KC705-G.htm. Xilinx recommends copying the contents of the USB drive to a
working area on the user’s host computer.
Note:
X-Ref Target - Figure 1-8
There should be no spaces in the path name of the working area on the host computer.
This appendix explains the procedure for setting up UART communication between the
KC705 board and the host machine.
Installing the USB-UART driver
1.Execute the installer for the Silicon Labs USB-UART virtual COM port (VCP) driver
from the Drivers_and_Tools folder on the USB drive shipped with the KC705
embedded kit: Drivers_and_Tools\CP210x_VCP_Win2K_XP_S2K3.exe.
2.Follow the installer instructions. Restart the computer when instructed to do so.
Connecting to the KC705 UART
3.Connect a USB Type-A to Mini-B 5-pin cable between the KC705 USB-UART connector
(J21) and the host computer.
4.Power on the KC705 evaluation board if it is not already powered on.
Appendix B
Configuring the Host Computer
5.Right-click on My Computer and select Properties. Select the Hardware tab. Click on
Device Manager.
6.Expand the Ports (COM & LPT) entry as shown in Figure B-1. This shows the COM
port assigned to the Silicon Labs CP210x USB to UART Bridge. This is the COM
port to use in the serial communications program.
Note:
The COM port setting for the user system might be different from the one shown in
Figure B-1.
X-Ref Target - Figure B-1
Figure B-1: Silicon Labs USB to UART Bridge Properties
If the Silicon Labs CP210x USB to UART bridge does not appear in the Ports list, a
reboot of the computer might be required. After rebooting, repeat step 5 and step 6.
KC705 Getting Started Guidewww.xilinx.com19
UG913 (v1.0.1) May 31, 2012
Appendix B: Communicating with the KC705 USB-UART
7.If using TeraTerm as the serial communications utility program, right-click on the
Silicon Labs CP210x USB to UARTbridge and select Properties.
a.Click on the Port Settings tab and then click Advanced.
b. Set the COM port to an open COM port setting from COM1 to COM4. The COM
port setting for the user system might be different from the one shown in
Figure B-2.
X-Ref Target - Figure B-2
UG913_aB_02_050212
Figure B-2: Setting the COM Port for the Silicon Labs USB to UART Bridge Driver
8.Click OK to exit all open windows.
The Silicon Labs USB-UART VCP driver is now installed.
20www.xilinx.comKC705 Getting Started Guide
UG913 (v1.0.1) May 31, 2012
Installation and Licensing of
ISE Design Suite
This KC705 embedded kit comes with entitlement to a full set of the ISE Design Suite:
Embedded Edition that is device locked to the Kintex-7 XC7K325T device. This software
can be installed from the DVD, or the Web installer can be downloaded from
http://www.xilinx.com/support/download/index.htm
.
Appendix C
For detailed information on licensing and installation, refer to UG798Suite: Installation and Licensing Guide.
Getting Help and Support
For questions regarding products within your product entitlement account, send an e-mail
message to your regional customer service representative:
•Canada, USA, and South America: isscs_cases@xilinx.com
•Europe, Middle East, and Africa: eucases@xilinx.com
•Asia Pacific including Japan: apaccase@xilinx.com
For technical support including the installation and use of your product license file, you
may contact Xilinx Online Technical Support at www.support.xilinx.com
will also find the following resources for assistance:
•Software, IP, and documentation updates
•Access to technical support web tools
•Searchable answer database with over 4,000 solutions
•User forums
•Training in the form of select instructor-led classes and recorded e-learning options
, Xilinx ISE Design
. On this site you
KC705 Getting Started Guidewww.xilinx.com21
UG913 (v1.0.1) May 31, 2012
Appendix C: Installation and Licensing of ISE Design Suite
22www.xilinx.comKC705 Getting Started Guide
UG913 (v1.0.1) May 31, 2012
Warranty
THIS LIMITED WARRANTY applies solely to standard hardware development boards
and standard hardware programming cables manufactured by or on behalf of Xilinx
(“Development Systems”). Subject to the limitations herein, Xilinx warrants that
Development Systems, when delivered by Xilinx or its authorized distributor, for ninety
(90) days following the delivery date, will be free from defects in material and
workmanship and will substantially conform to Xilinx publicly available specifications for
such products in effect at the time of delivery. This limited warranty excludes: (i)
engineering samples or beta versions of Development Systems (which are provided
“AS-IS” without warranty); (ii) design defects or errors known as “errata”; (iii)
Development Systems procured through unauthorized third parties; and (iv)
Development Systems that have been subject to misuse, mishandling, accident, alteration,
neglect, unauthorized repair or installation. Furthermore, this limited warranty shall not
apply to the use of covered products in an application or environment that is not within
Xilinx specifications or in the event of any act, error, neglect or default of Customer. For
any breach by Xilinx of this limited warranty, the exclusive remedy of Customer and the
sole liability of Xilinx shall be, at the option of Xilinx, to replace or repair the affected
products, or to refund to Customer the price of the affected products. The availability of
replacement products is subject to product discontinuation policies at Xilinx. Customer
may not return product without first obtaining a customer return material authorization
(RMA) number from Xilinx.
Appendix D
THE WARRANTIES SET FORTH HEREIN ARE EXCLUSIVE. XILINX DISCLAIMS ALL
OTHER WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING,
WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, OR NON-INFRINGEMENT, AND ANY WARRANTY THAT
MAY ARISE FROM COURSE OF DEALING, COURSE OF PERFORMANCE, OR USAGE
OF TRADE.
Do not throw Xilinx products marked with the “crossed out wheelie bin” in the trash.
Directive 2002/96/EC on waste electrical and electronic equipment (WEEE) requires the
separate collection of WEEE. Your cooperation is essential in ensuring the proper
management of WEEE and the protection of the environment and human health from
potential effects arising from the presence of hazardous substances in WEEE. Return the
marked products to Xilinx for proper disposal. Further information and instructions for
free-of-charge return available at: http://www.xilinx.com/ehs/weee.htm
(2008.10)
.
KC705 Getting Started Guidewww.xilinx.com23
UG913 (v1.0.1) May 31, 2012
Appendix D: Warranty
24www.xilinx.comKC705 Getting Started Guide
UG913 (v1.0.1) May 31, 2012
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.