X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com MIME-Version: 1.0 In-Reply-To: <19502641.1326367046574.JavaMail.root@elwamui-lapwing.atl.sa.earthlink.net> References: <19502641 DOT 1326367046574 DOT JavaMail DOT root AT elwamui-lapwing DOT atl DOT sa DOT earthlink DOT net> Date: Fri, 13 Jan 2012 13:57:43 -0600 Message-ID: Subject: Re: [geda-user] How to make a parameterized subcircuit in gschem? From: Dan White To: geda-user AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, Jan 12, 2012 at 5:17 AM, wrote: > --snip-- > XMP1 Out In Vdd Vdd PMOSW W=0.48U L=0.18U f=1 > --snip-- The current git version adds a case to the "spice-sdb" netlister for the case of "subcircuited" N/PMOS transistors. It's keyed off the "device=SUBCKT_{N,P}MOS" symbol attribute. The change is in the 1.8.0 pre-release snapshot, the commit is dated 2011-01-17, just after the 1.7.0-20110116 unstable release. SUBCKT_PMOS and SUBCKT_NMOS currently support (netlist) the additional attributes "l" "w" "as" "ad" "pd" "ps" "nrd" "nrs" "temp" "ic" "m". Note: for your example it ignores the attribute "f=1". You can work around this by setting the model-name attribute to something like "model-name=PMOSW f=1". Dan -- SDG www.whiteaudio.com