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
  • 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 Maximum frequency xillinux
  • 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 6 replies
  • Subscribers 340 subscribers
  • Views 715 views
  • Users 0 members are here
Related

Maximum frequency xillinux

deaxman
deaxman over 12 years ago

Hi, I've heard it said that the maximum frequency that the zedboard can reach is dependant upon the quality of your code.  What does this mean?  If I am using the xillydemo.v file from the xillinux installation, how do I figure out what the maximum frequency is (besides trial and error) and how do I increase this maximum frequency?  Code "quality" is very subjective.  I feel that the maximum would be less dependant on efficiency of your code and more dependant on the number of resources that are being used.  Thanks!

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 12 years ago

    Hi,

    There are certain FPGA design practices that help increasing the clock frequency that can be achieved. Most notably, adding pipelining registers (FIFOs) between combinatoric logic elements. The idea is to have as few steps of LUTs and other stuff between each pair of FIFOs, to minimize the settling time (so the next clock can arrive sooner).

    Finding the "maximal" clock is indeed a trial and error thing, with some implementation parameter tweaking coming along. You implement the design, asking for a certain clock in the timing constraints, and see how far you can push it until it fails. How to improve your situation is the subject of a two-day course given by Xilinx: "Designing for Performance".

    To get a general idea of where you stand, you can synthesize a specific module (and its submodules). There is a frequency estimation somewhere at the end of the report. To be taken with a grain of salt, but if often helps.

    Now to xillydemo: This module merely connects you with the Xillybus IP core through FIFOs. In the setting offered in the downloaded bundle, your logic runs on bus_clk, so the FIFOs only take a single clock. It's however common to use FIFOs with two clocks, one for each end (asynchronous FIFOs). If you do this, your logic can use whatever clock you want. So xillydemo isn't really a player here.

    I hope this gave an idea. Getting performance and reliability with proper clocking is what FPGA engineers get (well) paid for. ;)

       Eli

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • deaxman
    0 deaxman over 12 years ago

    Thanks!  This answers pretty much everything!  When testing these clocks I would send them out of the pmod (w12) and check them with the o-scope.  At 250 and 300 (MHz) I still see the occilation but it doesn't get up to the 3.3v that one would expect.  Do this mean that this clock will also fail to register as a "high" on the internal logic or is it simply poor propagation through the pmod (I looked and see that the pmod vtc are not perfectly ideal, there are delays and attenuations)  It seems that if any ocillation can be seen then it must be going high and low within the logic and it's just having trouble when it tries to enforce that high or low on the pmod output.  I am using gclk or clk_100 which is the 100mhz internal clk.  What documentation should I look at to check this out?  I will look into taking the course, it sounds like a great option but it would be great if I could figure this out quickly and then come to a more long term solution through the course.  Thanks!!

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

    Hi,

    The signals inside the chip are by far faster than those going out to copper wires on the board. 200-300 MHz are not high frequencies inside the logic fabric, even though it requires some skill to write logic that can work at this rate.

       Eli

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • deaxman
    0 deaxman over 12 years ago

    What are some good resources I can look into regarding the clock rate to the copper vs the clock rate within the board?

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

    For the maximal clock rate within the chip, it appears in the datasheet. More precisely, it's usually the maximal clock rate on the global clock wires. I would also suggest learning a bit about your device's clock resources in the User Guide for your device. I believe this is the relevant document:

    http://www.xilinx.com/support/documentation/user_guides/ug472_7Series_Clocking.pdf

    But odds are that the maximal clock is way too high to drive any useful logic with.

    As for the behavior of copper wire, that depends on the I/O standard, how well the PCB is crafted to support high frequencies (capacitances, reflections, you name it) and how you physically connect to the signal. And how low signal quality you're ready to tolerate. Plus, you can program the I/O block to drive the pin with different currents. And there are other considerations. In short, this is a bit of an art.

    Anyhow, the data sheet may also offer some hints on rise and fall times.

    Regards,
       Eli

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • deaxman
    0 deaxman over 12 years ago

    Very comprehensive answer!  Thanks a ton!

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