• 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 Inject Variable into pPar() for Parameter Sweep in...

Stats

  • Replies 1
  • Subscribers 125
  • Views 1181
  • Members are here 0

How to Inject Variable into pPar() for Parameter Sweep in ADE Assembler?

baltaci
baltaci 4 months ago

Hello,

I use IC 23.1.

I’m trying to sweep a parameter in a cell using pPar, and I can’t get the variable injection to work as expected.

Setup

  • In my cell unitCapCell, I define a parameter like this:

    capValue = pPar("capOverride")
    
  • In my testbench tb_unitCapSim, I instantiate unitCapCell.

  • I create a global variable myCap in the Maestro view.

  • Then, in the instance of unitCapCell, I set:

    capOverride = myCap/64 (or simply myCap)
    

Problem

  • I want to sweep capOverride by sweeping myCap, but the value doesn't seem to propagate.

  • If I hardcode capOverride = 200f, it works — but then I can't sweep it.

  • If I use capOverride = myCap, the value isn’t passed to capValue.

Question

How can I correctly inject myCap into capOverride so I can sweep it at the top level?

Thanks for your help!

  • Sign in to reply
  • Cancel
  • Saloni Chhabra
    Saloni Chhabra 4 months ago

    It sounds like a setup problem and it'll be helpful to see images of the design and setup. Perhaps, you can start by referring to a working example with pPar here (it might resolve your issue) :

    Passing Parameters in the Schematic Hierarchy with pPar

    Regards,
    Saloni

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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