Posts

Showing posts with the label ken kundert

What Should You Do to Get the Most Out of Your Time and Resources (Simulations)

Image
If you haven't checked out Greg Wilson's presentation , spend 15 minutes on that. It's well worth it. Philosophy Think global, act local Do your top-level sim from day 1. This is the agile methodology. Use simplified views for cells to ”act local” (This top-level approach concept was from a Chinese design manager from NXP-Freescale. Same guy who used to advise making every cell's dimensions multiples of the digital standard-cell, to enable super compact layouts) Block-level sim should have only one Design Under Test (DUT). Don’t ”verify” hookup in a ”block-level sim”. That should always use the actual hookup — i.e., full-chip, with unneeded cells bound-to-open in the Hierarchy Editor (yes, deactivation (SHlFT—DEL) is found to be necessary because of Cadence limitations —slowdown with a large design) Keep thinking flexible. It’s okay to admit a past workflow was inferior and embrace new methodology. It takes moral courage Spectre Use spectre as much as possible (i.e., av...

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...

See if Your Oscillator Stops - By Capturing Last Time Point in the Frequency Waveform

Image
You really wish they had something easier on the eyes, but they done. This is the way to get the x-value of the last point in the waveform. Click to copy Copied!

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

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 ) ...

Plotting Device Parameters (gm, vdsat, etc) Vs Time or Temp

Image
I feel like this has gotten more complicated. I think it might have been easier 10 years ago. Then again, I could be w. Go to resource: How to save and plot operating point parameters for Spectre simulator from ADE Explorer/Assembler In Explorer, you go to Outputs > To be Saved > Select OP Parameters Now, the schematic window is active and you can click on instances and each gets highlighted as you do. These get populated in the Assembler Outputs Setup You will see that the "Type" is not signal but oppoint. If you click on the Details field, it splits into two - the /whatever/deviceName is on the left, and on the new field on the right, you can enter parameters appropriate for that device, like vdsat, vth, cgs, etc.  The UI is very poor, but, on the right of this field is a button you can actually click to choose from a list. It'll even run a sim if necessary! If you want these plotted, you have to check the box to the right under the Plot column. Other gems Finding...