At 08:30 PM 7/12/2012, you wrote:
I have been trying to find a way to control parameters to be output in a spice netlist, in addition to the standard parameters that Electric outputs. For example, Electric outputs resistance value for resistors in the spice netlist. But I want to netlist resistor length, width and number of modules. How can I control this? If anyone has done this before, I'd appreciate giving me a clue about where to look and if possible an example.
Thanks

This can be done in a number of ways:

(1) Build your own components and use them instead of the built-in primitives. For example, instead of using the Resistor primitive in the schematics technology, create a schematic cell called "my-resistor" (and an icon cell of the same name that has a resistor symbol in it). Then add a Spice Template to the schematic cell, which has an arbitrary line of Spice code in it. This will work for simple objects.

(2) For more complex situations, you can create Spice parameters that consist of code (either Spice code or Java code). These parameters can compute arbitrary values based on the context of the cell, etc. To see examples of such complex cells, look at the logical effort libraries that come with Electric, and define schematic symbols with code in them.

   -Steven Rubin

--
You received this message because you are subscribed to the Google Groups "Electric 
VLSI Editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/electricvlsi?hl=en.

Reply via email to