element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
FPGA
  • Technologies
  • More
FPGA
Blog Migrate the Digilent XADC demo (to Vivado 2020.2)
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
FPGA requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 24 Jun 2022 10:55 AM Date Created
  • Views 949 views
  • Likes 9 likes
  • Comments 3 comments
  • summer_of_fpga
  • Spartan_Migration
Related
Recommended

Migrate the Digilent XADC demo (to Vivado 2020.2)

Jan Cumps
Jan Cumps
24 Jun 2022
Migrate the Digilent XADC demo (to Vivado 2020.2)

Digilent has a set of demo projects for the Arty board. I'm reviewing Arty XADC Demo. I'm going to make a project with an analogue sensor, and that project is a good starting point.

Migrate the Demo from 2016.4

The demo was written for Vivado 2016.4. Migrating to a newer version (in my case: 2020.2) isn't hard. Follow the instructions, but do these corrections before and after project creation.

Before running the create script:

The script uses an older board version, that's not available if you use Digilent's instructions to install board files. Change the script:

# set brd_part "digilentinc.com:arty-s7-50:part0:1.0"
set brd_part "digilentinc.com:arty-s7-50:part0:1.1"

After script execution

The xadc wizard IP is changed. Vivado locks it, and you can't continue unless you remediate. In this case, you upgrade the IP:
image
Select the convert option, confirm next dialogs.
image

Once this is fixed, Vivado will run the implementation.
image

Run the demo

Generate the bitstream and program the device as usual. When you set the 4 switches to the lower position, Arduino input A0 is active and can accept 0 - 3V3 values. 
image
The higher the voltage, the more LEDs will turn on (order LD2 -> LD4 -> LD0 -> LD1).
I attached an LDR circuit to the input.
image
Here's the result:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

  • Sign in to reply
  • Jan Cumps
    Jan Cumps over 1 year ago

    Related: Migrate the Digilent Arty S7-50 General I/O Demo (to latest board file)

    Download the latest release full project archive and extract it. Before opening it in Vivado, edit Arty-S7-50-GPIO.xpr

    # <Option Name="BoardPart" Val="digilentinc.com:arty-s7-50:part0:1.0"/>
    <Option Name="BoardPart" Val="digilentinc.com:arty-s7-50:part0:1.1"/>

    Open the project, generate bitfile, program, enjoy

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago

    XADC tip (works on a Zynq too):
    Via the hardware manager, you can always check the device's XADC values. No matter what design is running (or not) running) on the FPGA.

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago

    This project show how to use Vivado without block diagram or HDL wrapper. It's a single source Verilog design.

    • 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 © 2023 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