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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General FSM dont run
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 4 replies
  • Subscribers 368 subscribers
  • Views 481 views
  • Users 0 members are here
Related

FSM dont run

zanabonir
zanabonir over 9 years ago

Dear Forum

I write vhdl code for a very simple State Machine,with a Reset Buttom. I simulate in Vivado with a testbench, and all is working...the machine move every CLK.

So i tried on zedboard in this way:

* I create  a IP and add the FSM code (Vivado create the default 4 register AXI ..) .

* I connect to the Zynq PS + reset system as always

*Mapped the IP  using the xfc file, syntesis,implement and bitstream correct

Problem is that, when sdk program the fpga, the machine dont run..only the reset button work.

Seems clk is not connect.  The CLK for IP is ----S00_AXI_ACLK---- used by default in the IP .

Can I use this CLK ? What can be the mistake.

Thanks very much

Roberto

  • Sign in to reply
  • Cancel
Parents
  • jafoste4
    0 jafoste4 over 9 years ago

    Hello Roberto,

    Yes you can use this clock, so long as the jitter that it generates meets the timing needs of your system. ZYNQ has multiple clock trees and levels, here is a brief introduction to Clocks from Best to Worse.

    ·         Transceiver PLL Clocks

    o   specialized for their task, terrible for general purpose use

    ·         PL PLL Clocks

    o   what I tend to use, they are not as flexible as the MCMM, but I think each have their place for the needs one might have

    ·         PL MCMM Clocks

    o   general purpose clock, I wouldn’t PERSONALLY use these over 50MHz, although they can run pretty high…but my experience is typically with high precision stuff (28.000000MHz was not perceive enough for us in a lot of cases, typically took it out to 9 0’s of accuracy

    ·         PS Clocks

    o   these can be inaccurate

    o   accurate clocks are expensive, and with everything being HARDENED, jitter doesn’t matter as much…so these are not the best clocks in the world, but they certainly suit the needs for a general purpose clock that one can use to keep the PL and PS tied together.

    o   Amazingly enough though, since the AXI interface actually takes care of double buffering signaling, using that clock to drive the PL really doesn’t matter (unlike most busses where you would want to use the same clock)

     

    I have a few questions for you. What is your clock rate, how much logic are you using for the IP, and do you have your constraints setup properly? Please try slowing down your clock to test and make sure that is not the issue. 

    --Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • jafoste4
    0 jafoste4 over 9 years ago

    Hello Roberto,

    Yes you can use this clock, so long as the jitter that it generates meets the timing needs of your system. ZYNQ has multiple clock trees and levels, here is a brief introduction to Clocks from Best to Worse.

    ·         Transceiver PLL Clocks

    o   specialized for their task, terrible for general purpose use

    ·         PL PLL Clocks

    o   what I tend to use, they are not as flexible as the MCMM, but I think each have their place for the needs one might have

    ·         PL MCMM Clocks

    o   general purpose clock, I wouldn’t PERSONALLY use these over 50MHz, although they can run pretty high…but my experience is typically with high precision stuff (28.000000MHz was not perceive enough for us in a lot of cases, typically took it out to 9 0’s of accuracy

    ·         PS Clocks

    o   these can be inaccurate

    o   accurate clocks are expensive, and with everything being HARDENED, jitter doesn’t matter as much…so these are not the best clocks in the world, but they certainly suit the needs for a general purpose clock that one can use to keep the PL and PS tied together.

    o   Amazingly enough though, since the AXI interface actually takes care of double buffering signaling, using that clock to drive the PL really doesn’t matter (unlike most busses where you would want to use the same clock)

     

    I have a few questions for you. What is your clock rate, how much logic are you using for the IP, and do you have your constraints setup properly? Please try slowing down your clock to test and make sure that is not the issue. 

    --Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • zanabonir
    0 zanabonir over 9 years ago in reply to jafoste4

    Thanks for your reply.

    What Im doing is using a precompilated file that Vivado generate when we create a new AXI4 interface (Tools-->create and package IP-->...) and modify this file adding my logic...a very simple 4 state machine (2FFlop) witch out goes in a combinatory logic and then to LED . Thi  just for try the first time to add  new device  in FPGA.

    So i did not modify any constrain file..apart mapping some pin of  my machine to the LED od zedboard ( in the xcf file).., but not more.

    No time constrain i canged because for now I have not the knowledge to do this.

    Clk is 100MHZ as preset for zedboard.

    About clock, thanks for your description...I only use PL PLL because Vivado in the zynq property (dbl click on zynq PS in bd)  show only this clk as out ...I will chk better .

     

    Thanks again

    rob

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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 © 2026 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