delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Sender: | qpaz |
From: | al davis <ad252 AT freeelectron DOT net> |
To: | "geda-user AT delorie DOT com" <geda-user AT delorie DOT com> |
Subject: | Re: [geda-user] gnetlist spice-sdb subcircuit parameters |
Date: | Tue, 28 Jan 2014 17:10:49 -0500 |
User-Agent: | KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) |
References: | <CACPio-7RRCWG6Q0j5YdyoSbdYJXJg+vvwVjBCdjYnqQt-vWoDw AT mail DOT gmail DOT com> <20140128162708 DOT GA5120 AT localhost DOT localdomain> |
In-Reply-To: | <20140128162708.GA5120@localhost.localdomain> |
MIME-Version: | 1.0 |
Message-Id: | <201401281710.49108.ad252@freeelectron.net> |
Reply-To: | geda-user AT delorie DOT com |
On Tuesday 28 January 2014, Vladimir Zhbanov wrote: > Currently, spice-sdb doesn't permit adding parameters to > subcircuit components with the refdes X?. When spice-sdb was written, neither gnucap nor ngspice supported subcircuit parameters. Now they both do. > You can use the workaround proposed by Tom Russo. That's not a "workaround". It is the way it was designed to work. It would be nice to support general parameter passing, but doing so would be a major rewrite. The Verilog netlister doesn't support parameters either. As I recall, back when it was originally written the digital only part of Verilog didn't support parameters in this way, but Verilog-AMS simulators (and gnucap) do.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |