07-17-2009 09:08 AM
07-17-2009 10:11 AM - edited 07-17-2009 10:11 AM
Hi,
It's hard to say what's wrong with your circuit without looking at it, if you can please post it. I copied you nestling and ran it in Multisim and I didn't get any error message, the circuit is attached. Double click on the 'Arbitrary SPICE block' and you'll see the netlist. I am using the Transient analysis to look at node 1.
07-17-2009 10:21 AM
07-17-2009 10:23 AM - edited 07-17-2009 10:24 AM
When importing a SPICE netlist file (.cir), Multisim automatically substitutes circuit elements that specify model parameters with virtual components. To use the model specified in your netlist, you will need to create the MOSFET in a User/Corportate database (which it sounds like you have already done) and replace the virtual MOSFET in the circuit. To do this, right-click on the virtual MOSFET and choose Replace Components..., selecting the CMOSP that you created.
Note: The substitution only occurs when importing netlists, so you will only need to do this the first time you import the netlist into Multisim.
Once you replace the virtual MOSFET in the imported netlist, you should see the correct results and begin saving as a Multisim circuit file.
07-17-2009 10:37 AM
07-17-2009 10:37 AM
If you are not interested in creating a schematic, Tien's suggestion to use the Arbitrary SPICE Block is probably best since it will allow you to simply paste in your netlists for quick simulations.
07-17-2009 10:48 AM
Well the schematic is always good if I want to see my components but indeed as long as I can test my circuit I don't really need to see it. I will try the SPICE Block then. Just one question : How does it work ?...I only have to create a SPICE Block, copy my netlist and I can simulate my whole circuit only with this block ?
Thanks
07-17-2009 11:04 AM
Yes, the same way a regular circuit would work except that you won't be able to see the nets/components in schematic form.
Also, one more tip: you can multi-select when replacing components, so this might speed up the process if all MOSFETs use the same model. In the meantime, I will enter a feature request to see if we can modify the import of netlists to allow for direct import of components (instead of replacing with virtual components). Thanks for the input.
07-17-2009 01:41 PM
A third option would be to use the Multisim Automation API (if you have either the Education or Power Pro version and at least Multisim 10).
With the API, you could write a program that would simulate your netlist directly, without having to do any copy and paste or any replacing of components. The function you would be looking for is DoCommandLine and you would need to specify Multisim's special Nutmeg commands.
This is complex, but once you get it running, it would be possible to do millions of transistors with no additional work.
There is a basic example in the Multisim User Guide in 10.1 (is also applies to 10.0), that would get you started, but it doesn't explain the Nutmeg commands that you would need to use. If this helps, let me know, and I can give some more details on how you would control the simulator in this case.
07-17-2009 06:47 PM