• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Digital Implementation
  3. Problems with synthesis using RTL compiler and PKS

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 91
  • Views 13959
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems with synthesis using RTL compiler and PKS

Renee
Renee over 17 years ago

I used both PKS and RTL compiler to synthesize a verilog file, then used the .v file to do place and route with soc encounter. When I do post-layout simulation, I find that the routing result file using .v file generated by PKS produced the right result, while the one using .v file generated by RTL compiler cannot produce the right result, because the synthesis result from RTL compiler contained:

  assign SelExt = IR[15];
  assign SelV0 = SelC0;
  assign SelZ0 = SelC0;
  assign SelZ = SelC;
  assign SelV = SelC;

Then after routing, when I do extraction, there are only SelZ, SelZ0 and SelExt signals left, while SelC, SelC0, SelV and SelV0 are deleted as being the same nets, so it caused problems of not matching the IO list of the module when I simulate.

 Then I tried with another behavioural design, similarly the routing result using PKS as synthesis tool produced the right result, while the one using RTL compiler failed to pass the simulation. But this time, it did not have the same nets problem, just not being able to produce the right result.

 I don't understand. Is that possible that using PKS and RTL compiler synthesize the same design while the files did not have the same function? Or I made mistakes? (I used the same process to do place and route and except the .v file, the two designs have the same other files)

  Thank you!

 

  • Cancel
  • BobD
    BobD over 17 years ago

    Hi Renee,

    I'm not sure I follow everything you've said completely, but It sounds like PKS is removing assign statements whereas RTL Compiler is not and it is causing problems downstream.

    The first thing I'd do as a test is to ask RTL Compiler to remove assign statements prior to writing out a .v.  I'm not an RTL Compiler user, but I *think* the command is "remove_assigns".  I'll check with an RTL Compiler expert whether this is the recommended approach.

    The next thing to be aware of is that SoC-Encounter has a few different ways of dealing with assign statements.  The "setDoAssign" command influences this behavior (which is stored as "rda_Input(assign_buffer)" in your SoC-Encounter .conf file.  Have a look at the FE Text Command Reference for this command to see what each option does.  In short, when problems like these arise I find it expedient to:

    1. Remove assign statements in synthesis. -or-
    2. Remove assign statemetns by way of buffer insertion in SoC-Encounter (ie, "setDoAssign on -buffer <buffer_name>")

    Hope this helps,
    Bob

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • grasshopper
    grasshopper over 17 years ago

     Hi Renee,

     

    not sure what you mean by "right" results. As it was already mentioned, assign removal can be handled in a variety of ways. The previous post mentioend the approaches available using Encounter. In RC, you can use remove_assigns and in PKS there is a variable to enable/disable this capability. As per failing gate level simulation, I suggest you use an equivalence checking tools such as Conformal LEC or Formality altough my experience is that Formality is not very good without side files hence has a hard time validating RC netlists. Such tools provide a much more exhaustive and safe way to validate RTL vs. Netlist functionality. Some of the failure on your gate level sims could also be related to timing and not at all with functionality. An EC tool will quicklyl validate that for you. As per PKS and RC behaving differently, there are ultimately different tools hence they could behave differently but neither ones should produce logical bugs.

     

    hope this helps,

    gh-

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information