Version 4 SHEET 1 880 680 WIRE -512 112 -512 64 WIRE -512 224 -512 192 WIRE -512 336 -512 304 WIRE -512 432 -512 416 WIRE -432 304 -512 304 WIRE -400 64 -512 64 WIRE -368 304 -432 304 WIRE -320 64 -400 64 WIRE -320 208 -320 64 WIRE -320 224 -320 208 WIRE -320 432 -320 320 WIRE -272 208 -320 208 FLAG -320 432 0 FLAG -512 432 0 FLAG -512 224 0 FLAG -400 64 vcc FLAG -432 304 in1 FLAG -272 208 out1 SYMBOL voltage -512 96 R0 WINDOW 0 39 29 Left 0 WINDOW 3 35 88 Left 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V1 SYMATTR Value 5 SYMBOL voltage -512 320 R0 WINDOW 0 29 21 Left 0 WINDOW 3 31 89 Left 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V2 SYMATTR Value {VG} SYMBOL xd_nmos3 -368 224 R0 SYMATTR InstName U1 SYMATTR SpiceModel irf6609 TEXT -520 -40 Left 0 !.step param VG 0 3.5 0.1 TEXT -528 -784 Left 0 ;Picking Subcircuits From A List\n \nThe Drop-Down Symbol\n \n1. Move the cursor over the instantiated symbol, then RightMouseClick.\n2. Now you can choose any model from the library file.\nSpiceModel: ..... choose here!\n \nKeep the symbol file and the model file in your design folder.\n \nThis kind of symbol requires that LTspice finds at the in \nthe file (specified in the symbol) the subcircuit model \nwhich is given n the symbol as the default.\n \n \nSee in the program's help: \nHELP -> Schematic Capture -> Creating New Symbols -> Adding Attributes\nIt's in the last paragraph at the end of this chapter.\n \nSpecial hints for the model file from IRF.\nIt contains other subcircuits irff6608t and irf6609t as well. \nThey will be also listed. This doesn't make sense of course. \nYou could seperate them into another file and add a ".include"\nline into the normal libary file or to the schematic. TEXT -520 -88 Left 0 !.op TEXT -40 -56 Left 0 ;Create a symbol with the attributes below.\nDon't forget to make the InstName and \nthe SpiceModel visible with \nEdit->Attributes->Attribute Window\nIt will work with the ".model" components \nas well. Then you don't change the prefix!\n \nAtributes of a subcircuit drop-down symbol\n---------------------------------------------------------------\nPrefix: X \nSpiceModel: modelname\nValue: [optional parameters]\n....\nDescription: Whatever you like\nModelFile: filename TEXT -256 352 Left 0 ;xd_nos3.asy