Does anybody know how to attach spice model file for diode in proteus. I am trying to make a new 1N5817 component with spice file which i have already downloaded the file 1n5817.lib and put in the library folder.
From the help file in proteus it says to create PRIMITIVE and SPICEMODEL properties as shown below.
And I have added the properties as shown below while creating the diode part,
this is what i referenced to and mentioned above, it is not working. there is one example with transistor and it says diode should be similarly configured so i followed it as shown in my post above but i don't what to put in the two properties SPICEMODEL and PRIMITIVE. For PRIMITIVE in the help file for 2N2222 transistor it says to put PRIMITIVE=ANALOGUE,NPN but for diode i dont know what to put, so i put PRIMITIVE=ANALOGUE,D guessing D is for diode. And for SPICEMODEL i wrote DI_1N5817,1N5817.LIB because the spice file has this: