[eispice] Re: expanded ibis example?
- From: Charles Eidsness <charles@xxxxxxxxxxxxxxxxxxxxx>
- To: eispice@xxxxxxxxxxxxx
- Date: Fri, 24 Oct 2008 20:19:14 -0400
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
- References:
- [eispice] expanded ibis example?
- From: Galen Seitz
- [eispice] Re: expanded ibis example?
- From: Charles Eidsness
- [eispice] Re: expanded ibis example?
- From: Galen Seitz
Other related posts:
- » [eispice] expanded ibis example?
- » [eispice] Re: expanded ibis example?
- » [eispice] Re: expanded ibis example?
- » [eispice] Re: expanded ibis example?
- [eispice] expanded ibis example?
- From: Galen Seitz
- [eispice] Re: expanded ibis example?
- From: Charles Eidsness
- [eispice] Re: expanded ibis example?
- From: Galen Seitz