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
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Embedded
  • Technologies
  • More
Embedded
Blog Creating a Seven-Segment Display Stopwatch with the Digilent Cmod A7 Breadboardable Artix-7 FPGA
  • Blogs
  • Forums
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Embedded 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: quinn.sullivan
Date Created: 10 Jan 2018 5:04 PM
Views: 600
Likes: 8
Comments: 5
  • tutorial
  • cmod a7-35t
  • ssd
  • gpio
  • jtag
  • xilinx
  • stopwatch
  • programming
  • fpga
  • seven segment display
  • vivado
  • leddisplaych
  • breadboard
  • digilent
  • demo
  • development board
  • cmod a7-15t
  • cmod a7
Related
Recommended

Creating a Seven-Segment Display Stopwatch with the Digilent Cmod A7 Breadboardable Artix-7 FPGA

quinn.sullivan
quinn.sullivan
10 Jan 2018

There are times when a big project just doesn't seem feasible in your schedule yet you desperately seek a way to expel some electronics energy. Whether it's the time you unexpectedly lost running errands or the space constraints on your workbench that necessitate different project requirements, this quick tutorial is geared to give you that electronics outlet you desire! In this blog post I will detail the quick and easy way to develop a stopwatch using the Digilent Cmod A7 (now available in two FPGA options: Cmod A7-15TCmod A7-15T and Cmod A7-35TCmod A7-35T) and a seven-segment display, helping you countdown time between electronics projects or whatever else you desire to track!

 

This tutorial assumes that you will have a basic familiarity with Vivado and programming the general purpose input/output (GPIO) of the Cmod A7 (a tutorial for which can be found here). Beginning with either option of the Cmod A7 (listed above), you will also need a four digit seven-segment display, breadboard, and jumper wires to assemble your project hardware and components.

 

Step 1: Connecting the Project Components
Without specifying the exact four digit seven-segment display, step one of this tutorial may vary by user but focuses on connecting the project components. Below you can find the pinout for the seven-segment display used by our team, with important pins called out for quick connection reference.

Reading from your seven-segment display reference sheet, use the jumper wires to begin connecting your Cmod A7 and display as illustrated alongside the connection table below.

Step 2: Programming the Cmod A7
Following successful connection of all project components we will begin programming our FPGA in Vivado. You can find detailed instructions on how to start programming your device in Vivado in this Cmod A7 tutorial. Once you have connected your Cmod A7 to Vivado, you have two possible programming options. The first option is using JTAG to program the Cmod A7 directly in a two step process outlined here. The second option is with Quad-SPI, which effectively programs the Cmod A7's on-board flash memory and allows for future runs (following a power cycle). Find the concise details for this programming method here.

 

Step 3: Pressing Play

After a few easy programming steps you will be rewarded with a fully functional stopwatch that can be started by pressing BTN0. Stopping and restarting your stopwatch is just as easy and can be accomplished by pressing BTN1. Read the original tutorial complete with programming instructions here then visit the Digilent Wiki for additional tutorials, community projects, and more to support your FPGA development!

 

Anonymous

Top Comments

  • jw0752
    jw0752 over 4 years ago +5

    Hi Quinn,

    Project ideas like this are great and both encourage and enable others to expand their electronics abilities.

    I enjoyed your presentation.

    John

  • genebren
    genebren over 4 years ago +4

    Hi Quinn,

    Nice, simple, neat project.  Taking small steps is the way to go sometimes.  It lets you dip your toes in a very big pool without any any fear of drowning.  You learn more when you achieve something…

  • michaelkellett
    michaelkellett over 4 years ago in reply to quinn.sullivan +3

    OK - it's your source code but could you consider changing the title  - this isn't about development when you've kept the most important part secret.

     

    To develop things with an FPGA requires you…

  • michaelkellett
    michaelkellett over 4 years ago in reply to quinn.sullivan

    OK - it's your source code but could you consider changing the title  - this isn't about development when you've kept the most important part secret.

     

    To develop things with an FPGA requires you to get into the nuts and bolts, like how you choose which pins to use, how to arrange clocks and clocking resources and how to set that up in a project and how to code it in HDL or whatever. All hidden.

     

    MK

    • Cancel
    • Up +3 Down
    • Reply
    • More
    • Cancel
  • quinn.sullivan
    quinn.sullivan over 4 years ago in reply to michaelkellett

    Hi Michael,
    We may have chosen not to share the source code in an attempt to avoid giving away the answers to related academic assignments, however I do not completely know the original reasoning. If you would like to pursue this search further, you can always find additional help on our Forum: https://forum.digilentinc.com/

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • michaelkellett
    michaelkellett over 4 years ago

    Where is the source code  - I looked at your links but couldn't find it.

     

    MK

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • genebren
    genebren over 4 years ago

    Hi Quinn,

    Nice, simple, neat project.  Taking small steps is the way to go sometimes.  It lets you dip your toes in a very big pool without any any fear of drowning.  You learn more when you achieve something and you achieve something when you don't overreach.

    Well done!

    Gene

    • Cancel
    • Up +4 Down
    • Reply
    • More
    • Cancel
  • jw0752
    jw0752 over 4 years ago

    Hi Quinn,

    Project ideas like this are great and both encourage and enable others to expand their electronics abilities.

    I enjoyed your presentation.

    John

    • Cancel
    • Up +5 Down
    • Reply
    • More
    • Cancel
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube