TO Be coming

Sep 29, 2017

Synchronizers list dump using SpyGlass Tool

How to Dump the Synchronizer Cell List in SpyGlass CDC

In complex multi-clock SoC designs, identifying, auditing, and validating all Clock Domain Crossing (CDC) synchronizer cells is a critical sign-off step. Relying on manual inspection is error-prone. Fortunately, Synopsys SpyGlass provides highly automated mechanisms to discover and dump a comprehensive list of all identified synchronizers into a structured report file.

However, since every ASIC or FPGA design handles clock domains differently, out-of-the-box settings may miss structural synchronizers or produce overly pessimistic violations. Fine-tuning your SpyGlass project setup is usually required to generate a clean, reliable structural report.

Custom Goals vs. Standard CDC Goals

To dump your synchronizer list, you have two primary implementation paths in your SpyGlass project file (.prj):

  • Modify a standard goal: Append specific report and dump options directly to an existing CDC goal (like cdc/cdc_verify_struct).
  • Define a custom goal: Create a dedicated, lightweight evaluation goal that runs only the rules required for tracking synchronizers. This saves significant compilation time during iterative debug cycles.

SpyGlass Project File Setup (Design1.prj)

# =========================================================================
# Custom Goal Definition for Synchronizer Discovery and Reporting
# =========================================================================
define_goal custom_sync_dump -policy {clock-reset} {

    ## Enable only the essential structural rules to discover data crossings
    set_goal_option rules { Ac_unsync01 Ac_unsync02 Ac_sync01 Ac_sync02 }

    ## Configure output reports: SynchInfo captures the structural dump file
    set_goal_option report { SynchInfo moresimple }

    ## Specify wildcards for the tool to recognize hardcoded or custom cells
    set_parameter synchronize_cells "*sync1*, *sync2*"
    set_parameter reset_synchronize_cells "*rst_sync*" 

    ## Core control parameter to force detailed dump generation
    set_parameter dump_sync_info detailed

    ## Optional Handling for Complex Topologies
    set_parameter allow_combo_logic yes 
    set_parameter allow_merged_qualifier yes

    ## Pessimism Reduction & Advanced Analysis Controls
    set_parameter enable_and_sync yes 
    set_parameter cdc_reduce_pessimism all
    set_parameter strict_sync_check yes
    set_parameter enable_debug_data yes
}

Key Parameter Breakdown Explained

To get the most out of your report, it helps to understand what these parameters instruct the underlying SpyGlass engine to do:

  • dump_sync_info detailed: The most crucial configuration line. This commands SpyGlass to populate the SynchInfo report with exact cell names, hierarchies, source domains, and destination domains.
  • synchronize_cells & reset_synchronize_cells: Tells the structural engine which custom library cells or module design patterns represent valid synchronizers. Wildcards (*) are allowed.
  • allow_combo_logic yes: Useful if your design features static multiplexers, clock-gating or configuration masking logic sitting right before the synchronizer flop. It prevents the tool from invalidating the crossing due to combinational logic.
  • allow_merged_qualifier yes: Required when a control/data signal originates from different source elements before converging on a single synchronizer cell. It evaluates the crossing assuming the source components are quasi-static.
  • cdc_reduce_pessimism all: Forces the tool to actively filter out redundant or false violations, ensuring only genuine clock domain crossings are analyzed and logged.

A Practical Example: Verilog Code vs. SpyGlass Parameters

Consider the following simple design snippet handling an asynchronous data bus bit crossing alongside an asynchronous reset tree:

// Data Path Synchronizer
module data_sync1 (
    input  wire clk_b,
    input  wire data_in_clka,
    output reg  data_out_clkb
);
    reg sync_ff1;
    always @(posedge clk_b) begin
        sync_ff1      <= data_in_clka;
        data_out_clkb <= sync_ff1;
    end
endmodule

// Reset Path Synchronizer
module rst_sync_macro (
    input  wire clk_b,
    input  wire async_rst_n,
    output reg  sync_rst_clkb_n
);
    reg rst_ff1;
    always @(posedge clk_b or negedge async_rst_n) begin
        if (!async_rst_n) begin
            rst_ff1         <= 1'b0;
            sync_rst_clkb_n <= 1'b0;
        end else begin
            rst_ff1         <= 1'b1;
            sync_rst_clkb_n <= rst_ff1;
        end
    end
endmodule

How the parameters match this code:

  1. The instance of data_sync1 matches the *sync1* pattern inside the synchronize_cells parameter.
  2. The instance of rst_sync_macro matches the *rst_sync* pattern inside the reset_synchronize_cells parameter.
  3. When you run the custom_sync_dump goal, SpyGlass will capture these matched instances along with their source clock metadata and dump them safely into the generated SynchInfo file inside your workspace directory.

Using this structured method guarantees your design review team has a verifiable, single source of truth for all cross-domain paths in the SoC.

Hope this information is useful to you! Comment or email me if you need any support on setting up custom goals or handling tricky CDC patterns in SpyGlass.

155 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete
  6. This comment has been removed by a blog administrator.

    ReplyDelete
  7. This comment has been removed by a blog administrator.

    ReplyDelete
  8. This comment has been removed by a blog administrator.

    ReplyDelete
  9. This comment has been removed by a blog administrator.

    ReplyDelete
  10. This comment has been removed by a blog administrator.

    ReplyDelete
  11. This comment has been removed by a blog administrator.

    ReplyDelete
  12. This comment has been removed by a blog administrator.

    ReplyDelete
  13. This comment has been removed by a blog administrator.

    ReplyDelete
  14. This comment has been removed by a blog administrator.

    ReplyDelete
  15. This comment has been removed by a blog administrator.

    ReplyDelete
  16. This comment has been removed by a blog administrator.

    ReplyDelete
  17. This comment has been removed by a blog administrator.

    ReplyDelete
  18. This comment has been removed by a blog administrator.

    ReplyDelete
  19. This comment has been removed by a blog administrator.

    ReplyDelete
  20. This comment has been removed by a blog administrator.

    ReplyDelete
  21. This comment has been removed by a blog administrator.

    ReplyDelete
  22. This comment has been removed by a blog administrator.

    ReplyDelete
  23. This comment has been removed by a blog administrator.

    ReplyDelete
  24. This comment has been removed by a blog administrator.

    ReplyDelete
  25. This comment has been removed by a blog administrator.

    ReplyDelete
  26. This comment has been removed by a blog administrator.

    ReplyDelete
  27. This comment has been removed by a blog administrator.

    ReplyDelete
  28. This comment has been removed by a blog administrator.

    ReplyDelete
  29. This comment has been removed by a blog administrator.

    ReplyDelete
  30. This comment has been removed by a blog administrator.

    ReplyDelete
  31. This comment has been removed by a blog administrator.

    ReplyDelete
  32. This comment has been removed by a blog administrator.

    ReplyDelete
  33. This comment has been removed by a blog administrator.

    ReplyDelete
  34. This comment has been removed by a blog administrator.

    ReplyDelete
  35. This comment has been removed by a blog administrator.

    ReplyDelete
  36. This comment has been removed by a blog administrator.

    ReplyDelete
  37. This comment has been removed by a blog administrator.

    ReplyDelete
  38. This comment has been removed by a blog administrator.

    ReplyDelete
  39. This comment has been removed by a blog administrator.

    ReplyDelete
  40. This comment has been removed by a blog administrator.

    ReplyDelete
  41. This comment has been removed by a blog administrator.

    ReplyDelete
  42. This comment has been removed by a blog administrator.

    ReplyDelete
  43. This comment has been removed by a blog administrator.

    ReplyDelete
  44. This comment has been removed by a blog administrator.

    ReplyDelete
  45. This comment has been removed by a blog administrator.

    ReplyDelete
  46. This comment has been removed by a blog administrator.

    ReplyDelete
  47. This comment has been removed by a blog administrator.

    ReplyDelete
  48. This comment has been removed by a blog administrator.

    ReplyDelete
  49. This comment has been removed by a blog administrator.

    ReplyDelete
  50. This comment has been removed by a blog administrator.

    ReplyDelete
  51. This comment has been removed by a blog administrator.

    ReplyDelete
  52. This comment has been removed by a blog administrator.

    ReplyDelete
  53. This comment has been removed by a blog administrator.

    ReplyDelete
  54. This comment has been removed by a blog administrator.

    ReplyDelete
  55. This comment has been removed by a blog administrator.

    ReplyDelete
  56. This comment has been removed by a blog administrator.

    ReplyDelete
  57. This comment has been removed by a blog administrator.

    ReplyDelete
  58. This comment has been removed by a blog administrator.

    ReplyDelete
  59. This comment has been removed by a blog administrator.

    ReplyDelete
  60. This comment has been removed by a blog administrator.

    ReplyDelete
  61. This comment has been removed by a blog administrator.

    ReplyDelete
  62. This comment has been removed by a blog administrator.

    ReplyDelete
  63. This comment has been removed by a blog administrator.

    ReplyDelete
  64. This comment has been removed by a blog administrator.

    ReplyDelete
  65. This comment has been removed by a blog administrator.

    ReplyDelete
  66. This comment has been removed by a blog administrator.

    ReplyDelete
  67. This comment has been removed by a blog administrator.

    ReplyDelete
  68. This comment has been removed by a blog administrator.

    ReplyDelete
  69. This comment has been removed by a blog administrator.

    ReplyDelete
  70. This comment has been removed by a blog administrator.

    ReplyDelete
  71. This comment has been removed by a blog administrator.

    ReplyDelete
  72. This comment has been removed by a blog administrator.

    ReplyDelete
  73. This comment has been removed by a blog administrator.

    ReplyDelete
  74. This comment has been removed by a blog administrator.

    ReplyDelete
  75. This comment has been removed by a blog administrator.

    ReplyDelete
  76. This comment has been removed by a blog administrator.

    ReplyDelete
  77. This comment has been removed by a blog administrator.

    ReplyDelete
  78. This comment has been removed by a blog administrator.

    ReplyDelete
  79. This comment has been removed by a blog administrator.

    ReplyDelete
  80. This comment has been removed by a blog administrator.

    ReplyDelete
  81. This comment has been removed by a blog administrator.

    ReplyDelete
  82. This comment has been removed by a blog administrator.

    ReplyDelete
  83. This comment has been removed by a blog administrator.

    ReplyDelete
  84. This comment has been removed by a blog administrator.

    ReplyDelete
  85. This comment has been removed by a blog administrator.

    ReplyDelete
  86. This comment has been removed by a blog administrator.

    ReplyDelete
  87. This comment has been removed by a blog administrator.

    ReplyDelete
  88. This comment has been removed by a blog administrator.

    ReplyDelete
  89. I could not refrain from commenting. Perfectly written!

    ReplyDelete
  90. Pretty! This has been an incredibly wonderful article.
    Many thanks for providing this info.

    ReplyDelete
  91. There's definately a great deal to know about this topic.
    I love all the points you've made.

    ReplyDelete
  92. You're so cool! I do not think I have read through anything like this before.

    So good to discover someone with a few genuine thoughts on this
    subject. Seriously.. many thanks for starting this up.
    This site is something that's needed on the web, someone
    with a little originality!

    ReplyDelete
  93. Right here is the right webpage for anybody who wishes to find out
    about this topic. You realize a whole lot its almost tough to argue with you (not that I actually would want to…HaHa).

    You definitely put a fresh spin on a topic that's been written about for many years.
    Wonderful stuff, just wonderful!

    ReplyDelete
  94. An intriguing discussion is worth comment. There's no doubt that that you ought to write more about this subject matter, it might not be a taboo matter but typically people
    don't speak about these subjects. To the next!
    Many thanks!!

    ReplyDelete
  95. This page certainly has all of the information and facts I
    wanted about this subject and didn’t know who to ask.

    ReplyDelete
  96. I need to to thank you for this good read!!

    I definitely loved every little bit of it. I have got you saved as a
    favorite to look at new stuff you post…

    ReplyDelete
  97. I’m impressed, I must say. Rarely do I encounter a blog that’s equally educative and interesting, and
    without a doubt, you've hit the nail on the head. The problem is something which not enough
    folks are speaking intelligently about. I'm very happy I stumbled
    across this during my search for something regarding this.

    ReplyDelete
  98. I really like it when folks come together and share opinions.
    Great website, continue the good work!

    ReplyDelete
  99. Spot on with this write-up, I absolutely believe this website needs far more attention. I’ll probably be returning to see more,
    thanks for the advice!

    ReplyDelete
  100. I'd like to thank you for the efforts you've put in writing this website.
    I really hope to view the same high-grade content from you in the future as well.

    In truth, your creative writing abilities
    has encouraged me to get my own, personal blog now ;)

    ReplyDelete
  101. Right here is the perfect website for everyone who really wants to find out about this topic.

    You know so much its almost hard to argue with you (not that I really will need to…HaHa).
    You certainly put a brand new spin on a topic that has been written about for ages.
    Great stuff, just excellent!

    ReplyDelete
  102. You made some really good points there. I looked on the net for more info about the
    issue and found most people will go along with your views on this site.

    ReplyDelete
  103. Very good information. Lucky me I came across your blog by
    accident (stumbleupon). I've book-marked it for later!

    ReplyDelete
  104. I wanted to thank you for this very good read!!
    I absolutely enjoyed every little bit of it. I have got you bookmarked to
    look at new stuff you post…

    ReplyDelete
  105. Excellent article! We are linking to this particularly great post on our site.
    Keep up the good writing.

    ReplyDelete
  106. Spot on with this write-up, I really believe that this website needs a lot more attention.
    I’ll probably be returning to see more, thanks for the advice!

    ReplyDelete
  107. Hello there! I simply want to offer you a big thumbs up for your
    excellent information you've got here on this post. I'll be
    returning to your blog for more soon.

    ReplyDelete
  108. This is the right web site for everyone who really wants to understand this topic.

    You understand a whole lot its almost hard to argue with you (not that I actually would want to…HaHa).
    You certainly put a brand new spin on a subject that's been discussed
    for a long time. Great stuff, just great!

    ReplyDelete
  109. Spot on with this write-up, I actually feel this website
    needs much more attention. I’ll probably be returning to read
    more, thanks for the information!

    ReplyDelete
  110. I really love your blog.. Very nice colors & theme. Did you build this web
    site yourself? Please reply back as I’m looking to create my own website and want to learn where you got
    this from or exactly what the theme is named. Cheers!

    ReplyDelete
  111. Having read this I believed it was really informative.
    I appreciate you taking the time and effort to put this
    information together. I once again find myself personally
    spending a lot of time both reading and posting comments.
    But so what, it was still worth it!

    ReplyDelete
  112. Everything is very open with a really clear description of the challenges.
    It was really informative. Your website is useful.

    Thank you for sharing!

    ReplyDelete
  113. Pretty! This was an incredibly wonderful article. Thanks for supplying these details.

    ReplyDelete
  114. I have to thank you for the efforts you have put in penning this blog.
    I am hoping to see the same high-grade blog posts by you later on as well.
    In fact, your creative writing abilities has inspired me to
    get my own, personal site now ;)

    ReplyDelete
  115. An intriguing discussion is worth comment. I believe that
    you ought to publish more on this issue, it might not be a taboo matter but
    typically folks don't speak about such issues.
    To the next! Kind regards!!

    ReplyDelete
  116. There is certainly a great deal to find out about this topic.
    I love all the points you made.

    ReplyDelete
  117. I truly love your website.. Great colors & theme. Did you create
    this web site yourself? Please reply back as I’m hoping to
    create my own site and would like to learn where you got this from or just what the
    theme is named. Many thanks!

    ReplyDelete
  118. This is a topic that's close to my heart... Many thanks! Where are
    your contact details though?

    ReplyDelete
  119. I really like it when individuals get together and share views.
    Great site, continue the good work!

    ReplyDelete
  120. Pretty! This has been an extremely wonderful article.

    Thank you for supplying this info.

    ReplyDelete
  121. Good post. I learn something totally new and challenging on sites I stumbleupon every day.

    It will always be interesting to read articles from other authors and use a little something from other websites.

    ReplyDelete
  122. This website definitely has all of the information I needed about this subject and
    didn’t know who to ask.

    ReplyDelete
  123. I want to to thank you for this wonderful read!! I absolutely loved
    every bit of it. I have got you book-marked to check out new things you post…

    ReplyDelete
  124. When I originally left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I receive 4 emails with the exact same comment.
    Is there an easy method you are able to remove me from that service?
    Thank you!

    ReplyDelete
  125. Good blog post. I definitely appreciate this site. Keep it up!

    ReplyDelete
  126. Way cool! Some extremely valid points! I appreciate you writing this post and also the rest of the site is also really
    good.

    ReplyDelete
  127. I’m impressed, I have to admit. Seldom do I come across a blog that’s
    both educative and interesting, and without a doubt, you've hit the nail on the head.
    The issue is something not enough folks are speaking intelligently about.
    I'm very happy that I stumbled across this in my search for something regarding this.

    ReplyDelete
  128. Very good article. I'm dealing with a few of these issues as well..

    ReplyDelete
  129. I need to to thank you for this good read!! I certainly loved every
    bit of it. I have got you saved as a favorite to look at new things you post…

    ReplyDelete
  130. It’s hard to find educated people about this subject, but you sound like you know what you’re talking about!
    Thanks

    ReplyDelete
  131. The next time I read a blog, I hope that it does not fail me as much as this one.
    After all, I know it was my choice to read through,
    but I actually thought you would probably have something helpful
    to talk about. All I hear is a bunch of crying about something that you can fix
    if you weren't too busy searching for attention.

    ReplyDelete
  132. Very good article. I definitely love this site. Continue the good work!

    ReplyDelete
  133. Hey there! I just want to give you a huge thumbs up for the excellent info you have got here on this post.

    I'll be coming back to your site for more soon.

    ReplyDelete
  134. Howdy! This blog post could not be written much better!

    Going through this article reminds me of my previous
    roommate! He constantly kept preaching about this.
    I'll forward this article to him. Pretty sure he will have
    a very good read. Thanks for sharing!

    ReplyDelete
  135. I love it when folks get together and share views.
    Great site, keep it up!

    ReplyDelete
  136. Very good info. Lucky me I ran across your site by chance
    (stumbleupon). I have saved as a favorite for later!

    ReplyDelete
  137. Spot on with this write-up, I honestly believe this web site
    needs a lot more attention. I’ll probably be returning to see more, thanks for the advice!

    ReplyDelete
  138. An intriguing discussion is definitely worth comment. I think that
    you should write more on this subject, it may not be a taboo subject but generally folks don't discuss such topics.
    To the next! Best wishes!!

    ReplyDelete
  139. Your style is unique compared to other folks I've read stuff from.
    Many thanks for posting when you have the opportunity,
    Guess I'll just book mark this web site.

    ReplyDelete
  140. The next time I read a blog, I hope that it does not disappoint me
    as much as this one. I mean, Yes, it was my choice to read
    through, however I truly believed you would have something useful to talk about.
    All I hear is a bunch of complaining about something you could fix
    if you were not too busy searching for attention.

    ReplyDelete
  141. I couldn’t refrain from commenting. Perfectly written!

    ReplyDelete
  142. I blog quite often and I truly appreciate your information. The article has truly peaked my interest.
    I will book mark your blog and keep checking for new information about once per week.

    I subscribed to your Feed as well.

    ReplyDelete
  143. Hello! I just wish to offer you a huge thumbs up
    for the excellent info you've got here on this post.
    I will be coming back to your website for more soon.

    ReplyDelete
  144. Excellent blog you have here.. It’s hard to find high-quality writing like yours these
    days. I honestly appreciate individuals like you! Take care!!

    ReplyDelete
  145. This is a great tip particularly to those fresh to the blogosphere.
    Simple but very precise information… Appreciate your sharing this one.
    A must read post!

    ReplyDelete
  146. I’m impressed, I must say. Rarely do I encounter a blog that’s both equally educative and amusing, and let me tell you, you have hit the nail on the head.
    The issue is something which not enough men and women are
    speaking intelligently about. I'm very happy that I stumbled across this in my search
    for something regarding this.

    ReplyDelete
  147. Your style is very unique compared to other people I've read stuff from.
    Thank you for posting when you have the opportunity, Guess I will just book mark this site.

    ReplyDelete
  148. I really like it when folks get together and share views.
    Great blog, keep it up!

    ReplyDelete
  149. This is a topic that's near to my heart...

    Thank you! Where are your contact details though?

    ReplyDelete
  150. Your style is very unique in comparison to other
    folks I've read stuff from. Many thanks for posting when you've got the opportunity, Guess
    I will just book mark this page.

    ReplyDelete
  151. This site was... how do you say it? Relevant!! Finally I have found something which helped me.
    Thanks!

    ReplyDelete
  152. Hello! I could have sworn I’ve been to this web site before but after browsing through some of the posts I realized it’s new to me.
    Regardless, I’m certainly delighted I came across it and I’ll be book-marking it and checking back regularly!

    ReplyDelete
  153. A fascinating discussion is worth comment. I believe that you need to
    publish more on this subject matter, it might not be a taboo subject
    but typically folks don't speak about such
    subjects. To the next! All the best!!

    ReplyDelete
  154. I was extremely pleased to discover this great site. I need to to thank you for your time due to this wonderful read!!

    I definitely enjoyed every bit of it and i also have you book marked
    to check out new things in your site.

    ReplyDelete
  155. I truly love your blog.. Pleasant colors & theme.
    Did you make this website yourself? Please reply back as I’m trying
    to create my own personal site and would like to know where you got this from or exactly what the theme is
    called. Many thanks!

    ReplyDelete

SiteMap