21
Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Embed Size (px)

Citation preview

Page 1: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Xilinx Training

Xilinx Analog Mixed Signal EDK Design Flow

Note: Agile Mixed Signal is Now Analog Mixed Signal

Page 2: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Welcome

This module introduces the EDK flow for Xilinx Agile Mixed Signal solutions

This module will list some key features of the XADC core that are enabled by Xilinx Agile Mixed Signal solutions

Page 3: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

To Learn More About Xilinx Agile Mixed Signal

Related Videos– What is the Xilinx Agile Mixed Signal Solution?

• For beginners and enthusiasts

– Xilinx AMS HDL Design Flow• For digital designers who want to become familiar with HDL flow

– Xilinx AMS XADC Evaluation• For designers who want to know how the XADC interface can be evaluated for

their mixed signal application

Page 4: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

1. Evaluate 2. Implement 3. Simulate

Implementing XADC in your Design

1. Evaluate

• XADC evaluation card is bundled with all 7 series TDPs • Choose XADC

settings and begin measuring

2. Implement

• Set attributes based on evaluation and connect I/O

• MicroBlaze processor initializes XADC settings at run time

3. Simulate

• Simulate HW (XADC & FPGA logic) using analog stimulus file

• Use HW in the loop with ISim to verify prototype

Edit Settings

Page 5: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Evaluating the XADC

KC705

USB

123.456

Optional External Instrument(e.g. signal generator)

Resources (DACs) for basic testing andconnectors for external instruments

#1

Ribbon cable connectionto “analog header” on KC705

National Instruments LabView GUI• XADC settings

• ADC data collection and analysis

XADC Evaluation Card

Page 6: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

XADC-AXI IP Overview

Customizable

Fully tested, documented, and supported by Xilinx

Unlicensed and provided for free with Xilinx software

AXI4-Lite Interface

XADC Core Logic

XADC Hard Macro

Page 7: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

XADC-AXI IP for ZynQ-7000 EPP and the MicroBlaze Processor

Page 8: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Embedded Design Kit Suite

Xilinx Platform Studio (XPS)– Design environment for processor

subsystem– Microprocessor Hardware Specification

(MHS) file– ChipScope™ Pro logic analyzer

integration

Software Development Kit (SDK)– Project workspace – Board Support Package (BSP)– Software application– Software debugging

Page 9: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Adding the XADC-AXI IP

Customize the XADC core

here

Page 10: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Adding the XADC-AXI IP (continued)

Page 11: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

XADC-AXI IP Product Guide

Page 12: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

XPS Design Flow

Perform Design Rule Check

(DRC)

Generatehardware

Export hardware platform

information to SDK

XADC block diagram and its connections

as seen in EDK

Page 13: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

SDK Integration

Drivers included with

BSP

system.xml contains the hardware configuration

Page 14: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Application Development Driver Documentation

Driver API documentation

Page 15: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Simulation in XPS

The Simulation Model Generator (SimGen) tool generates and

configures various simulation models for the specified hardware

Launches SimGen(integrated in

XPS)

Enables coverfication of hardware and software when

run in ISIM

Launches ISim (integrated in

XPS)

Scripts for third-party simulators

Enables co-verfication of hardware and software when

run in ISim

Page 16: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Simulation and Verification

Text file contains analog information (sensors, external voltages, etc.) thatcan be introduced into the simulation

Simulate XADC (Analog) and Digital

Page 17: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Associating Analog Stimulus

Associating analog stimulus file to the XADC model

C_SIM_MONITOR _FILE parameter in the system.mhs file

Page 18: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Performing ELF Simulation Example

XADC-AXIModel

ELF Simulation

Stimulus File Example

Analog information readin directly by model

Page 19: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Summary

1. Evaluate the XADC for performance and settings– XADC Evaluation Card is bundled with all 7 series TDPs (e.g., KC705)– Pick required XADC settings (attributes) and evaluate performance

2. Implement the design using the XADC AXI core – Add the XADC AXI core to your embedded platform using Xilinx Platform Studio– Synthesize and implement the design using XPS and import the hardware

