[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: passing parameters to a subckt
On Sunday 24 October 2010, clif@xxxxxxxxxxxxx wrote:
> I sapose that you could pass an argument to gnet-spice-sdb
> (or set a variable) to clue it in on which spice variant to
> target.
You could go nuts with that. The only real standard in spice is
back in the spice-2 days. Then they all evolved incompatibly
from there. All simulators using spice format do at least
something to read files made for another, but none are perfect.
On the high end, it seems that Hspice is most accepted as a
pseudo-standard. On the low end, it seems that Pspice is most
accepted. That's two, both spice-2 forks. Then there is a
third, for the spice-3 forks that the minor players are more
likely to follow.
> In the long term maybe an XML like standard language would be
> a way to modernize it.
In the long term, most people in the know prefer a Verilog
format for netlists. The format is well defined, with an
official document. Most high end simulators support it to some
degree, but do not default to it. NO low end simulators support
it. They are all followers, and waiting for someone else to be
first, then they will be forced to support it. Gnucap supports
it, gEDA does not.
Still, that doesn't help with legacy models, which come in many
different formats, and have lots of issues other than syntax.
> Either way I think it might be better to put the parameters
> in another attribute like say, params so that value is not
> overloaded and you can choose to handle them differently if
> you like. Eg, I would like to keep someting like 10k in
> value just to keep the schematic looking clean.
Something needs to be done. The problem has been known for
years.
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user