LED Screen,Led Video Wall Panel,Led Video Panels,Video Wall Panels Shanghai Really Technology Co.,Ltd , https://www.really-led.com
Cadence Tip: Use the lib function to eliminate the settings of the new ADE
The main issue I face is that I often have to run multiple simulations on the same circuit. For example, with a bandgap reference, I need to run DC analysis, loop gain, and sometimes even add a chopper and perform a transient simulation. This creates a problem: I end up having to create many ADE states (since my company uses an ocean-like GUI, where each simulation—like PVT variation or Monte Carlo—requires its own ADE state).
To save time and avoid repetitive setup, a colleague showed me a clever trick using the "lib" function in Cadence to eliminate the need for creating new ADE states every time.
First, I start with a basic simulation.
[Image: Cadence Tip: Use the lib function to eliminate the settings of the new ADE]
Next, I want to vary the simulation conditions. So, I create a file that defines different parameters.
[Image: Cadence Tip: Use the lib function to eliminate the settings of the new ADE]
Then, I add this file to my library.
[Image: Cadence Tip: Use the lib function to eliminate the settings of the new ADE]
After that, I select the required condition and run the simulations.
[Image: Cadence Tip: Use the lib function to eliminate the settings of the new ADE]
As you can see, the interface shows a 20ns simulation, but the output waveform is 30ns because I selected a 30ns setting from my LIBs. Don’t forget to disable the original check in ADE.
Try it out!
By selecting the right library file, you can run multiple different conditions within the same ADE state. You can also create a file to control the library settings.
Even better, you can run simulations using commands without going through the GUI.
I tried nesting the "lib" function by including a model file inside my lib file, and it worked perfectly.
[Image: Cadence Tip: Use the lib function to eliminate the settings of the new ADE]
I modified the last line of the technical file—changing “Fast†to “Titleâ€â€”and saw different results.
[Image: Cadence Tip: Use the lib function to eliminate the settings of the new ADE]
This means you can create one file to cover all the conditions you want to test.
If you're interested, there's a guide on how to save DC operating point parameters in Cadence for MOSFETs. This is especially useful when working on bandgaps, as it helps extract parameters like beta and Nf.
Here’s how you can do it:
Set up a simple circuit.
[Image: Cadence Tip: Use the lib function to eliminate the settings of the new ADE]
Note the instance name of the transistor (e.g., N0).
Open a text file and write: `save N0 "parameters"` — save it as `saveop.scs`.
[Image: Cadence Tip: Use the lib function to eliminate the settings of the new ADE]
Then, open ADE L and run a DC analysis, sweeping the voltage from 0 to 5V.
Select the drain current as the output.
Go to “Settings → Model Library†and load `saveop.scs`.
[Image: Cadence Tip: Use the lib function to eliminate the settings of the new ADE]
Click “Simulate → Run†or the green button to start the simulation.
Once done, the output will look something like this:
[Image: Cadence Tip: Use the lib function to eliminate the settings of the new ADE]
In the simulator, go to “Tools → Results Browser†or click “Tools → Browser†on the graph.
Navigate to the PSF file associated with your simulation.
Select “DC†to view the parameters of transistor N0.
[Image: Cadence Tip: Use the lib function to eliminate the settings of the new ADE]
Right-click on any parameter, export the value, or just view it directly.
This method saves a lot of time and makes managing multiple simulations much more efficient.