settings to SDK– Using SDK, generate board support packages and develop applications that

leverage the XADC block

3. Simulate the XADC in an HDL simulator– XPS enables co-verification of hardware and software for embedded designs– SimGen generates Verilog or VHDL models for XADC– Support for analog test vectors using an analog stimulus file

Page 20: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Where Can I Learn More?

Learn more at www.xilinx.com/AMS– Agile Mixed Signal white paper (WP392)– XADC User Guide (UG480)

Visit www.xilinx.com/innovation/7-series-fpgas.htm– Application examples – New 7 series documentation

Xilinx training courses– www.xilinx.com/training

• Xilinx tools and FPGA architecture courses• Hardware description language courses• 7 series design courses• Basic FPGA architecture, basic HDL coding techniques, and other free Videos

Page 20

Page 21: Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal

Trademark Information

Xilinx is disclosing this Document and Intellectual Property (hereinafter “the Design”) to you for use in the development of designs to operate on, or interface with Xilinx FPGAs. Except as stated herein, none of the Design may be copied, reproduced, distributed, republished, downloaded, displayed, posted, or transmitted in any form or by any means including, but not limited to, electronic, mechanical, photocopying, recording, or otherwise, without the prior written consent of Xilinx. Any unauthorized use of the Design may violate copyright laws, trademark laws, the laws of privacy and publicity, and communications regulations and statutes.

Xilinx does not assume any liability arising out of the application or use of the Design; nor does Xilinx convey any license under its patents, copyrights, or any rights of others. You are responsible for obtaining any rights you may require for your use or implementation of the Design. 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.

THE DESIGN IS PROVIDED “AS IS" WITH ALL FAULTS, AND THE ENTIRE RISK AS TO ITS FUNCTION AND IMPLEMENTATION IS WITH YOU. YOU ACKNOWLEDGE AND AGREE THAT YOU HAVE NOT RELIED ON ANY ORAL OR WRITTEN INFORMATION OR ADVICE, WHETHER GIVEN BY XILINX, OR ITS AGENTS OR EMPLOYEES. XILINX MAKES NO OTHER WARRANTIES, WHETHER EXPRESS, IMPLIED, OR STATUTORY, REGARDING THE DESIGN, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NONINFRINGEMENT OF THIRD-PARTY RIGHTS.

IN NO EVENT WILL XILINX BE LIABLE FOR ANY CONSEQUENTIAL, INDIRECT, EXEMPLARY, SPECIAL, OR INCIDENTAL DAMAGES, INCLUDING ANY LOST DATA AND LOST PROFITS, ARISING FROM OR RELATING TO YOUR USE OF THE DESIGN, EVEN IF YOU HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE TOTAL CUMULATIVE LIABILITY OF XILINX IN CONNECTION WITH YOUR USE OF THE DESIGN, WHETHER IN CONTRACT OR TORT OR OTHERWISE, WILL IN NO EVENT EXCEED THE AMOUNT OF FEES PAID BY YOU TO XILINX HEREUNDER FOR USE OF THE DESIGN. YOU ACKNOWLEDGE THAT THE FEES, IF ANY, REFLECT THE ALLOCATION OF RISK SET FORTH IN THIS AGREEMENT AND THAT XILINX WOULD NOT MAKE AVAILABLE THE DESIGN TO YOU WITHOUT THESE LIMITATIONS OF LIABILITY.

The Design is not designed or intended for use in the development of on-line control equipment in hazardous environments requiring fail-safe controls, such as in the operation of nuclear facilities, aircraft navigation or communications systems, air traffic control, life support, or weapons systems (“High-Risk Applications”). Xilinx specifically disclaims any express or implied warranties of fitness for such High-Risk Applications. You represent that use of the Design in such High-Risk Applications is fully at your risk.

© 2012 Xilinx, Inc. All rights reserved. XILINX, the Xilinx logo, and other designated brands included herein are trademarks of Xilinx, Inc. All other trademarks are the property of their respective owners.