The netlister determines the naming prefix for instances using the namePrefix
property set in the Simulation Information section of the Edit CDF form.
The namePrefix
for instances is decided as follows:
- If the
namePrefix
is not found in the CDF Simulation Information section, the netlister printsX
as the namePrefix. - If the
namePrefix
is the same as the first character of the device name, the netlister does not add a prefix to the instance name in the netlist.
If none of these conditions are met, the netlister adds the prefix namePrefix
in the output of the instance. You can modify the prefixes that are chosen by either using the dspfNamePrefixSimInfo
environment variable or the useSelfCDFInPostLayoutNetlist
environment variable.
Examples
-
When the
namePrefix
and the first character of the device name are the same
Themimcap
device is netlisted in the DSPF asC0
, when the simulator used is auCdl .C0 outm#64 net044#67 AVSS g45cmim w=5e-06 l=5e-06 m=1 $x=15.29 $y=25.58
Here, thenamePrefix
in the Edit CDF form is set toC
, which is the same as the first character of the device name. According to the pre-defined rules, no prefix is added formimcap
in the DSPF file.
SettingdspfNamePrefixSimInfo
to ams or spectre will add anX
prefix and the DSPF will print the device as follows:XC0 outm#64 net044#67 AVSS g45cmim w=5e-06 l=5e-06 m=1 $x=15.29 $y=25.58
-
When
namePrefix
has no specified value
Set thedspfNamePrefixSimInfo
environment variable to a simulator, such as spectre , that does not have anamePrefix
specified formimcap
.
Based on thenamePrefix
rules, theX
prefix is added to the devices.XC0 outm#64 net044#67 AVSS g45cmim w=5e-06 l=5e-06 m=1 $x=15.29 $y=25.58
-
When the device name and
namePrefix
are different
Consider that you have resistors in the netlist as shown below:R14@2 (net#222 net0178#12 gnd#1330 ) rhim_m lr=3.5e-06 wr=8e-07 + multi=(1) $x=69.656 $y=38.422
To netlist this correctly with an
X
prefix, setdspfNamePrefixSimInfo
to auCdl because thenamePrefix
for auCdl isX
.XR14@2 (net#222 net0178#12 gnd#1330 ) rhim_m lr=3.5e-06 wr=8e-07 + multi=(1) $x=69.656 $y=38.422
This is applicable in cases when the auCdl prefix is not the same as the first character of the device name.
-
When
namePrefix
has a value for a specific simulator and none for others
Consider that a device has thenamePrefix
set toR
for only the auCdl simulator, and no value for other simulators in the Edit CDF form. On netlisting, no prefix will be added to resistors if you setdspfNamePrefixSimInfo
to auCdl .
If you setdspfNamePrefixSimInfo
to any other simulator name, the prefixX
will be added as per thenamePrefix
rules. -
When
namePrefix
value is not shown
ThenamePrefix
formimcap
isC
for the auCdl , auLvs , and hspiceD simulators, and disabled for ams and spectre .
If you setdspfNamePrefixSimInfo
to auCdl , auLvs , and hspiceD , no prefix is added, but if you set the environment variable to ams , or spectre , the prefixX
is added to the devices.XC0 outm#64 net044#67 AVSS g45cmim w=5e-06 l=5e-06 m=1 $x=15.29 $y=25.58