Posts

Showing posts with the label spectre

Be the Chief Operations Officer of Your Group - Watch License Costs

Image
You've heard it before - we budget for the future based on the past. But, do we ask why past usage was so high? Ever logged in the next day to pick up where you left off and found a schematic window in Edit mode - yup, feel guilty! But, going forward, you let the friendly auto-make-read-only daemon come to your rescue. Any schematic or symbol view that's not in read-only mode, will (if necessary), be saved and the changed to Read-Only if it's been more than five minutes since the last edit. Get it here : https://github.com/ananthchellappa/SKILL/blob/main/utils/auto_RO.il

OSSHNL-366 and DB-270337

Image
Seeing something similar to ERROR (OSSHNL-366): Netlisting failed because the instance 'I15' in cellview 'mylib/mycell/schematic' is bound to an invalid placed master 'reflib/refcell/symbol'. *WARNING* (DB-270337): dbGetInstHeaderMaster: Failed to open cellview 'refcell symbol' from library 'reflib' in read-only mode because the cellview does not exist. This cellview was instantiated in  cellview 'mycell schematic' of library 'mylib'. Ensure that the cellview exists in the library. What the AE first told me to try : make sure that symbol view is checked in. That was a revision-controlled branch-terminated lib BTW.  Creating the symbol view did work - to get a netlist (this was a failure at netlisting BTW) And then, found that I was running spectre when I meant to run AMS. So, what actually happened - I tried to clone a working AMS setup that wasn't giving this error. The primitive in question has only a verilog view (no symbol...

Speeding Up Your Transient Noise Simulation in Spectre (Hint: Dyn Param : isnoisy)

Image
When transient noise is enabled, the simulation runs much slower. My question is, since there may be startup phases that the circuit needs to go through to arrive at the state in which the transient noise analysis is useful, is it possible to tell spectre to introduce the transient noise starting at a specific time? For example, simulation runs till 10 us. Begin transient noise at 5 us. Yes, you just use the Dynamic Parameter feature available in the Analyses form. Thank you Udit. What about the Cadence Online Support Search and Gen AI not offering up this solution when one searches for "is it possible to introduce transient noise into spectre simulation starting from certain timepoint?" Ans: Till fixed, try different wordings. In this case, "how to introduce transient noise during specific time window" *does* serve up the solution

Don't Miss Out! Spectre Version 25 Is Available

Image
Go to downloads.cadence.com for the latest Spectre - v25!

Checkboxes in the Reference Histories Dialog

Image
If you're like me and like to blow up fonts to make it easier on your eyes, you've had this problem too - the forms don't adjust to fit the non-default text. Some of the checkboxes and GUI items are accompanied by tooltips, but these three at the top aren't. So, here you are: There are three checkbox labels at the top: Use reference results Use reference netlist Use reference history for restart  

I Want to Save Operating Point Info At Certain Time Points of a Transient Run In Spectre. How to Fill Out the ADE Transient Options Form?

Image
You won't find it written down anywhere, but, you HAVE to have the box checked for "Save Final Op Pt". How are you supposed to know that? IDK. Why Cadence can't after 30 or 40 years give you a tooltip when you enter value into the infotimes field? IDK. So, if you're running to 10 us and you want to be able to look at OP info at 1 us (say) and you DON'T care about final OP (at 10 us), you still have to check that box and enter 1 us in the infotimes field. And you're good to go. Sim done, go to Results > Annotate > Transient Operating Point Info and choose the correct time in the resulting dialog.

Help - I Get Nothing Out of a Block and a Signal Connected to that Block is Not Available for Plotting

Image
A classic case of having an empty schematic view. You used APS, didn't you? It throws away voltage sources that are connected to nothing. So, check the schematic. Maybe you meant to use the veriloga view.

Resources Saving Hacks You Don't Want to Miss Out On When Running Monte-Carlo

Image
BLUF : Ensure you turn OFF (uncheck the checkbox) saving of final OP point (if your MC involves transient analysis) and ensure the Simulation > Options > Analog > Check does not have "both" or "file" for destination (disk usage) What's bad (or good) about the default setup? It saves the final Operating Point (OP) in a transient sim It writes assert information to the log file (note, you need it in the sqldb for the Device Checks to be useful) Now, given that the Monte Carlo setup is so nice as to NOT save all (but only explicitly selected) waveforms (even though the setup in ADE says to Save All) unless told to, why can't it do the same with the mostly (in MC) information that's generated from the default setup (see above two bullets)

