Analog Solutions For Xilinx Fpgas: 1st Edition
Analog Solutions For Xilinx Fpgas: 1st Edition
ANALOG
SOLUTIONS
FOR XILINX
FPGAs
Product Guide
www.maximintegrated.com
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
Table of Contents
3 A message from the Vice President, Portfolio and
Solutions Marketing, Xilinx, Inc.
4 Introduction
6 Powering Xilinx FPGAs and CPLDs
Featured Products
Selector Guide and Tables
19 Signal Conversion Solutions for FPGAs
Featured Products
Selector Guide and Tables
28 Design Protection Solutions for FPGAs
Selector Guide and Tables
32 Interfacing High-Speed DACs and ADCs to FPGAs
Selector Guide and Tables
2
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
Hugh Durdan
VP, Portfolio and Solutions Marketing
Xilinx, Inc.
3
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
Introduction
Designing with (LUTs) called field programmable
gate arrays (FPGAs). In addition to
the real world are analog in nature
(temperature, pressure, sound, vision,
Programmable Logic in implementing Boolean logic and registers voltage, current, frequency, and others).
in the configurable logic array, you Most data travel on wires or wireless
an Analog World can also use built-in features such as media as analog signals that need to
Programmable logic devices (PLDs) memory, clock management, I/O drivers, be converted into 0s and 1s for the
revolutionized digital design over 25 high-speed transceivers, Ethernet MACs, FPGA to process (Figure 1). Making
years ago, promising designers a blank DSP building blocks, and embedded the analog world accessible to the digital
chip to design literally many function processors inside the FPGA. world is where Maxim shines. As one of
and to program it in the field. PLDs can the top 3 players in nearly every analog
be low-logic density devices that use Using programmable logic devices, data function, Maxim has built a reputation for
nonvolatile sea-of-gates cells called is input, processed, and manipulated, innovation and quality. With a focus on
complex programmable logic devices then output. However, this processing ease of use, our products simplify your
(CPLDs) or they can be high-density is generally limited to the digital system design allowing you to focus on
devices based on SRAM look-up tables domain while most of the signals in your unique algorithms.
CONFIGURATION
CLOCKS AND TIMING IP PROTECTION MEMORY
ANALOG HUMAN-MACHINE
BUILDING BLOCKS INTERFACE
SYSTEM POWER
I/O INTERFACES
MONITORING MANAGEMENT
Figure 1. A Typical System Application Showing FPGA Working with Analog Functions
4
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
from 3 to 15 or more voltage rails. from copying and cloning. Read about IrDA are just a few common examples.
M
The logic fabric is usually at the the benefits of our proprietary approach Maxim’s portfolio provides solutions to
latest process technology node that in the Design Protection Solutions for these interface problems. Many of these
determines the core supply voltage. FPGAs section. Reference designs with solutions include additional features for
Configuration, housekeeping circuitry, FPGA logic are available. ESD and fault protection. In other cases,
various I/Os, SerDes transceivers, clock high-density interface ports like 24+
managers, and other functions have Multimedia port SATA and SAS transceivers can be
differing requirements for voltage rails, offloaded from the FPGA to a companion
sequencing/tracking, and voltage ripple FPGAs are increasingly used to process
audio along with data. In most instances, chip for optimizing costs.
limits. Learn the best ways to manage
this complex challenge starting in the these systems require audio/video data We provide power-over-Ethernet ICs to
Powering Xilinx FPGAs and CPLDs section. converters, amplifiers, filters, equalizers, power devices such as security cameras,
signal conditioners, on-screen display IP phones, WiFi access points, and
Data Converters blocks, video decoders, and audio codecs. others through Ethernet. We can help
Maxim offers multimedia subsystem ICs, you communicate over power lines using
FPGAs in communications applications allowing the FPGA designer to focus on
typically need high-speed data con- our powerline communication (PLC) ICs.
the advanced audio/video processing
verters, while those in industrial and
medical applications frequently require
stages of the design. Building Blocks
high precision and resolution. Maxim’s Human-Machine Interface Maxim provides building blocks such
data converter portfolio includes a as level translators, MEMS-based
wide variety of devices that serve these Most systems interact with their human real-time clocks, oscillators, amplifiers,
applications, including multi-GSPS operators and the real world. Maxim comparators, multiplexers, signal
high-performance and 16-bit to 24-bit provides a wide variety of state-of- conditioners, filters, potentiometers, ESD/
precision ADCs and DACs. Turn to the the art components to detect touch, fault protection, and other ICs to make
Signal Conversion Solutions for FPGAs temperature, proximity, light, and motion your design robust and reliable.
section for information about high-speed and convert those analog signals to the
data converters. digital domain for processing within your System Monitoring
FPGA. This includes devices suitable
FPGAs are used in rack-mounted
IP Protection for high-volume consumer applications
communications/computing
in addition to those built for the rugged
While field programmability offers industrial environments. infrastructure or sensitive industrial/
flexibility during the design process, it medical and defense applications. For
can also expose your underlying IP to I/O Interfaces these applications, Maxim provides a
significant risks of reverse engineering full spectrum of solutions for enclosure
and theft. Maxim provides 1-Wire M While FPGAs include various I/O management, thermal management,
secure EEPROMs that use a single pin on drivers such as LVTTL, LVCMOS, fan control, and hot-swap controllers,
the FPGA or CPLD to secure the design LVDS, HSTL/SSTL, and multigigabit including fault-detection/logging and
implemented. The secure memory uses serial transceivers, process limitations security/authentication.
a challenge-and-response authentication preclude them from driving the voltage
5
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
Power Requirements Table 1. Xilinx 7 Series FPGAs and Zynq-7000 Extensible Processing
of PLDs Platform Power-Supply Requirements
As PLDs assume the role of a System- Power Rail Nominal Voltage (V) Description
on-Chip (SoC) on your board, powering VCCINT 0.9/1.0 Voltage supply for the internal core logic
these devices is comparable to powering VCCAUX 1.8 Voltage supply for auxiliary logic
an entire system. A typical high-end
VCCAUX_IO 1.8/2 Voltage supply for auxiliary logic in I/Os
Virtex series FPGA easily has 10 to 15
M
VCCO 1.2 to 3.3 Voltage supply for output drivers in I/O banks
unique rails. On the other hand, devices
from a lower density Spartan , Kintex™, M VCCBRAM 1 Voltage supply for block RAMs
Artix™ , and CoolRunner series can
M
VCCADC 1.8 A/D converter voltage supply
have 2 to 10 rails depending on your VBATT 1.5 Security key battery backup voltage supply
application. You need to pick the right MGTAVCC 1.0 Voltage supply for GTP/GTX/GTH transceiver
set of power regulators based on the Voltage supply for GTP/GTX/GTH transceiver
overall power level of each of the rails, MGTAVTT 1.2
termination circuits
their sequencing, and their system Analog supply voltage for the resistor calibration
power management needs. As process MGTAVTTRCAL 1.2
circuit GTX/GTH transceivers column
technology nodes become smaller Auxiliary analog quad PLL (QPLL) supply for the
in FPGAs, there is a need for tighter MGTAVCCAUX 1.8 GTX/GTH transceivers
tolerances on the voltage supply rails. Note: The lowest-speed -1L and -2L versions of the devices have a 0.9V core voltage.
Maxim provides 1% regulation accuracy Supply rails for voltage references for I/Os and MGT are not shown.
across line/load and PVT variations.
6
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
(Figure 2C).
1.8V, 1A
Maxim provides power solutions for PMIC2
3.3V, 0.75A
every stage of these three architectures: 1.5V, 0.5A
7
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
System Considerations most cases, this makes LDOs inefficient for your competitiveness. A good example
power levels exceeding 100mW. Yet, LDOs illustrating this concept is a Kintex-7
System-level design considerations are very easy to design and use. development board using over a dozen
influence the choice of power architec- 20A and 10A power modules, resulting in
ture. Simpler power system designs can SMPS regulators use a pulse-width more than 100A of current supplied.
use single- and multirail regulators that modulation (PWM) controller with
take a 5V/12V input and supply power MOSFETs (internal or external) acting Advanced Features
to all FPGA rails with built-in sequencing as switches and an inductor acting as an
and minimal external components. energy storage device. By controlling the Power regulators provide several
Ease of use is paramount in such duty cycle, an SMPS regulator manages advanced features beyond the
applications. Features that simplify the energy in the inductor thereby input/output voltages and currents.
these power designs include internal regulating the output voltage despite line Depending on your application, a
MOSFETs, internal compensation, and load variations. Efficiencies as high feature can be critical for success or
digital programmability, and even as 90% to 95% are realized, unlike with completely unnecessary. It is important
internal inductors. LDO regulators. to understand the types of features
available in today’s regulators.
Infrastructure equipment uses FPGAs, The Four Ps of Power
DSPs, ASICs, and peripherals on the Startup Sequencing/Tracking
board that are powered by numerous The four Ps of power are: products,
Three or more voltage rails are typically
POL regulators controlled by a master process, packaging, and price.
required to power an FPGA and
controller. PMBus™ protocol or I2C/ Process technology is a key part of need sequencing for power-up and
SPI- based control with a microcontroller power-supply choice. The process used power-down. Sequencing limits the
is often used in these applications. It to develop power regulators determines inrush current during power-up. If the
might be necessary to control both the performance of the MOSFETs sequencing is ignored, the devices that
the power of the FPGAs on the board used, and thereby, the efficiency and require sequencing can be damaged or
and also several other devices along die area. A MOSFET with low RDSON can latchup. This can cause your FPGA
with dynamic power management and (drain-source on-resistance) is more device to malfunction. There are three
monitoring. Also, it is suggested to turn efficient dissipating lower power without types of sequencing: coincident tracking,
on/off some ICs based on trigger events. occupying a larger die area. Similarly, sequential tracking, and ratiometric
Maxim provides advanced system power smaller geometries aid in the integration tracking. An example of sequential
management ICs (i.e., the MAX34440 of digital logic, such as sequencing and tracking is shown in Figure 3.
and MAX34441) to control multiple POL PMBus control, with power regulators.
regulators and fans, enabling dynamic Sequencing and tracking capabilities are
A careful balance of process technology
power regulation (hibernate, standby, integrated into many of Maxim’s multi-
and cost is required to meet FPGA power
etc.) and superior monitoring and fault output power regulators. Stand-alone ICs
requirements. Typically, the top three
logging. that perform sequencing and tracking
suppliers have these process capabilities,
are also available.
Applications that run on batteries take unlike vendors who cut corners to sell
advantage of Xilinx's FPGAs’ power cheap regulators. Monotonic Startup Voltage Ramp
saving modes to keep the FPGA circuits Due to the amount of power required Most Xilinx FPGA and CPLD rails have
in hibernate modes most of the time, from the regulators by the FPGAs, the a monotonic voltage ramp requirement,
except when crunching algorithms. The regulators’ ability to manage the heat meaning that the rails should rise
regulators that power the FPGAs can generated is critical. A superior power continuously to their setpoint and not
also save energy and improve efficiency regulator can regulate properly over droop. Drooping could result if the
by employing techniques such as pulse- temperature and uses industry-leading POL does not have enough output
skipping. Many Maxim regulators use packages such as a QFN with an exposed capacitance (Figure 4).
such technologies to provide light-load pad.
operation mode and control. Soft-Start
Price of the regulator is usually a critical
Most Xilinx FPGAs specify minimum and
Power Regulation Primer factor. The number of regulators used on
maximum startup ramp rates. Power-
a board can easily multiply. Therefore,
DC-DC power regulators come in two the cost of additional features must be supply regulators implement soft-start
major categories: low dropout (LDO) carefully weighed against the benefit by gradually increasing the current limit
regulators and switching-mode power provided. Sometimes power regulators at startup. This slows the rate of rise of
supply (SMPS) regulators. LDOs convert loaded with features are selected for Xilinx the voltage rail and reduces the peak
the VIN to VOUT at the required current and development boards, but such products inrush current to the FPGA. POLs allow
dissipate the power difference as heat. In are not cost-effective and can reduce soft-start times to be programmed.
8
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
REMOTE
VCCIO FEEDBACK FPGA
VCC SENSE
AMP VSENS-
NONMONOTONIC RAMP
t t GND GND
Figure 3. Sequential Tracking Figure 4. Nonmonotonic Startup Voltage Ramp Figure 5. Remote Sensing
9
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
10
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
PICK THE
DEVICE 1 3
CAPTURE
DETAILS
THE VOLTAGE
RAILS AND
REQUIRED
CURRENT AND
MOVE TO
CHECKLIST
(TABLE 2)
TOOL GENERATES A
SCHEMATIC. CHANGE
2
THE VALUES OF R, C,
AND L IF NEEDED.
11
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
EE-Sim also provides rapid simulation Let us consider both the IC cost and the QFN and CSP packages simplify PCB
of your power regulator design. Unlike total solution cost. A good FPGA power design. With GUI-based programming,
SPICE models that take a long time to regulator should integrate into the IC the choosing the power regulator options
converge, making it frustrating to design, necessary features previously discussed. is as easy as choosing the FPGA
EE-Sim relies on advanced SIMPLIS This reduces the overall solution cost programming options in ISE .M
12
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
Featured Products
Highly Integrated Step-Down DC-DC Regulator Benefits
Provides Up to 25A for High Logic Density FPGAs • Enough margin to safely power FPGAs
from popular 5V/12V inputs
MAX8686 ◦◦ Wide 4.5V to 20V input voltage
range
The MAX8686 current-mode, synchronous PWM step-down regulator with
◦◦ Adjustable output from 0.7V to 5.5V
integrated MOSFETs provides the designer with a high-density, flexible solution for a
◦◦ 25A output capability per phase
wide range of input voltage and load current requirements. This device combines the
◦◦ 300kHz to 1MHz switching frequency
benefits of high integration with a thermally efficient TQFN package.
• Enable high voltage regulation accuracy
for FPGAs with low core voltages
◦◦ 1% accurate internal reference
VIN = 12V
IN BST ◦◦ Differential remote sense
PGND LX
VOUT = 1.2V/25A • Designed to simplify powering FPGAs/
CPLDs
RS+
◦◦ Monotonic startup (prebias)
REFIN MAX8686
RS-
◦◦ Adjustable soft-start to reduce inrush
current
PHASE/REFO CS+
◦◦ Output sink and source current
COMP CS- capability
POK
POK OUTPUT ◦◦ Reference input for output tracking
EN/SLOPE • Integrated protection features enable
ENABLE
INPUT
robust design
◦◦ Thermal overload protection
FREQ SS GND ILIM
◦◦ Undervoltage lockout (UVLO)
◦◦ Output overvoltage protection
◦◦ Adjustable current limit supports
a wide range of load conditions
• 6mm x 6mm, TQFN-EP package
reduces board size
13
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
CI1
R1OUT1
RI1
FB1
RT SGND SEL COMP1
R2OUT1
PGND SGND
CF1 RF1
RT CT
CCF1
14
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
MAX8654
DC-DC
MAX15041
DC-DC
15
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
VTT, 0.75V, 1A
DDR3 TERMINATION
VTT, 0.75V, 1A
DDR3 TERMINATION
MAX1510
VIN = 5V REFIN IN VIN = 5V
SOURCE/SINK
LDO
16
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
Auxiliary, I/O, and MGT Power Regulators (1.2V, 1.5V, 1.8V, 2.5V, 3.3V)
Input Voltage (V) ≤ 500mA ≤ 1A to 1.8A ≤ 2A to 5A ≤ 5A to 10A ≤ 30A
MAX8516 LDO
MAX8517 LDO
MAX17016 Buck
MAX8518 LDO MAX8556 LDO
MAX15108 Buck MAX1956 Controller
1.8 MAX8902 LDO MAX8526 LDO MAX8557 LDO
MAX1956 Controller MAX8792 Controller
MAX8527 LDO MAX8794 LDO
MAX8792 Controller
MAX8528 LDO
MAX8794 LDO
(Continued on following page)
17
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
Auxiliary, I/O, and MGT Power Regulators (1.2V, 1.5V, 1.8V, 2.5V, 3.3V) (continued)
Input Voltage (V) ≤ 500mA ≤ 1A to 1.8A ≤ 2A to 5A ≤ 5A to 10A ≤ 30A
MAX15118 Buck
MAX15039 Buck
MAX15038 Buck MAX15112 Buck
MAX8654 Buck
MAX15039 Buck MAX17016 Buck
MAX15108 Buck
MAX15050 Buck MAX1956 Controller
MAX15053 Buck MAX17016 Buck
2.7 to 5.5 MAX8902 LDO MAX17083 Buck MAX15026
MAX15038 Buck MAX1956
MAX15026 Controller
Controller
Controller MAX8792 Controller
MAX8792
MAX1956 Controller MAX8598 Controller
Controller
MAX8599 Controller
MAX8655 Buck
MAX15041 Buck MAX15035 Buck
MAX17016 Buck
MAX15036 Buck MAX8654 Buck
MAX15035 Buck
MAX15037 Buck MAX17016 Buck
MAX8902 LDO MAX8792 Controller
4.5 to 14 MAX15041 Buck MAX8654 Buck MAX8792
MAX1776 Buck MAX15026
MAX5089 Buck Controller
Controller
MAX15026 MAX15026
MAX8598 Controller
Controller Controller
MAX8599 Controller
Note: Some applications can require forced air cooling to achieve full output current. Voltage ranges can vary slightly. Refer to the data sheet for the
specific voltage range for each part. Minimum VOUT is 1.25V for the MAX1776.
Specialty Parts
• MAX6037A voltage reference for XADC built-in A/D converter in 7 Series FPGAs
• MAX1510 DDR termination power regulator that can sink current
• MAX34440 multirail PMBus controller used to control many regulators, fans, and log faults
• Maxim also provides the entire range of supporting power functions such as isolated power regulators, sequencers,
supervisors, temperature monitors, and PMBus system monitors
18
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
19
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
Operational amplifiers (op amps) are criteria. Table 5 presents typical ADC ways to maintain constant voltages at
an important part of the analog signal- selection criteria. many outputs, while the DAC serves other
conditioning block. They are used as outputs.
analog-front-ends (AFEs) controlling gain, An ADC that is not an ideal match
offset, and anti-alias filtering prior to ADCs. can be used, and analog blocks can be Producing discrete, selectable, voltage-
Op amps offer high-voltage protection or employed to augment its functionality output (bipolar and unipolar), or
current-to-voltage conversion. Depending to meet the requirements. Exercise current-output conditioning circuits can
on the application, some parameters care during selection to ensure that any be an involved task. This is especially
can be more important than others. DC additional specified components provide true as one begins to understand the
applications require precision with low similar performance as the ADC. Rather necessity of controlling full-scale gain
input offset voltage, low drift, and low than using discrete components, it is also variations, the multiple reset levels for
bias current if the source impedance common to use an integrated AFE to buffer bipolar and unipolar voltages, or the
is significant. AC applications require or even replace the ADC. different output-current levels necessary
bandwidth, low noise, and low distortion. to provide the system design with
Once the data is converted, it is the most flexible outputs. For more
When amplifiers are driving ADCs, settling processed digitally in the FPGA. In some
time becomes a very important parameter. information about designing with DACs
systems, this is the end of the process as and ADCs, refer to the application note
Low temperature drift and low noise the data is sent to other digital devices library (www.maximintegrated.com/
are also critical requirements for the in the system, such as a server or PC. In converter-app-notes).
analog signal path. Errors at +25°C are other cases, the system needs to drive an
typically calibrated in the software. analog output. What is Critical?
Drift over temperature might need to be The critical parts of the block diagram or
controlled through calibration routines
Criteria for DAC Selection chain depend on the specific application.
because it can become a critical Analog output signals are required for A clean power supply, good filters,
specification in environments where situations in which a compatible transducer and noise-free op amps for signal
temperature is not constant. or instrument needs to be driven. Examples conditioning are important for a good
include proportional valves and current- SNR. Accuracy is greatly dependent on
Analog-to-Digital Conversion loop-controlled actuators. It can be part ADC and DAC resolution, linearity, and
Next in the signal chain is the ADC. The of a simple open-loop control system or stable voltage references.
ADC takes the analog signal and converts a complex control loop in a proportional-
integral-derivative (PID) system. The result For precise systems, DACs (and ADCs)
it to a digital signal. Depending on the require an accurate voltage reference.
application, the ADC requirements vary. of this output is sensed and fed back for PID
processing. The voltage reference is internal or
For example, the bandwidth of the input external to the data converter. In addition
signal dictates the ADC’s maximum The analog output begins with digital to many ADCs and DACs with internal
sampling rate so the selected ADC must data from the FPGA (Figure 13). references, Maxim offers stand-alone
have a sufficiently high sampling rate This digital data is converted into an voltage references with temperature
(greater than twice the input bandwidth). analog voltage or current signal using coefficients as low as 1ppm/°C, output
There are some communications a digital-to-analog converter (DAC). voltage as accurate as ±0.02%, and
applications where this rule does not apply. Signal-conditioning circuitry then output noise as low as 1.3µVP-P that can
The signal-to-noise ratio (SNR) and provides reconstruction filtering, offset, be used externally to the data converter
spurious-free dynamic range (SFDR) gain, muxing, sample/hold, and drive for ultimate precision and accuracy.
specifications of the system dictate the amplification as necessary.
ADC’s resolution, filtering requirements, As with the analog inputs,
and gain stages. It is also important to various implementations Table 5. Typical ADC Selection Criteria Matrix
determine how the ADC interfaces to are possible when multiple Input range: Resolution: Interface:
the FPGA. High-bandwidth applications analog outputs are needed. Unipolar Dynamic range Serial (I2C, SPI),
perform better using a parallel or Biploar ENOB Parallel (4, 8, 16, N)
fast serial interface, while in systems Maxim has precision DACs
ranging from below 8 bits Input type:
requiring easy galvanic isolation, SPI with Speed:
Single-ended Channels
unidirectional signaling is preferred. up to 18 bits of resolution BW
Differential
and up to 32 channels.
Simultaneous Reference Power
Criteria for ADC Selection Calibration DACs are
available from 4 bits to 16 Filtering: Other:
When selecting the right ADC for the bits, and our sample/hold 50Hz/60Hz PGA GPIO
application, the engineer must consider, amplifiers provide additional Rejection FIFO
review, and compare very specific device
20
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
Along with creating a circuit design Design requirements often change at the calculators). Choose a calculator
that achieves a specified performance, eleventh hour. Maxim products are up to and fine tune it, depending on your
the designer is also usually required to the task. particular requirements. For example,
complete the process in a limited amount use Steve’s Analog Design Calculator to
of time. Easy-to-use development tools, Four scenarios come to mind: pick the ideal converter. Then fine-tune
including FMC and plug-in module • The customer changes the the accuracy and sampling rate using
development cards that directly connect specification just before delivery. another calculator.
with many FPGA development boards,
• The sales department needs to add a Other great aids are available on the
help integrate Maxim products into FPGA
must-have feature at the last minute. tools, models, and software page (www.
designs. Along with our many EV kits,
calculators, and application notes, these maximintegrated.com/design/tools). From
• The design does not fit in the ASIC or
tools allow the designer to complete their here, you have access to the EE-Sim tool
FPGA without going to the next larger
work more quickly and accurately. (simulations), a constantly updated library
device, thereby increasing cost and
of models (SPICE, PSpice , and IBIS), a
M
21
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
Table 6. Data Converter Resolution and LSB Voltage for 3V Full Scale
No. of Bits Decimal No. of Levels LSB
8 256 11.7mV
10 1,024 2.9mV
12 4,096 0.73mV
14 16,384 0.18mV
16 65,536 45.8μV
18 262,144 11.4μV
24 16,777,216 0.18μV
22
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
Featured Products
24-/16-Bit Sigma-Delta ADCs Enable 32 Benefits
Simultaneous Channels • Simplifies digital interface to an FPGA
PI CS
g le S
Sin
FPGA
AVDD DVDD
AIN0+
ADC DIGITAL FILTER SYNC
AIN0-
REF0 CASCIN
CASCOUT
AIN1+
ADC DIGITAL FILTER SPI/DSP
AIN1- SPI/DSP
REF1 SERIAL CS
AIN2+ INTERFACE SCLK
4-channel, fully ADC DIGITAL FILTER
AIN2- DIN
differential bipolar inputs REF2 DOUT
AIN3+
ADC DIGITAL FILTER INT
AIN3-
REF3
N=8
MAX11040K SAMPLING
PHASE/FREQ N=2
XTAL ADJUSTMENT
REF 2.5V
OSCILLATOR
N=1 Fine/coarse sample-
rate and phase adjustment
XIN XOUT
AGND DGND
23
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
SCL
BUFFER 12-BIT VO1
SDA
VDDIO
BUFFER 12-BIT VO4
MAX5825
INTERFACE 2.048V, 2.5V, OR 4.096V
VREF REFOUT
REFERENCE
SDA
I2C
LDAC
INTERFACE RAIL-TO-RAIL OUTPUT
AND WITH EXTERNAL REF
CLR CONTROL
VDDIO
BUFFER 12-BIT VO7
24
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
25
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
To evaluate the MAX9945 38V Accommodates multiple op-amp configurations, wide input
MAX9945EVKIT
CMOS input precision op amp supply range 0805 components
Demonstrates the MAX1379 Complete evaluation system; convenient test points provided
MAX1379EVKIT 12-bit, 48-channel, on-board data-logging software with FFT capability; can also be
simultaneous-sampling ADCs used to evaluate the MAX1377
Provides a proven design Eight simultaneous ADC channel inputs; BNC connectors for all
to evaluate the MAX11046 signal input channels; 6V to 8V single power-supply operation
MAX11046EVKIT
8-channel, 16-bit, USB-to-PC connection compatible with five other MAX1104x
simultaneous-sampling ADC family members
Proven design for 16-bit On-the-fly programmability of the input ranges based on multiples
MAX1300AEVKIT programmable input range of the voltage reference; support for single-ended and differential
precision ADC as well as bipolar and unipolar inputs
27
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
28
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
• High avalanche effect: Any change in for open-drain communication. Maxim’s the SHA-1 engine and other functions
input produces a significant change in DS28E01-100 1Kb protected 1-Wire in a small ASIC or CPLD. However, if
the MAC result. EEPROM with a SHA-1 engine is a good security is the device's only function,
For these reasons, as well as the fit for this scheme. The device contains a using an ASIC approach would probably
international scrutiny of the algorithm, SHA-1 engine, 128 bytes of user memory, cost more.
SHA-1 is an excellent choice for a secret key that can be used for chip-
internal operations, but cannot be read To leverage the security features of the
challenge-and-response authentication DS28E01-100, a reference authentication
of secure memories. from an outside source, and a unique,
unchangeable identification number. core enables the FPGA to do the following
steps:
Implementing the Solution The 1-Wire interface of the DS28E01-100
reduces the communications channel to 1. Generate random numbers for
A challenge-and-response authentication
just a single FPGA pin for the challenge- the challenge. On-chip random
scheme can be implemented inexpen-
and-response authentication. That number generators usually create
sively as part of an SRAM-based FPGA
minimizes the impact of the security pseudorandom numbers, which
system design (Figure 15). In this
solution since FPGAs are often I/O-pin are not as secure as real random
example, the secure memory device
limited. Alternate implementations can numbers.
uses only a single pin to connect to an
FPGA pin configured for bidirectional be constructed using a more generic I2C 2. Know a secret key that can be used
(open-drain) communication. A resistive interface implemented on the FPGA and for internal operations, but cannot
connection to VDD delivers power to the using the DS28CN01 (an I2C equivalent be discovered from an outside
secure memory and provides the bias of the DS28E01-100) or by implementing source.
3. Compute a SHA-1 MAC that involves
the secret key, a random number,
SYSTEM SECRET MICROCONTROLLER IMPLEMENTED IN FPGA
(FROM PROTECTED MEMORY) (MAC RECIPIENT) and additional data, just like the
secure memory.
CALCULATE SLAVE 4. Compare data byte for byte, using
SECRET
the XOR function of the CPU
MESSAGE DATA FROM
ACCESSORY DEVICE ALGORITHM RESULT
implemented in the FPGA.
COMPARISON
RANDOM CHALLENGE
For detailed information on the SHA-1
MAC computation, review the Secure
Hash Standard. Application note 3675:
1-Wire® INTERFACE
Protecting the R&D Investment with
SECURE MEMORY CHIP Secure Authentication provides technical
DEVICE DATA (MAC ORIGINATOR) details on the concept of authentication
ALGORITHM
SLAVE SECRET KEY
and the architecture of a secure memory.
(FROM SECURE MEMORY)
Microcontroller-like functionality is
typically available as a free macro
Figure 14. The Challenge-and-Response Authentication Process Proves the Authenticity of
a MAC Originator
from major FPGA vendors. The Xilinx
microcontroller function occupies 192
logic cells, which represents just 11% of a
VDD
Spartan-3 XC3S50 device.
29
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
When power is applied, the FPGA predictable challenge (i.e., a constant) memory could set up a SHA-1 secret key
configures itself from its configuration causes a predictable response that can and EEPROM-array preprogramming
memory. Now the FPGA’s microcontroller be recorded once and then replayed service for the OEM. Maxim provides
function activates and performs the later by a microcontroller emulating such a service, where secure memory
challenge-and-response authentication, the secure memory. With a predictable devices are registered and configured
also known as identification friend or challenge, the microcontroller can at the factory according to OEM input
foe (IFF). This identification involves the effectively deceive the FPGA in and then shipped directly to the CM. Key
following steps: considering the environment as friendly. benefits of this service include:
The randomness of the challenge in this
1. The FPGA generates a random IFF approach alleviates this concern. • Eliminates the need for the OEM to
number and sends it as a challenge
disclose the secret key to the CM.
(Q) to the secure memory. Security can be improved further if the
secret key in each secure memory is • Eliminates the need for the OEM to
2. The FPGA instructs the secure device-specific: an individual secret key implement its own preprogramming
memory to compute a SHA-1 MAC computed from a master secret, the system.
based on its secret key, the challenge SHA-1 memory’s unique identification
sent, its unique identification • Only OEM-authorized third parties
number, and application-specific
number, and other fixed data, and have access to registered devices.
constants. If an individual key becomes
to transmit the response (MAC2) to public, only a single device is affected • The vendor maintains records of shipped
the FPGA. and not the security of the entire system. quantities, if needed for OEM auditing.
3. The FPGA computes a SHA-1 MAC To support individual secret keys, the
(MAC1) based on the same input FPGA needs to know the master secret Providing Proof of Concept
and constants used by the secure key and compute the 1-Wire SHA-1 The FPGA security method featured
memory and the FPGA’s secret key. memory chip’s secret key first before in Configuration Application Note
computing the expected response. XAPP780: FPGA IFF Copy Protection
4. The FPGA compares MAC1 with Using Dallas Semiconductor/Maxim
MAC2. If the MACs match, the For every unit to be built, the owner
DS2432 Secure EEPROMs has been
FPGA determines that it is working of the design (OEM) must provide
tested with Xilinx products. Xilinx
in a licensed environment. The FPGA one properly preprogrammed secure
states: “The system’s security is
transitions to normal operation, memory to the contract manufacturer
fundamentally based on the secrecy of
enabling/performing all of the (CM) that makes the product with
the secret key and loading of the key
functions defined in its configuration the embedded FPGA. This one-to-
in a secure environment. This entire
code. If the MACs differ, however, one relationship limits the number of
reference design, except the secret key,
the environment is considered authorized units that the CM can build.
is public abiding by the widely accepted
hostile. In this case, the FPGA takes To prevent the CM from tampering with
Kerckhoffs’ law.” The simple interface
application-specific actions rather the secure memory (e.g., claiming that
to programming and authentication
than continue with normal operation. additional memories are needed because
provided in this application note make
some were not programmed properly),
this copy protection scheme very easy
Why the Process Is Secure OEMs are advised to write-protect the
to implement. In this article on military
Besides the inherent security provided secret key.
cryptography, the Flemish linguist
by SHA-1, the principal security element There is no need to worry about the Auguste Kerckhoffs argues that instead
for the above IFF authentication process security of the 1-Wire EEPROM data of relying on obscurity, security should
is the secret key, which is not readable memory, even if it is not write-protected. depend on the strength of keys. He
from the secure memory or the FPGA. By design, this memory data can only contends that in the event of a breach,
Furthermore, because the data in the bit be changed by individuals who know only the keys would need to be replaced
stream is scrambled, eavesdropping on the the secret key. As a welcome addition, instead of the whole system.
configuration bit stream when the FPGA this characteristic lets the application
configures itself does not reveal the secret designer implement soft-feature Conclusion
key. Due to its size, reverse-engineering management—the FPGA can enable/ IP in FPGA designs can easily be
the bit stream to determine the design with disable functions depending on data that protected by adding just one low-cost
the intent of removing the authentication it reads from the SHA-1 secured memory. chip such as the DS28E01-100 and
step is very time-consuming, and thus, is a
It is not always practical for the OEM uploading the FPGA with the free
prohibitively difficult task.
to preprogram memory devices before reference core. The 1-Wire interface
Another critical security component delivery to the CM. To address this enables implementation of the security
is the randomness of the challenge. A situation, the manufacturer of the secure scheme over a single FPGA pin.
30
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
31
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
32
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
SO/LOCK SE MUX RF RZ
DAP[13:0]
FREQUENCY
DAN[13:0] 14 x 2 RESPONSE
DBP[13:0] SELECT
DBN[13:0] 14 x 2
DCP[13:0]
DCN[13:0] 14 x 2 DATA 2:1 OR 4:1 14 OUTP
DDP[13:0] SYNC REGISTERED
MUX DAC
DDN[13:0] 14 x 2 OUTN
SYNCP
SYNCN 2 PARITY
XORP CHECK
XORN 2
MAX5879
PARP
PARN 2
DLL
PERR REFIO
DCLKP FSADJ
DCLKN 2 VOLTAGE DACREF
DCLKRSTP REFERENCE CREF
DCLKRSTN 2 REFRES
Dx[3:0][13:0]
PARP/N OUTPUT 575Mbps MAX5879
XORP/N SerDes x 4 t2 DATA REGs
4:1
MUX
ICLK OCLK RCLK
MATCH t3
DELAYS
PRBS OUTPUT
575MHz
PATTERN SerDes
PRBS SYNC
DLL
t2
ICLK OCLK
DCLK OPTIONAL
DIVIDE-
t0 CLOCK
BY-2
CLOCK DIVIDE-
MANAGEMENT OPTIONAL BY-2
LOGIC CIRCUIT CLOCK
DIVIDE-BY-2
CLKO DIVIDE-
t1
BY-2
CLKIN 575MHz
CLKP/CLKN
FPGA 2300MHz
t0 t 1
DCLK DCLK = OUTPUT DATA CLOCK FROM DAC TO FPGA. DLL ADJUSTS DELAY OF
t2 DCLK WHICH IN TURN ADJUSTS THE PHASE OF THE DATA WINDOW
(AND SYNC) SO IT IS CENTERED AROUND RCLK.
DATA DATA WINDOW DATA = (2 OR 4) x 14-BIT LVDS LINES + PARITY AND XOR LINES FROM FPGA
t3
RCLK RCLK = INTERNAL DAC CLOCK TO LATCH INCOMING DATA FROM FPGA
Figure 17. Digital Interface Between the FPGA and the MAX5879 RF-DAC (in 4:1 Mux Mode)
33
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
in temperature variation, the setup and compared to the parity received from the clock (FRAME). The ADC clock input
hold times in the product data sheet can FPGA. When the received and calculated (CLKIN) or sample clock is multiplied by
consume a large percentage of the valid parity bits do not match, a parity error 6 to derive the serial LVDS output clock
data window, making it challenging to flag is set high so the FPGA can detect (CLKOUT). Serial data on each 12-bit
design a robust high-speed FPGA-to- the fault and trigger a corrective action. channel is clocked on both the rising and
DAC interface. falling edges of CLKOUT. The rising edge
High-Speed Octal ADC of the frame-alignment clock (FRAME)
Data Scrambling and Parity has Serial FPGA Interface corresponds to the first bit of the 12-bit
Check Ensure Reliable System serial data stream on each of the eight
that Slashes Pin Count and channels.
Performance Complexity Implementing an octal 12-bit, 50Msps
In some cases, periodic data patterns For high-channel count applications, a ADC with parallel CMOS outputs would
generated by the FPGA can create high-speed serial interface between the require 97 pins for the high-speed digital
data-dependent spurs that affect the data converter and the FPGA is preferred interface to the FPGA (approximately 5
overall performance of the system. The over a parallel interface because it times that of the serial LVDS interface).
MAX5879 RF-DAC contains an XOR simplifies the design and provides a The significantly higher pin count for a
data function that can be used to whiten denser and more cost-effective solution. parallel interface implementation would
the spectral content of the data bits and A functional diagram of the MAX19527 require significantly more FPGA I/O
prevent this situation from occurring. octal 12-bit, 50Msps ADC is shown in resources to capture the data. Larger
In addition, this DAC contains a parity Figure 18. The high-speed interface to packages for both the FPGA and the ADC
function that is used to detect bits errors the FPGA consists of 10 LVDS pairs (20 would also be required, which increase
between the FPGA data source and DAC pins): 8 high-speed serial outputs (1 the routing complexity and number of
and can be used for system monitoring. for each channel), 1 serial LVDS output printed circuit board layers needed for
The parity calculated by the RF-DAC is clock (CLKOUT), and 1 frame-alignment the design.
IN1+ OUT1+
12-BIT
DIGITAL SERIALIZER LVDS OUT1-
IN1- ADC
IN2+ OUT2+
12-BIT
DIGITAL SERIALIZER LVDS OUT2-
IN2- ADC
IN8+ OUT8+
12-BIT
DIGITAL SERIALIZER LVDS OUT8-
IN8- ADC
CLKOUT+
6x
LVDS CLKOUT-
CLKIN+
CLOCK MAX19527
PLL
CIRCUITRY
CLKIN- FRAME+
1x
LVDS FRAME-
34
www.maximintegrated.com/xilinx Analog Solutions for Xilinx FPGAs Product Guide
35
Analog Solutions for Xilinx FPGAs Product Guide www.maximintegrated.com/xilinx
1-Wire and EE-Sim are registered trademarks and InTune is a trademark of Maxim Integrated Products, Inc.
ARM is a registered trademark and registered service mark of ARM Limited.
Artix, Kintext, and PicoBlaze are trademarks and CoolRunner, ISE, Spartan, Virtex, and Zynq are registered trademarks of Xilinx, Inc.
IO-Link is a registered trademark of ifm electronic GmbH.
IrDA is a registered service mark of Infrared Data Association Corporation.
PowerPC is a registered trademark and registered service mark of International Business Machines Corporation.
PMBus is a trademark of SMIF, Inc.
PSpice is a registered trademark of Cadence Design Systems, Inc.
Windows is a registered trademark and registered service mark of Microsoft Corporation.
Xilinx is a registered trademark and registered service mark of Xilinx, Inc.