[SOLVED] Altium - SPICE (.spi) into Library Component

Status
Not open for further replies.

MrBEEF

Newbie level 4
Joined
Dec 18, 2008
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,321
Guys,

I got a .spi file for an IRF N-Channel MOSFET(IRF540Z), from IR's website.

In the .spi file, they are using .SUBCKT hierarchy to implement the IRF540Z model....so they use a .SUBCKT and call M and D SPICE primitives.

When I go to add the .spi into my altium component library, there is just no way to do it....

1) Add simulation model...choose Model Kind = transistor, choose Model Sub-Kind to be MOSFET, Model Location = broswe to .spi file....and nothing happens...

What am I missing?

Thanks,
-MrBEEF
 

OK everyone, I figured it out.

So for altium, when you have a SPICE file that calls .SUBCKT's you have to rename the file from '.spi to '.ckt' then Altium will pick it up.

EXAMPLE:

- Went to IRF's site and downloaded their spice models, looked and found irf540z.spi for the spice model for IRF's IRF540Z N-Channel Power MOSFET. The the module is a .SUBCKT, and calls .MODEL's, and the file name is .spi.

When you uild your part in Altium Schematic Library and add a simulation file, rename the file from .spi to .ckt, then add model, it will link everything automatically:

irf540z.spi ==> irf540z.ckt, then add the model name in file which is ".SUBCKT irf540z 1 2 3" ==> thus name is irf540z

This should link and works in the Altium SPICE simulator.

-Mr. BEEF
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…