Support for programmatic spice model declaration
See original GitHub issuePySpice provides the ability to programmatically declare models with the DeviceModel
class. For example, to include the generic BJT model at the beginning of the BJT chapter (chapter 8) in the NgSpice manual, you could do
DeviceModel(name="QMOD1", modele_type="NPN level=2")
While there is an obvious workaround for this in skidl (write it to a file and reference it like any other spice model), this adds a layer of difficulty to using simple, generic models and adds an even greater level of difficulty for programmatic generation of models.
Would it be possible to add a skidl wrapper around this pyspice functionality? It’s technically possible to specify the model from the output of generate_netlist
, but of course at this point it’s too late.
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Introduction to SPICE - NASA / NAIF
Welcome to SPICE. Welcome to SPICE, an ancillary information system that provides scientists and engineers the capability to include space ...
Read more >Rewiring Programmatic Media for Inclusivity - LinkedIn
It's our goal at P&G to have 80-90% reach among key consumer groups, and we've made the declaration that we want to be...
Read more >What is Programmatic Advertising? Definition, Types, Channel ...
Programmatic advertising is the process of automating the buying and selling of ad inventory in real-time through an automated bidding ...
Read more >Programmatic Ads | Digital Adveritsing Agency
Programmatic ads help you meet those goals more effectively. ... “spray and pray” model and direct content right to the users who are...
Read more >SPICE Models for Intel Field Programmable Gate Array
Intel® Stratix® 10 L-Tile, 10SL, Transceiver IBIS-AMI ; Intel® Arria® 10 GX/GT. 10AX. Transceiver IBIS-AMI ; Intel® Arria® 10 GX/GT. 10AX · Transceiver...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
True, it might be better to auto-generate the name.
You can still use a string for the model, but in that case it’s assumed to be a file name where the .model statement is stored. It doesn’t refer to the name assigned in the
XspiceModel
orDeviceModel
. In fact, maybe those names shouldn’t have to be there at all since they’re not used, and SKiDL could just assign some automatically-generated model names that the user would never see unless the SPICE code was viewed.