Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

How can I use a .lib in MWO to generate a schematic ?

Status
Not open for further replies.

Luis Felipe

Newbie level 3
Joined
Jun 15, 2011
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Colombia
Activity points
1,308
Hi....

I need to use the file with extension *.lib in MWO to generate a schematic and make some simulations, I followed these steps:

Circuit Schematics->Import Netlist to load the file, but when I search in subcircuits and try to put it in there, I get the message "bcr400 has no ports".

Thanks a lot for your help....
 

Manjunatha_hv

Advanced Member level 3
Joined
Aug 3, 2005
Messages
810
Helped
240
Reputation
480
Reaction score
122
Trophy points
1,323
Location
INDIA
Activity points
8,691
Hello Luis,


just change this file extension as *.cir (PSpice format) & then import it as PSpice netlist it works fine....
If still have issues, append the file here...

---manju---
 

Luis Felipe

Newbie level 3
Joined
Jun 15, 2011
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Colombia
Activity points
1,308
Hi Manju...

Thank you for your help, I changed the extension and imported it, but MWO show me some errors, I attached here the errors and the *.lib so you can give me a hand again, in this moment I have the subcircuirt but I'm not sure if that block is working.


Luisfe..
 

Attachments


Manjunatha_hv

Advanced Member level 3
Joined
Aug 3, 2005
Messages
810
Helped
240
Reputation
480
Reaction score
122
Trophy points
1,323
Location
INDIA
Activity points
8,691
Hello Luisfe,

I had a look at this .lib file the it contains three subcircuits for Q, D, & R (BJT, Diode, & Resistor) then in top level code are connected...
You need to have separate Spice files for each subcircit say "Q1.cir"
* SPICE2G6 MODEL OF THE PNP BIPOLAR TRANSISTOR IN BCR400 *
*****************************************************************
.MODEL TI400 PNP (
+ IS=14.0F NF=1.00 BF=400 VAF=43.0 IKF=0.180
+ ISE=12.5F NE=2.234 NR=1.005 BR=4.80 VAR=6.96 IKR=0.466
+ ISC=62.5F NC=2.074
+ RB=4.40 IRB=0.050M RBM=3.00
+ RE=0.60 RC=4.50
+ CJE=5.90P VJE=1.00 MJE=0.435 FC=0.750
+ CJC=4.35P VJC=0.900 MJC=0.600 XCJC=0.650
+ TF=0.600N TR=2.604N PTF=1.00
+ XTF=6.500 VTF=2.000 ITF=0.157
+ XTB=1.60 EG=1.110 XTI=3.30
+ KF=5.00F AF=1.00)
*****************************************************************
& then import to MWO...

or edit the .lib file to compatible PSpice hierarchy to support subcircuit format see the pscie format documet....

---manju----
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top