Re: If I have a function, how can I plot the waveform in cad
Hi, here is the method I would use.
Say you have made a DC analisys where you swept Vgs from 0 to 1.8V, and that you named the net Vgs. Open the calculator and then click on browser. If you use spectre browse down into schematic/psf/Run1/dc-dc and select the net named Vgs. In the calculator something like:
v( "/Vgs" ?result "dc-dc" ?resultsDir "..." )
should appear. Then you just need to add the rest of your equation:
w*Pc*(v( "/Vgs" ?result "dc-dc" ?resultsDir "..." )-Vt)**2
with the numerical value for w, Pc and Vt, and click on plot.
Maybe there is another way, but I don't know it.
Hope it helps
regards.