feature article
Subscribe Now

Short Stack with Syrup

Non-volatile Spartan-3AN

Non-volatile FPGA is one of today’s oddest market segments. Bound by the ill-defined characteristic of “non-volatility,” the field of available devices is diverse from the ground up, with strikingly different architectures, approaches, and benefits. Actel, long the leader in non-volatile FPGAs, began with antifuse technology (which is one-time programmable) and followed later with flash-based FPGAs. QuickLogic fielded an antifuse-type approach from the beginning, and Lattice Semiconductor joined the fray over a year ago with their LatticeXP hybrid devices, embedding a flash boot PROM on the FPGA for rapid, on-chip configuration.

In announcing their new, non-volatile Spartan-3AN family this week, it is clear that Xilinx approached the non-volatile problem differently.  Often, on your board, you’d pair a low-cost SRAM FPGA like a Spartan-3 device with a commodity flash memory for storing the bitstream and possibly other user data.  Xilinx just took the die for that flash memory and the die for that FPGA, stacked them using packaging techniques now common in cell phones and other space-constrained devices, and dropped them into a single package.  Voila!  A non-volatile FPGA. 

Hey, wait, that’s totally cheating, isn’t it?  Does stacking the two die vertically instead of horizontally on your board somehow change a regular-old volatile SRAM FPGA into a newfangled non-volatile one?  Aren’t there rules about these things?  Somebody bring in a referee.  What’s the catch?

In reality, there is no “catch.”  Like any engineering solution to a problem, there are tradeoffs.  To understand the ones involved in Spartan-3AN, we need to examine our possible reasons for wanting a non-volatile FPGA in the first place, and then see how the various options stack up. 

As long as we don’t pop open the package and start asking too many questions (we’ll discuss opening the package later, so keep those Dremel tools powered down for the moment, lil’ hacker dudes), we can assume that a non-volatile FPGA is one that doesn’t require an external boot PROM.  You apply power to the pins and (after some time passes) the FPGA is ready to go, independent of any other devices on the board. 

Why do we care?  Well, we might want the smaller footprint of a single chip.  We might want simpler board design.  We might hope for lower power consumption.  We might want additional design security.  We might be trying to reduce total BOM cost.  We might want instant (or near-instant) power on.  Compared with Spartan-3A, how does the new Spartan-3AN family do on these issues?  Yes, yes, no, sorta’, and probably not.  We also might just be thinking “Hey, what non-volatile FPGAs are out there?” Now, Xilinx has one too.

Spartan-3AN is available in a subset of the package options of Spartan-3A.  Probably because the stacked-die packaging process is more expensive, Xilinx isn’t rolling out the entire fleet of packages for 3AN.  The company says they will probably be adding additional packaging options based on customer demand, so if the package you want is not on the list – vote early and often.  The good news is that the package you choose will be the only FPGA-related thing you have to buy, inventory, place, and connect to your board.  You won’t need a separate boot prom as you would with an SRAM-based FPGA.  Board real-estate and complexity is definitely reduced.

The FPGA portion of Spartan-3AN has the same power consumption as a corresponding 90nm Spartan-3A device because – hey, it’s the same die.  As a review – Spartan-3A has some nice power-saving features for an SRAM FPGA.  Its 90nm technology gives it pretty good dynamic power consumption.  In addition, Spartan-3A (and thus also Spartan-3AN) have two additional power modes called “Suspend” and “Hibernate” that allow you to drop static (standby) power by 40% with a fast wake-up time (suspend mode) or by 99% with a “normal” wake-up time (Hibernate mode).  This means that the device is still more power-hungry than other super-low-power non-volatile FPGAs like QuickLogic’s PolarPro or Actel’s Igloo, but it maintains other advantages. (Remember what we said about trade-offs?)

The flash portion of Spartan-3AN will, of course, have the same power profile as the commodity flash memory device that it is.  If you dropped one of those on your board next to a Spartan-3A device, your total power characteristics should be almost identical.  One could argue that having the flash separate gives you more options on the flash side than defaulting to the built-in flash in 3AN.  If one argued that, one would be correct.

Design security is one of the issues most often cited for wanting a non-volatile FPGA over a conventional SRAM design.  The important thing to remember here is that security is relative.  Every option available on the market provides differing amounts and types of security.  Almost nothing can protect against the best-funded security risks such as those funded by governments.  As you move down the scale on attackers’ budgets and time constraints, however, security measures start to shake out at different levels. 

The biggest design security risk with SRAM-based FPGAs is the availability of the configuration bitstream going between the boot PROM and the FPGA during startup.  Since FPGAs are standard parts, if the contents of the boot prom can be cloned, the design is stolen.  The normal way to deal with this is to encrypt the bitstream in the boot PROM, and to have an encryption key stored in the FPGA that will allow the bitstream to be decrypted upon load.  The problem with SRAM (and non-volatile devices in general) is that any encryption key stored in SRAM is lost when the device is powered down.  This leaves us with a problem in moving encrypted bitstreams that has been addressed two ways:  1) by attaching an external battery to the device to maintain the encryption key and 2) by adding permanent fuses to each device for storing the encryption key.

Spartan-3AN does neither of these.  Not exactly, anyway.  There is a permanent serial number stored in each device, and that serial number can be used to implement various security schemes as you see fit.  It is not, however, used to decrypt the incoming bitstream.  Bitstream protection is done by obscuring the connection between the FPGA and the boot PROM (now stacked on top of the FPGA inside a single package).  While more secure than a separate boot PROM, the scheme is still far from impermeable as far as configuration stream protection goes.  (OK, you can fire up those Dremel tools now.)

Since 3AN has room for 2 complete configurations in the flash, it’s obvious that Xilinx thinks you’ll be updating the bitstream at some point in the product life cycle.  3AN even has a nice feature that’ll let it boot on the original “golden” bitstream if a bad download or other corruption causes the new, updated one to malfunction.  The problem is, any mechanism you have for delivering an updated bitstream to the device will be snoopable by prying eyes (or prying logic analyzers, really).  The bitstream obscuring method doesn’t hold up as well when the bitstream has to travel from your home base to the device in the field.  Be sure to design your security scheme accordingly.

As far as the lower cost question goes, you’ll probably pay a bit of a premium for Spartan-3AN compared with the same Spartan-3A device with the same flash memory.  When you factor in the other costs of an additional device such as board area and inventory and such, it may be a wash.  On the positive side, you certainly won’t be taking a big BOM hit for using the new family.  Xilinx projects prices in the $5 range in volume. 

It’s also important to look at Spartan-3AN in comparison with other non-volatile options.  After all, from a marketing perspective, Spartan-3AN is probably most important because it gets Xilinx into the non-volatile FPGA race.  Before, a list of non-volatile FPGA vendors would have included Actel (for their antifuse and flash-based devices), QuickLogic (for their antifuse devices), Lattice (for their LatticeXP hybrid devices) and arguably even Altera for their Max II (which is really an FPGA marketed as a CPLD).  Now, that list includes Xilinx with Spartan-3AN. 

With a 90nm SRAM-based FPGA at its core, Spartan-3AN will be faster and have higher density than the other entrants.  Because it uses commodity flash bonded to the FPGA, it will offer more non-volatile storage than the other entrants.  On the down-side, it will take longer to configure (in the range of 100 milliseconds because of streaming the configuration over a serial flash versus microseconds or even near-zero for truly non-volatile devices like antifuse and Actel’s flash).  It will likely be less secure than the other options, and although its power consumption will be very good, it will consume more power in both active and standby modes than the other non-SRAM alternatives.

Spartan-3AN will offer devices ranging from 50K to 1.4M “system gates” (corresponding with Spartan-3A devices 3S50A to 3S1400A) with flash memory ranging from 1M to 16M.  Three of the devices, the 3S200AN, 3S700AN, and 3S1400AN are available now, with the remaining devices (3S50AN and 3S400AN) slated for 2nd quarter. 

Spartan-3AN is likely to be popular in space-, cost-, and power-constrained high-volume applications that need some of the features of non-volatile FPGAs with the performance and density of leading-edge SRAM devices.  In addition to bringing Xilinx officially into the non-volatile game, the unique characteristics of Spartan-3AN give us another valuable tradeoff point in our FPGA selection.

Leave a Reply

featured blogs
Aug 1, 2021
https://youtu.be/I0AYf5V_irg Made in Long Ridge Open Space Preserve (camera Carey Guo) Monday: HOT CHIPS 2021 Preview Tuesday: Designed with Cadence Video Series Wednesday: July Update Thursday:... [[ Click on the title to access the full blog on the Cadence Community site. ...
Jul 30, 2021
You can't attack what you can't see, and cloaking technology for devices on Ethernet LANs is merely one of many protection layers implemented in Q-Net Security's Q-Box to protect networked devices and transaction between these devices from cyberattacks. Other security technol...
Jul 29, 2021
Learn why SoC emulation is the next frontier for power system optimization, helping chip designers shift power verification left in the SoC design flow. The post Why Wait Days for Results? The Next Frontier for Power Verification appeared first on From Silicon To Software....
Jul 28, 2021
Here's a sticky problem. What if the entire Earth was instantaneously replaced with an equal volume of closely packed, but uncompressed blueberries?...

featured video

Intelligent fall detection using TI mmWave radar sensors

Sponsored by Texas Instruments

Actively sense when a fall has occurred and take action such as sending out an alert in response. Our 60GHz antenna-on-package radar sensor (IWR6843AOP) is ideal for fall detection applications since it’s able to detect falls in large, indoor environments, can distinguish between a person sitting and falling, and utilizes a point cloud vs a person’s identifiable features, which allows the sensor to be used in areas where privacy is vital such as bathrooms and bedrooms.

Click here to explore the AOP evaluation module

featured paper

Carmakers charge ahead with electric vehicle powertrain integration

Sponsored by Texas Instruments

Advancements to electric vehicle (EV) powertrain architectures help customers cut system-design costs in half while maximizing power density, increasing efficiency, improving reliability, and making EVs more affordable for more people.

Click to read more

featured chalk talk

Why Measure C02 Indoor Air Quality?

Sponsored by Mouser Electronics and Sensirion

The amount of carbon dioxide in the air can be a key indicator in indoor air quality and improving our indoor air quality can have a slew of benefits including increased energy efficiency, increased cognitive performance, and also the reduction of the risk for viral infection. In this episode of Chalk Talk, Amelia Dalton chats with Bernd Zimmermann from Sensirion about the reasons for measuring carbon dioxide in our indoor spaces, what this kind of measurement looks like, and why Sensirion’s new SCD4 carbon dioxide sensors are breaking new ground in this arena. (edited)

Click here for more information about Sensirion SCD4x Miniaturized CO2 Sensors