• 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. Mixed-Signal Design
  3. Verilog-ams generate-for loop with schematic reference

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 64
  • Views 8383
  • 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

Verilog-ams generate-for loop with schematic reference

SimbaG
SimbaG over 2 years ago

Similar Thread: https://community.cadence.com/cadence_technology_forums/f/mixed-signal-design/46762/verilogams-generate-for-loop-with-analog-behavioural-block

Hi all,

Firstly, thank you for reading.

I have a similar question, but this time, I reference a Virtuoso schematic instead of another AMS.

Following Andrew's suggestion, I add a dummy instance outside of the generate loop. Then I can see the cell I want to reference in Hierarchy Editor.

I set: View list: spectre schematic spice pspice verilog verilogams behavioral functional systemVerilog schematic veriloga vhdl vhdlams wreal

And for specify the cell bindings, I use the Table View in Hierarchy editor and force the view referenced by the generate loop to use the schematic view.

I make sure the REF_CELL only includes two views: schematic and symbol. So, I hope the AMS can auto-detect that there is only one view is able to use.

However, the schematic cannot be resolved automatically.

@Array_8x8<module>.genblk1[0].genblk1[0].U_CELL' of design unit 'REF_CELL ' is a leaf instance and is unresolved in cellview 'B_Array.Array_8x8:verilogams'. Ensure that the design unit is either pre-compiled or its corresponding text file is specified for compilation. Also, check the binding for this instance in Cadence Hierarchy Editor to confirm if it is set to externalHDL or addStopPoint or if nlAction is set to 'stop' for the specified instance.

How to specify the view to use for generating block? Is the only way manually unroll the loop? Any tools can help to do unrolling?

Env:

Spectre (R) Circuit Simulator
Version 20.1.0.382.isr12 64bit

Virtuoso IC6.1.8-64b.500.27

xrun(64): 20.03-s009

Thanks and best regards,

Simba

  • Cancel
Parents
  • SimbaG
    SimbaG over 2 years ago

    I tried to have a workaround based on Andrew's solution, to wrap the schematic with an AMS module in a new cell view.

    But still have similar issue, should for-generate loop be avoided in Virtuoso?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • SimbaG
    SimbaG over 2 years ago

    I tried to have a workaround based on Andrew's solution, to wrap the schematic with an AMS module in a new cell view.

    But still have similar issue, should for-generate loop be avoided in Virtuoso?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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