Forum Discussion

jaylong's avatar
jaylong
Icon for New Contributor rankNew Contributor
2 years ago

Metastable

I'm a beginner, and after designing an adder, I wanted to use SignalTap to check the synthesized signals. However, I found that the signals are not as expected. It seems to be due to metastability issues, causing the originally stable values to randomly switch between 0 and 1. How can I correct this issue?main modulecarry adder and adder200PLLsignal tap(pre-syn)

13 Replies

  • FvM's avatar
    FvM
    Icon for Super Contributor rankSuper Contributor

    Hi,
    does your design meet timing? If not (very likely it doesn't), why do you complain about unexpected results?

    I'm not sure what you want to achieve, as a general rule:
    - don't use clock as data
    - don't use divided or phase shifted clocks, except for special purposes e.g. driving peripherals

  • I have yet to receive any response from you in regards to my last reply. Do you need further help in regards to this case?


    Best Regards,

    Richard Tan


    p/s: If you find any answers from the community or Intel Support to be helpful, we encourage you to mark them as the best answer or rate them 4/5 in the survey


    • jaylong's avatar
      jaylong
      Icon for New Contributor rankNew Contributor

      "I recently discovered that there may be a 'bubble effect' issue. Originally, all the bits that haven't reached a carry should be 1, but it turns out there are a few 0s mixed in. I haven't resolved it yet."

  • Could you help to share your design .qar file (Project> Achieve Project) so that we could investigate what goes wrong?


    Best Regards,

    Richard Tan


  • There is no SDC file in your design, so this is likely an issue with your design.

    You can refer to this document on how to use SDC constraints:

    Link: https://www.intel.com/content/www/us/en/docs/programmable/683068/18-1/recommended-initial-sdc-constraints.html


    You may also want to check out YouTube for resources related to timing analysis.

    Link: https://www.youtube.com/watch?v=O6kf1_fSaIA


    Best Regards,

    Richard Tan

    p/s: If you find any answers from the community or Intel Support to be helpful, we encourage you to mark them as the best answer or rate them 4/5 in the survey.



    • jaylong's avatar
      jaylong
      Icon for New Contributor rankNew Contributor

      I'm using Timing Analyzer, and when I click on 'constraints' and then 'create clock' to set up my clock signals, after I finish and compile, my clock signals disappear. What could be the issue?

  • You might have written the constraints incorrectly, thus they are being ignored.

    You can check the 'Report Ignored Constraints' and see if that's the case.


    Best Regards,

    Richard Tan


  • jaylong's avatar
    jaylong
    Icon for New Contributor rankNew Contributor

    "Report Ignored Constraints: No Ignored Constraints Found. By the way, I want to constrain the PLL clock. Should I set it individually, or should I use the 'derive PLL clocks' feature?

  • Technically, both methods are equivalent, but some users may modify their PLLs and forget to update their .sdc files. Therefore, I strongly recommend sticking with "derive_pll_clocks".


    • FvM's avatar
      FvM
      Icon for Super Contributor rankSuper Contributor
      Hi,
      I think besides using reasonable sdc statements, the test design should follow elementary FPGA design rules and get rid of using clock as data. Otherwise you hardly get meaningful results.
  • We noticed that we haven't received a response from you regarding the latest previous question/reply/answer, and will now transition your inquiry to our community support. We apologize for any inconvenience this may cause and we appreciate your understanding. If you have any further questions or concerns, please don't hesitate to let us know. Thank you for reaching out to us!


    Best Regards,

    Richard Tan


    p/s: If you find any answers from the community or Intel Support to be helpful, we encourage you to mark them as the best answer or rate them 4/5 in the survey.