05-19-2014 09:17 AM - edited 05-19-2014 09:21 AM
Hi guys,
So I'm a student with a project that i have to simulate on multisim. This isnt part of the project but the project has over 100 components in it so i started to wonder whether i could make my own components that have the circuits inside them.
So ive try to make a custom component of my smallest circuit to test if it works and running into dramas.
The circuit is a 8 bit gray code to binary code converter.
So i had made the converter and put HB/SC connectors on the inputs and outputs.
Then saved it as a netlist cir. file
I had then opened it in notepad, added
.SUBCKT G2B_8BIT G0 G1 G2 G3 G4 G5 G6 G7 B7 B6 B5 B4 B3 B2 B1 B0
to the top, so my component is G2B_8BIT and then those are the names of the 16 pins
then i added .ENDS to the end
I havent added any pin mapping because it is only a simulation dont need footprint
When i replace the circuit with the component i made, it doesnt work and there are no errors or warnings to see ive done something wrong.
Ive attached my files
There is the original circuit
The circuit i used to create the cir. file
my cir. file
and the new circuit with the component added
Your help would be much appreciated, I'm interested in knowing how this works
sorry ill do a reply and attach the new ciruit with the component add, as i can only attach three files
Solved! Go to Solution.
05-19-2014 09:19 AM - edited 05-19-2014 09:24 AM
the added component
05-19-2014 09:38 AM
Also the moment i press run, all the wires disconnect from the pins
05-21-2014 12:34 PM
Hi Cruizerdog,
You can build a SPICE model from a circuit only when the components you used have SPICE syntax, digital parts from the Multisim database are not SPICE, it's based from XSPICE. The model you tried to create won't work.
05-21-2014 12:50 PM
05-21-2014 01:09 PM