element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
FPGA
  • Technologies
  • More
FPGA
Blog From Spartan 6 to Spartan 7: The journey of hardware as well as software
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: rsjawale24
  • Date Created: 12 May 2022 6:36 PM Date Created
  • Views 3602 views
  • Likes 8 likes
  • Comments 0 comments
  • fpga
  • vivado
  • Spartan_Migration
Related
Recommended

From Spartan 6 to Spartan 7: The journey of hardware as well as software

rsjawale24
rsjawale24
12 May 2022

In this blog, I will compare the differences between the Spartan 6 and Spartan 7 families of the FPGA from Xilinx. Just to give a background, when I started with FPGAs back in 2013, Spartan 3 was the popular FPGA due to its low cost. Now the FPGA family from Xilinx has come a long way from Spartan 3, 3E to 6 and 7. 

There are major differences between Spartan 6 and Spartan 7 FPGA's not just in the hardware but also in the software. In this blog, I will describe both the changes.

First, let's take a look at the Spartan 6 family. The major features of Spartan 6 are as follows -

The spartan 6 family consists of two types of FPGAs - LX, and LXT. The LX devices are optimized for logic and LXT devices are optimized for high-speed serial connectivity. It contains up to 147,443 logic cells and is built on a 45 nm process. It also supports up to 1080 Mb/s of data transfer rate, 3.2 Gb/s of high-speed serial transceiver, and up to 24 mA of current per pin. Apart from this, it also has a maximum of 180 DSP48A1 slices featuring an 18 x 18 multiplier and a 48-bit accumulator for high-performance signal processing and mathematical computations. It also has integrated memory control blocks for DDR2/3/4 and LPDDR RAM. It also supports the MicroBlaze soft processor.

Now coming to the programming part, Spartan 6 can be programmed using the ISE Design tool which is a pretty old software used to program the older FPGAs such as Spartan 3/3E. The major difference here is in the software as well as the files. Before I list out the features, let's understand the design flow of an FPGA.

The FPGA is programmed using a hardware description language. Two such popular languages are VHDL and Verilog. First, a program is written in Verilog or VHDL which describes the logical connection of the blocks in the FPGA. Then a constraints file has to be written which physically maps the input and output pins from the program to the FPGA. While the code remains the same, this physical mapping done using the constraints file has changed in Spartan 7. Since Spartan 7 is supported by a new software called Vivado. Vivado is the latest IDE from Xilinx which supports all the latest FPGA families after Spartan 6.

This is a major change as the file formats have also changed from ISE to Vivado. This means while migrating from Spartan 6 to Spartan 7, you have to change the software as well. And the constraints file in Viavdo is also different from the ISE constraints file.

Coming to Spartan 7 hardware, It has up to 102K logic cells, 160 DSP slices with 25 x 18 multiplier, 48-bit accumulator, and a pre adder and a MicroBlaze CPU. It also offers high-speed serial connectivity of up to 28.05 Gb/s which is almost 9 times that of Spartan 6. Since an FPGA is a digital device, for interacting with the analog world, it needs an ADC. Spartan 7 features an on-chip user configurable 12-bit 1 MSPS ADC which Spartan 6 lacks. This means you can directly connect analog sensors with the Spartan 7.

Spartan 7 also supports PCIe and has a 256-bit AES encryption making the device more secure. Spartan 7 is built on a 25 nm process.

All in all, the spartan 7 family provides upgrades from the Spartan 6 family without adding much to the cost. Spartan 7 is still a low-cost family like the Spartan 6 FPGAs.

The table below summarises the differences between Spartan 6 and Spartan 7 -

Feature Spartan 6 Spartan 7
Cells 147 K  102 K
DSP Slices 180 160
I/O pins 576 400
ADC No Yes
Max Serial Speed 3.2 Gb/s 28 Gb/s
Multiplier 18 x 18 25 x 18
Technology 45 nm 25 nm
Block Ram 4824 Kb 4.2 Mb
Encryption No Yes (256 bit AES)
Design Tool ISE Design Suite Vivado

Should you migrate to Spartan 7?

Definitely yes. I would say the two major reasons are the ADC and the 256-bit AES encryption. I cannot imagine a single situation where everything is digital, you'll have at least one analog component in your project that will need an ADC interface to use with a digital device such as an FPGA. Having an integrated ADC saves time and reduces the complexity of interfacing an external ADC. tt also reduces the overall PCB size. And in today's world where everything is electronics and mostly wireless, it's good to have strong encryption in your device to prevent it from getting hacked.

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube