> Hi,
>
> I'm relatively new to setting up Cadence CDF parameters and mapping
> them to Spectre model files. Things seem to be working well, except
> for one problem: I can't get IDC() to work.
>
> In my models, nmos and pmos devices are implemented as subckts:
>
> --snip--
>
> subckt nfet (d g s b)
> parameters w=0.12e-6 l=0.1e-6 nfing=1 mult=1 ...
> ...
> m1 (d g s b) nmos w=w/nfing l=l ad=ad as=as ps=ps pd=pd m=mult*nfing
> ...
> model nmos bsim4 type=n
> +version = 4.0 binunit = 1 paramchk= 1
> mobmod =
>
> etc etc.
>
> --snip--
>
> I understand that I need to be putting something like:
>
> nil D ":1" G ":2" S ":3" B ":4"
>
> into the termMapping field in the Spectre CDF information, but it's
> not really clear to me what exactly needs to be done to properly map
> the terminal currents, so that ADE can read them using IDC()
>
> I'd really appreciate if someone could point me in the right direction
>
> Cheers,
> Tony
Examples are given in CDF User Guide. Typically it should be
nil D \:d G \:g S \:s B \:b
Note that it's im****tant to escape the colons.
Using \:1 and so on is also correct, but the drawback is your currents
might not be saved in the
simulation results, because no actual terminal with name '1' exists on
your subckt.
Hope this helps,
Stéphane


|