Home > Community > Blogs > Custom IC Design > things you didn t know about virtuoso parameterization
 
Login with a Cadence account.
Not a member yet?
Create a permanent login account to make interactions with Cadence more conveniennt.

Register | Membership benefits
Get email delivery of the Custom IC Design blog (individual posts).
 

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

Things You Didn't Know About Virtuoso: Change is Here to Stay

Comments(4)Filed under: Custom IC Design, Virtuoso, IC 6.1.4, Virtuoso Analog Design Environment, IC 6.1, analog, ADE, ADE-XL, Analog simulation, ADE-GXL, IC 6.1.5, Virtuoso IC6.1.5, custom/analog, Analog Design Environment, Analog Design Environment, IC615, Variability Aware Design, variability, change, variation

Speaking of variation -- and isn't everyone these days -- something strikes me in reading about all the powerful and elegant features of corners management and statistical analysis.  After all the simulations are run and the results are presented, unless you've managed to hit a bullseye on the first design you tried (good luck with that), you're probably going to have to change something in the circuit in order to turn all those lights green.  (Of course, you'll only see that lovely green coloring --or the not-so-desirable yellow and red coloring--if you're using specifications in ADE XL).

We'll talk in a later article about the features that will help you figure out what circuit values to change.  Today I want to focus on how to change them. 

You could use the brute force method -- select devices on the schematic, edit their values, save the schematic, then resimulate.  It's fairly tedious and you have no record of what combinations you've tried.  I'll bet you're jotting down notes on little pieces of paper to keep track, aren't you?

Or you could get a bit fancier and edit the schematic to assign design variables to critical device properties.  That allows you to change those variable values from within ADE XL using all its different analysis types.  A very useful approach, but you still have to edit the schematic to set everything up and then edit it again once you've settled on the correct device values.

Which brings me to the subject of this article -- an Extremely Useful Feature in ADE XL which is also, sadly, one of the least known. ADE XL allows you to change the values of device instance parameters without having to edit the schematic.  You can then easily run sweeps and corner simulations, do sensitivity analysis and circuit optimization without touching your schematics. And ADE XL's simulation history enables you to keep track of what experiments you've tried and what the results were.  And yes, it takes care of triggering the callbacks at the appropriate time so the netlist is accurate.

Let's take a look at how to do this...

Creating Parameters

Parameters are created using the Variables and Parameters Assistant (VPA).  Because the parameters are associated with device instance properties, you need open the VPA from a schematic.  Start with an ADE XL setup, then use either File->Open... or RMB->Open Design in Tab on the test name in the Data View Assistant (and possibly descend the hierarchy) to get to the schematic containing the devices whose values you want to vary.  Now open the Variables and Parameters Assistant.

Devices you select in the schematic will show up in the top half of the VPA with their editable CDF properties.  Select one or more of these properties -- for example, length and finger width -- and RMB->Create Parameter.  At the bottom of the VPA (and in the Parameters section of the Data View Assistant), you'll see something that looks like "M7/l" and "M7/fw".  If you hover over them, you can see that it keeps track of the library/cellname/view of the schematic they come from (in case you parameterize "M7" in multiple blocks).  These can now be treated just like any other variables. 

You can change their values.  You can assign them a list of values (1u,2u,3u) or a range of values (1u:1u:10u) to perform a sweep.  You can access them in the Corners UI to change their values in corners simulations.  You can use them in Sensitivity Analysis to better understand their impact on each circuit specification.  You can use Global or Local Optimization to vary the values in order to find a design that meets all your specs across corners. 

Parameter Relationships

The VPA also has 2 buttons at the top that let you create matching and ratio relationships between parameters.  Simply select the devices in the schematic, expand one of them in the top part of the VPA, select the properties you want to be matched amongst the devices, and click the "Match Parameters" button at the top (sort of looks like 2 blue boxes with a red equals sign between them).  In the bottom section of the VPA, you will see that one device will have a value (e.g. M7/fw = 2u) and the other(s) will be matched to it (e.g. M6/fw = M7/fw@ ).  Now you only have to vary the value on one device and the others will vary with it.

Similarly, the "Ratio Matched Parameters" button (looks like "1:n") will create a ratioed relationship based on the lowest value.

What's Next?

Once you start using these handy parameterization techniques, you can quickly find yourself awash in results from all your "what-if" simulations. Next time, I'll talk about some convenient ways of managing all these different sets of parameter values. 

For now, we'll skip ahead to the ultimate goal of this whole exercise -- you've found a circuit design that meets all your specifications across all the required corner and statistical conditions.  Hooray!   Now, it's time to edit your schematic to capture those golden device values.  But you don't have to manually edit the properties of each transistor to do that.  Just look at the ADE XL Result panel and find those good simulation results (it's easy--they're the ones that are all green!).  Now RMB->click on the grey line just above those results and select Backannotate.  The values will be written back to the appropriate devices on the schematic, including any matching or ratioing relationships you had made, and triggering any relevant callbacks.

For More Information

Details about how to create and work with device instance parameterization can be found in the ADE XL User Guide, the ADE XL Quick Start and this video.

Stacy Whiteman

Comments(4)

By Stephan on June 24, 2012
Hi, I like the VPA, and the ratio matching works magically great - saves a lot of work which would be otherwise up to the user. However, I wonder how to save e.g. the values for backannotation to another version like schematic_opt4BW or so? Or how I can reuse a parametrization done e.g. for an op-amp input to the input stage of another op-amp (or whatever)?

By stacyw on June 26, 2012
Hi Stephan,  Thanks for the feedback.  You are right.  This feature could be made more flexible with respect to reuse.  However, I do find that if I copy an adexl view from one cell (device-under-test) to another and use the "update instances" checkbox in the library manager copy form, the device parameterization is re-referenced to the new device-under-test cellview.  Obviously, the instance names must match for the parameterization to take effect, but it is a good way to reuse parameterization setups when circuit blocks are very similar.    

By Will on October 31, 2012
Hello Stacy,
I am playing with the feature. It looks very useful! After I match two devices, is there a way for me to un-match them later? Do I just delete the parameter?
Also, after matching the devices, it seems I can still change the parameters on the schematics at will, and the netlist only reflects values on the schematic. The matching parameters don't show up at all. Am I doing something wrong?
Regards,
Will

By stacyw on December 5, 2012
Hi WIll,  Device parameterization is controlled by the checkboxes in the Parameters section of the Data View.  In that way you can enable and disable which parameters will be used during netlisting.  So to un-match, you can either delete the parameter or just disable it.  The only reason I can think that they would not show up is if the checkbox for the Parameters section is not checked.  You should see the parameters show up at the top of your netlist.

Leave a Comment


Name
E-mail (will not be published)
Comment
 I have read and agree to the Terms of use and Community Guidelines.
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.