Hi,
I am trying to import a cdl netlist. When I use the GUI in virtuoso (ICADVM20.1), the generated schematic is correct. When I use the command line (spiceIn -param with parameter file saved from the working GUI), the width and length of transistors are wrong. Interestingly, the spicein.log file is almost the same between the two.
Does anyone know what could be the source of discrepancy? My guess is the CDF callback is not automatically trigged after running spice-in from command line. If that is true, how should I resolve this?
CDL:
*.BIPOLAR
*.RESI = 0
*.RESVAL
*.CAPVAL
*.DIOPERI
*.DIOAREA
*.EQUATION
*.SCALE METER
*.MEGA
.PARAM
.SUBCKT inverter VDD VSS inp outp
*.PININFO inp:I outp:O VDD:B VSS:B
MM0 outp inp VSS VSS nch l=40n m=6 simM=2 Wfg=250.0n fingers=3
MM1 outp inp VDD VDD pch l=40n m=6 simM=2 Wfg=250.0n fingers=3
.ENDS
----------------------------------------------------------------------------------------------------------------
With GUI: wfinger=250n, l=40n, fingers=3, m=2 --> w=750n and total_m=6
With command line: wfinger=250n, l=40m, fingers=3, m=2 --> w=100n and total_m=1 which is very very weird!!!
----