HIdden States in Your Behavioral Model

Image
Rewrite the module to remove the hidden state or if you confirm this hidden state will not affect the simulation result, you can ignore those hidden states in RF analysis by adding attribute 'ignore_hidden_state' before the module declaration. For example,  (* ignore_hidden_state *) module moduleA Yes, that's the exact syntax you need to use - that line works so much magic. It's strange that Cadence would offer behavioral models to customers in its ahdlLib library that aren't "ready to roll" in terms of NOT having hidden states. https://designers-guide.org/analysis/PLLnoise+jitter.pdf https://community.cadence.com/cadence_technology_forums/f/rf-design/26712/how-to-avoid-hidden-state-in-veriloga-model-for-spectrerf

Wait, Which Version of the Tool Did Your EDA Folks Install?

Image
Do you get a pop up with this message, when you click the Run button in Assembler? ERROR (ASSEMBLER-1613): Following tests use older version of Spectre <list of tests> Make sure to use MMSIM60 or above for these tests. Look in your CIW for a message about setenv and spectre.dat. If the path it mentions contains tools.lnx86 and you don't see that folder in your file-system, it may mean the installation (that is, which <tool name> returns *some* thing) was for the wrong processor. That's possible - if it's just about downloading a binary - the vendor isn't going to give you the source to build 😊

When You Want to Get Cycle-to-Cycle Jitter at PLL Output Due to the Reference Oscillator

Image
Caution - the script does not provide the correct result. You expect cycle-to-cycle to be a high-frequency phenomenon - and therefore, to not depend on the oscillator phase-noise or jitter. But the script will show a large value for c2c jitter on the PLL output. If you can figure it out, please post/comment. Designers Guide : Phase Noise and Jitter prediction , by Ken Kundert Converting Phase Noise to Cycle-to-Cycle Jitter in a PLL When designing or analyzing phase-locked loops (PLLs), one key metric of interest is the RMS cycle-to-cycle jitter at the output. Given phase noise data (typically in dBc/Hz) for the reference oscillator, how do we estimate the jitter after the PLL processes it? 🎯 Goal Estimate RMS cycle-to-cycle jitter (in seconds or picoseconds) at the output of a PLL , based on: Measured or simulated phase noise data (dBc/Hz vs. offset frequency) PLL dynamics: natural frequency ( fn ), damping ratio ( ζ ), divider ratio ( N ) Carrier frequency ( fc ) ...

spectre CMI-2116 Too Few Terminals

Image
ERROR (CMI-2116): I1: Too few terminals given (0 < 3). In my case, the line in the netlist for the veriloga current mirror had only the cell name. I had just copied symbol and veriloga view from another library. It might help to open up the veriloga view and do an "Extract components and nets". That took care of it in my case.

Jitter - How to Characterize Your Oscillator or Clock Source

Image
You can plot instantaneous frequency using freq(). You can plot the cycle-to-cycle jitter using period_jitter(). That gives you a nice waveform containing all the sample values. But, now, you need to report the standard-deviation of the samples. What can you do? Fortunately, the ViVA Calculator has you covered. Change default from Population to Sample and Set Continuous to No so that, in the the buffer, you see something like: stddev(period_jitter(clip( VT("/clk") 200n nil) "rising"  ?mode "auto"   ?binSize 0 ?xName "time"   ?outputType "plot"  ) ?type "sample" ?continuous nil ) And you're done.

One Simple Tip to Plot Buses Easier

Image
What is it? Set this in your .cdsenv (if you want to put it in your .cdsinit , it'll have to be an envSetVal ) (How would you know about this? From the User Guide section on Environment Variables . Thank you Shyam K. Gupta) auCore.selection includeAsBundle boolean nil Why? Because, if you're into making life easier, you want to press one shortcut (I use CTRL+4) to go into "Select signals to plot" mode and then, after you're done, press ESC to get your selection plotted.  What can get in your way with the default setup? Buses are the run. If you want to plot all bits, you can click on a blank area in your schematic and press ALT+A to select all bits. But.. At some point, Cadence introduced this "Include as bundle" thing that prevents you from just clicking on the OK button (through a bindkey) Therefore, if you DON'T uncheck it, and say OK, you'll get some indecipherable error in your CIW.  So.. Hope this helps. To spell out my workflow...