Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsElectronicsBasicsRepairDesignCADComponentsEquipmentElectrical Engineering
ElectronicsKB.com
Contact UsLink To UsSearch & Site Map

Electronics Forum / CAD / December 2007



Tip: Looking for answers? Try searching our database.

LTC - .lib not recognized..?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rene - 17 Dec 2007 20:57 GMT
LTC Switchercad, on a Vista Notebook:

Strange problem, I made a new transistor:

bcp69.asy

Version 4
SymbolType CELL
LINE Normal 16 64 44 76
LINE Normal 44 76 36 84
LINE Normal 16 64 36 84
LINE Normal 40 80 64 96
LINE Normal 16 80 16 16
LINE Normal 16 32 64 0
LINE Normal 16 48 0 48
WINDOW 0 84 32 Left 0
WINDOW 3 84 68 Left 0
SYMATTR Value bcp69
SYMATTR Prefix QP
SYMATTR Description Bipolar PNP transistor
SYMATTR SpiceModel bcp69.lib
PIN 64 0 NONE 0
PINATTR PinName C
PINATTR SpiceOrder 1
PIN 0 48 NONE 0
PINATTR PinName B
PINATTR SpiceOrder 2
PIN 64 96 NONE 0
PINATTR PinName E
PINATTR SpiceOrder 3

Basically I just modified and renamed the PNP asy.

The bcp69.lib works, I placed it both in the working directory, and in the
LTC "sub" directory.

The lib file works fine when I use the "PNP" transistor, and name it value:
"bcp69", and add:
".include bcp69.lib"

When using the bcp69.asy, I get "Can't find defenition of model "bcp69.lib"

In the netlist, it reverts to ".lib
C:\PROGRA~1\LTC\SwCADIII\lib\cmp\standard.bjt"
Where did that get from?

What would be a nice template?

What silly mistake did I make?

TIA!

Signature

========================
Vriendelijke groeten / Best Regards,
~Rene Zuidema~

Brett Holden - 23 Dec 2007 23:30 GMT
Hello, Rene!
You wrote  on Mon, 17 Dec 2007 21:57:56 +0100:

R> Strange problem, I made a new transistor:

R> bcp69.asy

R> Version 4
R> SymbolType CELL
R> LINE Normal 16 64 44 76
R> LINE Normal 44 76 36 84
R> LINE Normal 16 64 36 84
R> LINE Normal 40 80 64 96
R> LINE Normal 16 80 16 16
R> LINE Normal 16 32 64 0
R> LINE Normal 16 48 0 48
R> WINDOW 0 84 32 Left 0
R> WINDOW 3 84 68 Left 0
R> SYMATTR Value bcp69
R> SYMATTR Prefix QP
R> SYMATTR Description Bipolar PNP transistor
R> SYMATTR SpiceModel bcp69.lib
R> PIN 64 0 NONE 0
R> PINATTR PinName C
R> PINATTR SpiceOrder 1
R> PIN 0 48 NONE 0
R> PINATTR PinName B
R> PINATTR SpiceOrder 2
R> PIN 64 96 NONE 0
R> PINATTR PinName E
R> PINATTR SpiceOrder 3

R> Basically I just modified and renamed the PNP asy.

R> The bcp69.lib works, I placed it both in the working directory, and in
R> the LTC "sub" directory.

R> The lib file works fine when I use the "PNP" transistor, and name it
R> value: "bcp69", and add:
R> ".include bcp69.lib"

R> When using the bcp69.asy, I get "Can't find defenition of model
R> "bcp69.lib"

R> In the netlist, it reverts to ".lib
R> C:\PROGRA~1\LTC\SwCADIII\lib\cmp\standard.bjt"
R> Where did that get from?

R> What would be a nice template?

R> What silly mistake did I make?

R> TIA!

I think your prefix attribute should be X.

With best regards, Brett Holden.  E-mail: bretth2o@bellsoh.net
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.