Hi All,
I am using " CDL->Import " to import a spice netlist in order to create a corresponding schematic and make some simulations.
When I import the .spi file with or without any DeviceMap file, MOS devices are imported in the schematic, but not diodes and resistors. Aslo, the importation doesn't differenciate 3.3V MOS (3Vnfet, 3Vpfet) devices from 1.8V MOS (nfet, pfet) devices. How to differentiate them?
Any help will be very appreciated.
here are the related files:
******************************
SpiceFile : Example.spi
*******************************
.GLOBAL VDD VSS VD33
.SUBCKT EXAMPLE OUT IN
M_0 NET_1 IN VSS VSS N W=33U L=0.4U
M_2 OUT NET_1 VSS VSS ND W=22U L=0.3U
M_1 NET_1 IN VDD VDD P W=30U L=1U
M_3 OUT NET_1 VD33 VD33 PD W=44U L=2U
D_0 OUT VSS DB AREA=613.134P
D_1 VD33 OUT DP AREA=161.84P
D_3 VSS VD33 D1 AREA=590.4P
R_0 VDD NET_1 1221.24
R_1 NET_1 VSS 656.98
*PGATE NGATE
.ENDS EXAMPLE
******************************
DeviceMap File :
*******************************
devMap := nfet N
propMatch := subtype NM
termMap := D D G G S S B B
propMap := W W L L
addProp := model nch
devMap := nfet ND
propMatch := subtype NV
termMap := D D G G S S B B
propMap := W W L L
addProp := model nch3
devMap := pfet P
propMatch := subtype PM
termMap := D D G G S S B B
propMap := W W L L
addProp := model pch
devMap := pfet PD
propMatch := subtype PV
termMap := D D G G S S B B
propMap := W W L L
addProp := model pch3
devMap := diode DB
termMap := PLUS PLUS MINUS MINUS
devMap := diode DP
termMap := PLUS PLUS MINUS MINUS
devMap := diode DN
termMap := PLUS PLUS MINUS MINUS
devMap := diode D1
termMap := PLUS PLUS MINUS MINUS
devMap := resistor RES
propMatch := r 1221.24
termMap := PLUS PLUS MINUS MINUS
devMap := resistor RES
propMatch := r 656.987
termMap := PLUS PLUS MINUS MINUS
******************************
log File : ni.log
*******************************
##########################
Reference Libraries...
cmosp18
tpz973gv_280a
##########################
---- Device-mapping enabled ----
1 subckt(s) found in the netlist file.
==========================
Subckt: EXAMPLE
==========================
Created the CV EXAMPLE->netlist_tmp.
#####################################
MOS Instance: M_3
#####################################
...Searching for a valid mapping in the dev-map file...
...did not find a valid mapping.
Searching for the master cellview pfet->symbol in ref libs...
...in cmosp18: Bingo! Found the master cellview pfet->symbol.
instName->'M_3' is created.
The net 'OUT' of instance 'M_3' has been connected to the terminal 'D'.
The net 'NET_1' of instance 'M_3' has been connected to the terminal 'G'.
The net 'VD33' of instance 'M_3' has been connected to the terminal 'S'.
The net 'VD33' of instance 'M_3' has been connected to the terminal 'B'.
#####################################
MOS Instance: M_1
#####################################
...Searching for a valid mapping in the dev-map file...
...did not find a valid mapping.
Searching for the master cellview pfet->symbol in ref libs...
...in cmosp18: Bingo! Found the master cellview pfet->symbol.
instName->'M_1' is created.
The net 'NET_1' of instance 'M_1' has been connected to the terminal 'D'.
The net 'IN' of instance 'M_1' has been connected to the terminal 'G'.
The net 'VDD' of instance 'M_1' has been connected to the terminal 'S'.
The net 'VDD' of instance 'M_1' has been connected to the terminal 'B'.
#####################################
MOS Instance: M_2
#####################################
...Searching for a valid mapping in the dev-map file...
...did not find a valid mapping.
Searching for the master cellview nfet->symbol in ref libs...
...in cmosp18: Bingo! Found the master cellview nfet->symbol.
instName->'M_2' is created.
The net 'OUT' of instance 'M_2' has been connected to the terminal 'D'.
The net 'NET_1' of instance 'M_2' has been connected to the terminal 'G'.
The net 'VSS' of instance 'M_2' has been connected to the terminal 'S'.
The net 'VSS' of instance 'M_2' has been connected to the terminal 'B'.
#####################################
MOS Instance: M_0
#####################################
...Searching for a valid mapping in the dev-map file...
...did not find a valid mapping.
Searching for the master cellview nfet->symbol in ref libs...
...in cmosp18: Bingo! Found the master cellview nfet->symbol.
instName->'M_0' is created.
The net 'NET_1' of instance 'M_0' has been connected to the terminal 'D'.
The net 'IN' of instance 'M_0' has been connected to the terminal 'G'.
The net 'VSS' of instance 'M_0' has been connected to the terminal 'S'.
The net 'VSS' of instance 'M_0' has been connected to the terminal 'B'.
INFO (CDLIN-54): CDL In successfully created the schematic view tpz973gv_280a.EXAMPLE::netlist. Read the log file
'conn2sch_EXAMPLE.log' for more information.
TOTAL CELLS #: 1
*************************
****** SUMMARY ******
*************************
CELL TERMINAL # NET # INSTANCE #
-----------------------------------------------------------------------------
EXAMPLE 4 6 4
********************************************************************************************************************************************
Even if I change the original resistor description R_0 VDD NET_1 1221.24 to R_0 VDD NET_1 RES r=1221.24 the problem is still the same for resistor importation.
Thanks for your support !!!