Author Topic: Help Importing netlist into Multisim  (Read 1426 times)

0 Members and 1 Guest are viewing this topic.

Offline coldfiremcTopic starter

  • Regular Contributor
  • *
  • Posts: 75
  • Country: cl
Help Importing netlist into Multisim
« on: July 18, 2018, 05:15:39 am »
Hi

I'm trying to import old netlists for spice 3 into multisim (are samples from an old book). However In multisim14.1, I get "Main Circuit Not found in SPICE netlist". The netlist is the following (is an Op. Amp. model)

EXAMPLE 12.3 SMALL  SIGNAL  GAIN  OF  741  OP  AMP
VCC  1  0  DC  15
VEE  0  13  DC  15
VID  4  28  AC  1UV
VOS  5  28  DC  .000321
VIC  5  0  DC  0
Q1  2  4  6  M1
Q2  2  5  7  M1
Q3  8  3  6  M2
Q4  9  3  7  M2
Q5  8  10  11  M1
Q6  9  10  12  M1
Q7  1  8  10  M1
Q8  2  2  1  M2
Q9  3  2  1  M2
Q10  3  15  14  M1
Q11  15  15  13  M1
Q12  16  16  1  M2
Q131  17  16  1  M2  0.75
Q132  22  16  1  M2 0.25
Q14  1  22  25  M1   3
Q15  22  25  26  M1
Q16  1  18  19  M1
Q17  17  19  20  M1
Q18  22  22  23  M1
Q19  22  23  24  M1
Q20  13  24  27  M2  3
Q21  21  27  26  M2
Q221  13  17  24  M2
Q222  13  17  18  M2
Q23  18  21  13  M1
Q24  21  21  13  M1
R1  11  13  1K
R2  12  13  1K
R3  10  13  50K
R4  14  13  5K
R5  16  15  40K
R12  9  18  300
R6  25  26  27
R7  26  27  22
R8  20  13  100
R9  19  13  50K
R10  23  24  50K
R11  21  13  50K
R13  26  0  1K
C1  17  18  30PF
.MODEL  M1  NPN  BF = 200  IS = 2E-15  VAF = 150  RB = 200
+ BR = 2  CJE = 1PF  CJC = 1PF
.MODEL  M2  PNP  BF = 50  IS = 1E-14  VAF = 50  RB = 100
+ BR = 3
+ CJE = 1PF  CJC = 1PF
.TF  V(26)  VIC
.AC  DEC  10  .1  5MEG
.PRINT  AC  VM(18),  VP(18),  VM(17),  VP(17),  VM(26),  VP(26)
.OP
.PROBE
.END

Hope you can help me. I know a little bit of SPICE sintax, and this appears to be correct. However, I don't know what is multisim expecting.

regards :-+
« Last Edit: July 19, 2018, 05:36:28 am by coldfiremc »
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21657
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Help Importing netlist into Multisim
« Reply #1 on: July 18, 2018, 04:25:14 pm »
I never had much luck with the import feature.  That it exists at all, is remarkable; that it doesn't work very well, figures.

You're better off hand placing components, assigning pins to nets, and cleaning up the schematic.  You can compare netlist by refreshing and copying the circuit netlist, stripping out comments with a script (Multisim formats each component with generous spacing and a little metadata), and diffing against the above netlist.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: coldfiremc

Offline coldfiremcTopic starter

  • Regular Contributor
  • *
  • Posts: 75
  • Country: cl
Re: Help Importing netlist into Multisim
« Reply #2 on: July 20, 2018, 04:34:47 am »
Somewhat succeed to import, but i have 2 errors, pretty strange errors.
Multisim is unable to create connector 13 and 18 from that netlist

Code: [Select]
* NI Multisim to SPICE Netlist Export
* Generated by: Alejandro
* Wed, Jul 18, 2018 00:47:41



VCC  1  0  DC  15
VEE  0  13  DC  15
VID  4  28  AC  1UV
VOS  5  28  DC  .000321
VIC  5  0  DC  0
Q1  2  4  6  M1
Q2  2  5  7  M1
Q3  8  3  6  M2
Q4  9  3  7  M2
Q5  8  10  11  M1
Q6  9  10  12  M1
Q7  1  8  10  M1
Q8  2  2  1  M2
Q9  3  2  1  M2
Q10  3  15  14  M1
Q11  15  15  13  M1
Q12  16  16  1  M2
Q131  17  16  1  M2  0.75
Q132  22  16  1  M2 0.25
Q14  1  22  25  M1   3
Q15  22  25  26  M1
Q16  1  18  19  M1
Q17  17  19  20  M1
Q18  22  22  23  M1
Q19  22  23  24  M1
Q20  13  24  27  M2  3
Q21  21  27  26  M2
Q221  13  17  24  M2
Q222  13  17  18  M2
Q23  18  21  13  M1
Q24  21  21  13  M1
R1  11  13  1K
R2  12  13  1K
R3  10  13  50K
R4  14  13  5K
R5  16  15  40K
R12  9  18  300
R6  25  26  27
R7  26  27  22
R8  20  13  100
R9  19  13  50K
R10  23  24  50K
R11  21  13  50K
R13  26  0  1K
C1  17  18  30PF


.MODEL  M1  NPN  BF = 200  IS = 2E-15  VAF = 150  RB = 200
+ BR = 2  CJE = 1PF  CJC = 1PF
.MODEL  M2  PNP  BF = 50  IS = 1E-14  VAF = 50  RB = 100
+ BR = 3 CJE = 1PF  CJC = 1PF

.TF  V(26)  VIC
.AC  DEC  10  .1  5MEG
.PRINT  AC  VM(18),  VP(18),  VM(17),  VP(17),  VM(26),  VP(26)
.OP
.PROBE

.END

I wonder why is unable to do it. I will try to connect them manuallly and then to simulate
« Last Edit: July 20, 2018, 05:05:54 am by coldfiremc »
 

Offline coldfiremcTopic starter

  • Regular Contributor
  • *
  • Posts: 75
  • Country: cl
Re: Help Importing netlist into Multisim
« Reply #3 on: July 20, 2018, 05:22:44 am »
Ok, this is weird: Multisim crashes or changes results randomly. Is this a bug... or i'm asking for a too complex netlist?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf