Importing .ckt model in LTspice

Thread Starter

fish_

Joined Jun 16, 2020
1
Hello,
I am trying to simulate a specific kind of electronics chip in LTspice. I was sent a netlist for this chip in the form a .ckt file. This is an excerpt from the file:


.INCLUDE "/local/tools/pdk/sampapdk01122016/vcad.20150708/V1.4C_3/1p7m4x1z1u/models/hspice/hspice.mdl"

** Library name: sampa5_csa_shaper
** Cell name: opamp_p
** View name: schematic
.subckt opamp_p vb vdd vss inn inp out
xp1 n1 vb vdd vdd pch_mis l=1e-6 w=25e-6 ad=9e-12 as=11e-12 pd=25.72e-6 ps=32.13e-6 nrd=7.6e-3 nrs=7.6e-3 sa=3.59127e-6 sb=3.59127e-6 multi=8
xm22 out vb vdd vdd pch_mis l=250e-9 w=25e-6 ad=9e-12 as=10.3333e-12 pd=25.72e-6 ps=29.9933e-6 nrd=7.6e-3 nrs=7.6e-3 sa=3.28801e-6 sb=3.28801e-6 multi=12
**Parallel configuration of R1
xr1 net019 net022 rnpolywo_mis l=10e-6 w=2e-6 mf=4 m=1


I do not have access to the hspice.mdl file referenced in the .INCLUDE statement. When I import this model in LTspice, an error is produced saying that this hspice.mdl file cannot be found. I tried removing the .INCLUDE statement from the file and a different error was produced. I have properly followed the instructions from Linear Technology regarding adding third-party models to LTspice. I am trying to figure out if importing this model into LTspice would be at all possible.

Thanks for any help.
 

eetech00

Joined Jun 8, 2013
4,057
Hello,
I am trying to simulate a specific kind of electronics chip in LTspice. I was sent a netlist for this chip in the form a .ckt file. This is an excerpt from the file:


.INCLUDE "/local/tools/pdk/sampapdk01122016/vcad.20150708/V1.4C_3/1p7m4x1z1u/models/hspice/hspice.mdl"

** Library name: sampa5_csa_shaper
** Cell name: opamp_p
** View name: schematic
.subckt opamp_p vb vdd vss inn inp out
xp1 n1 vb vdd vdd pch_mis l=1e-6 w=25e-6 ad=9e-12 as=11e-12 pd=25.72e-6 ps=32.13e-6 nrd=7.6e-3 nrs=7.6e-3 sa=3.59127e-6 sb=3.59127e-6 multi=8
xm22 out vb vdd vdd pch_mis l=250e-9 w=25e-6 ad=9e-12 as=10.3333e-12 pd=25.72e-6 ps=29.9933e-6 nrd=7.6e-3 nrs=7.6e-3 sa=3.28801e-6 sb=3.28801e-6 multi=12
**Parallel configuration of R1
xr1 net019 net022 rnpolywo_mis l=10e-6 w=2e-6 mf=4 m=1


I do not have access to the hspice.mdl file referenced in the .INCLUDE statement. When I import this model in LTspice, an error is produced saying that this hspice.mdl file cannot be found. I tried removing the .INCLUDE statement from the file and a different error was produced. I have properly followed the instructions from Linear Technology regarding adding third-party models to LTspice. I am trying to figure out if importing this model into LTspice would be at all possible.

Thanks for any help.
The subckt "opamp_p" is making calls to other subckts that are probably contained in hspice.mdl.
So you'll need hspice.mdl.

However, LTspice is not compatible with Hspice code. You'll need to obtain a pspice version of the model.
If you can obtain the full hspice model code, we might be able to convert it to LTspice.
 
Top