Galen Seitz wrote: > Charles Eidsness wrote: >> Hi Galen, >> >> See below of another example, you can pick the device with the optional >> device >> argument in the Ibis constructor, i.e. >> >> ibs = eispice.Ibis('filename.ibs', 'device name') >> >> If you don't add a device name it will just use the first device (Component) >> in >> the model file. > > Thanks for the quick response. I'm now able to choose my > package(Component) with the following line: > ibs = eispice.Ibis("sn74lvc04a.ibs", "lvc04k_d") > > This file also has models for multiple supply voltages. > > [Model Selector] LVC04K_IN > | > LVC04K_IN_18 1.8 volt Vcc > LVC04K_IN_25 2.5 volt Vcc > LVC04K_IN_33 3.3 volt Vcc > | > |****************************************************************************** > | Model LVC04K_OUT > |****************************************************************************** > | > [Model Selector] LVC04K_OUT > | > LVC04K_OUT_18 1.8 volt Vcc > LVC04K_OUT_25 2.5 volt Vcc > LVC04K_OUT_33 3.3 volt Vcc > > How do I select the desired model? > Hi Galen, To select a different model using the Model Selector you can use the modelName argument of the pin configuration command, i.e. cct.Receiver = ibs['1']('vo', modelName = 'LVC04K_IN_33') > >> Let me know if that works for you, or if you have any more questions. > > Unfortunately I'm a newbie when it comes to analog modelling and object > oriented coding, so I'm afraid there will be more questions. > That's okay, if you're looking for help files for eispice you can try the Python help command, i.e. help(eispice). I've tried to include some help for each object etc., but you may find the source files, which have the help strings embedded to be more helpful than using the Python help command. Regards, Charles ------------------------------------------------------------------ To unsubscribe from the eispice list send an email to: eispice-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field