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
ZedBoard Hardware Design PL Clock Reconfiguration
  • 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 Not Answered
  • Replies 8 replies
  • Subscribers 354 subscribers
  • Views 1324 views
  • Users 0 members are here
Related

PL Clock Reconfiguration

Former Member
Former Member over 13 years ago

Hi!

For a design I am working on, after synthesis, a clock of 250Mhz seemed to be okay. For this reason I configured FCLK_CLK0 to generate a clock with this frequency using XPS.

After implementation, the maximum clock shrunk to about 125Mhz (and the design indeed does not work ;) ), because the design is quite big and I'm getting much routing overhead.

For the same reason, implementation took ~10hours.

Is there a way to reconfigure FCLK_CLK0 without running implementation again?

Thx in advance!

  • Sign in to reply
  • Cancel
Parents
  • bhfletcher
    0 bhfletcher over 13 years ago

    I'm confused regarding what you are saying.  If you configure FCLK_CLK0 to be 250 MHz in the PS Configuration tool, and you verify that the Actual frequency matches the Requested, then you should get 250 MHz on FCLK_CLK0.  If you don't meet timing in the PL with FCLK_CLK0 = 250 MHz, that is a completely separate issue related to closing timing in fabric.

     

    Regarding your specific question, it is possible to change the frequency of FCLK_CLK0 on the fly in software by changing the PLL registers.  However, I'm not sure I would recommend this.

     

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to bhfletcher

    Hi!

    I don't meet timing in the PL with FCLK_CLK0 = 250MHz although synthesis told me I would. After routing I know that I could use FCLK_CLK0 = 100MHz. So I'd like to set the clock to that value so that I am able to test whether the design would work in principle at least.

    The only way how I know to do this is changing the clock in XPS and running synthesis and implementation again, making my PC sort of useless for that time.

    So having the option to just change some registers in Software would be a good option for testing purpose at least.

    Is it correct that this is done in 'ps7_init.tcl' which is exported to the SDK? Where can I get more info on this? ('ps7_pll_init_data' and 'ps7_clock_init_data'?)

    And most important: Which is the reason for not recommending this?

    Thanks for your help!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    VoSte,

    You are correct that information is configured within the ps7_init.tcl file, and more accurately within the ps7_init.c file within SDK.

    You could get yourself into a state where the PS's PLL's can't gain lock again after the frequency change, so changing it on the fly is not recommended.  If you do, however, want to change this after your design is already compiled down instead of changing it after the PS is already loaded, then you could do this by modifying the values within the ps7_init.c file.

    You may want to take a look at this file:

    <project_dir>/<project_name>.sdk/SDK/SDK_Export/hw/ps7_init.html

    It has a nice outline of what all of the configuration registers are set to.  Let me know if this helps.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    VoSte,

    You are correct that information is configured within the ps7_init.tcl file, and more accurately within the ps7_init.c file within SDK.

    You could get yourself into a state where the PS's PLL's can't gain lock again after the frequency change, so changing it on the fly is not recommended.  If you do, however, want to change this after your design is already compiled down instead of changing it after the PS is already loaded, then you could do this by modifying the values within the ps7_init.c file.

    You may want to take a look at this file:

    <project_dir>/<project_name>.sdk/SDK/SDK_Export/hw/ps7_init.html

    It has a nice outline of what all of the configuration registers are set to.  Let me know if this helps.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    Thank you very much!

    I must have been blind to not have seen this file... ;)

    This helped alot!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    Great!  Let us know if you're successful, and how you did it - that way the community can benefit from your work!

    • 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