element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Port a VHDL design from AMD Zynq & Pynq to Spartan-7 & MicroBlaze - part 1: hardware
  • 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: Jan Cumps
  • Date Created: 9 May 2023 6:42 PM Date Created
  • Views 1618 views
  • Likes 11 likes
  • Comments 7 comments
  • amdzynqultrasoundpulse
  • zynq
  • fpga
  • vivado
  • vhdl
  • pynq
  • amd
  • vitis
  • microblaze
Related
Recommended

Port a VHDL design from AMD Zynq & Pynq to Spartan-7 & MicroBlaze - part 1: hardware

Jan Cumps
Jan Cumps
9 May 2023

A little double post to document the porting of a small FPGA design from a Zynq with ARM + Linux + Pynq + Python to a smaller Spartan with MicroBlaze soft controller + bare metal.

image

The post focuses on the software / firmware aspect. How I migrated logic running on the physical microcontroller inside the Zynq package, to firmware in a MicroBlaze soft controller core inside the Spartan fabric.
The original VHDL design is a set of IPs that generate pulses for an ultrasone instrument. That part ports as-is between Spartan and Zynq without changes. I will not elaborate on it. Check here to learn more: Learning AMD Zynq: a project to generate a set of PWM signals. 1 - problem statement and possible approach.

Hardware

This is the Spartan-7 block diagram. Blue on the left is the MicroBlaze soft controller core and friends. Middle green parts is the interface between the software and fabric. Virtually identical to what I used in the Zynq. The blue block on the right is the unchanged VHDL. A few contraptions to replace the Pynq / Jupyter user interface are purple at the top right side.

image

And the same design on a Zynq. Here, the software runs on a hard ARM microprocessor core, at the left in blue. The green register and clock bridges, and VHDL at the right, are identical.

image

part 2 will review the software and the process to write it.

  • Sign in to reply
  • dang74
    dang74 over 2 years ago in reply to Jan Cumps

    True enough.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 2 years ago in reply to dang74

    > useful to those that need to 'downgrade' from hard Arm to soft Microblaze.

    Maybe also for those that have to choose between them, for a new design...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 2 years ago

    I posted part 2, about the software approach for Spartan-7 vs ZYNQ/PYNQ:  Port a VHDL design from AMD Zynq & Pynq to Spartan-7 & MicroBlaze - part 2: software 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dang74
    dang74 over 2 years ago in reply to Jan Cumps

    True I agree on the portability of the VHDL.  This blog is most useful to those that need to 'downgrade' from hard Arm to soft Microblaze.  Also if they aren't well acquainted with the Vivado HLS block diagram methodology they will surely appreciate the side by side top level blocks you presented here for Spartan 7 and Zynch.  I am going to tear apart the lab at work and try to find that darn Arty.  That way I can retrace some of your steps and get some practice in with Vivado... you know, to justify its 40GB install.  Wink 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 2 years ago in reply to DAB

     DAB , and I used only standard constructs in the VHDL part. No vendor specific. It ported unchanged between 2 AMD FPGA families. But I'd expect that this VHDL code would port without problems for any manufacturer.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
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