• 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. Custom IC Design
  3. how to overwrite veriloga code in cadence

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 13813
  • 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

how to overwrite veriloga code in cadence

black tea
black tea over 9 years ago

Dear all,

I use one gain control which write by verilog-A code.  After I create the symbol for the code and use it for simulation, no matter what change i did for the code, there is no change for the gain control. For example, at first I set the gain is 100, save and create the symbol, then use it for simulation, but I find this gain isn't enough, I want to change the gain to 200, but when I change the gain number in verilog-A file and save. these still no change when I simulation. I create a new one for every change, it makes me crazy.......So I want to know how to overwrite the verilog-A code instead of  create a new one in cadence.

Thanks a lot,

kind Regards.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago
    Are you editing the file outside of Virtuoso? If so, you'd probably need to force spectre to stop before you re-run. If you change it within Virtuoso it would detect that the cellView changed and would cause spectre to re-start. However, simply doing simulation->stop should solve this. By default spectre keeps running to allow it to efficiently do parameter changes without needing to restart from scratch, and this may be what you're seeing. I'm guessing a bit here because you didn't say much about versions, your setup, or anything in fact...
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • black tea
    black tea over 9 years ago
    Yes, I edit them out of Virtuoso, because I don't know how to change the code in virtuoso. Could you show me some picture that finger out how to change the code in Vistuoso. Thanks again.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Either do Right Mouse->Open in the Library manager over the view, or File->Open->CellView in the CIW. This should bring up an editor. If it's an older version, it will bring up whatever editor you have configured (via the $EDITOR UNIX env var, or the editor SKILL variable), but if using IC616 ISR7 (I think) or later, there is a built-in editor in Virtuoso for these views.

    You need to save and exit the editor which is launched (if using a version before the built-in editor) to have Virtuoso detect the change and re-check the file for syntax and identify the inputs and outputs and also to mark the cellView as having been changed.

    Regards,

    Andrew.

    • 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