ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/01/12/06:33:12

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=dk20050327; d=mindspring.com;
b=tCV6MxVYt7ZIhLMZdXxCwVEedflb9Ns7CNWXfKo9QTbGiJQWvz3KAAmB58OhDOtu;
h=Message-ID:Date:From:Reply-To:To:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-ELNK-Trace:X-Originating-IP;
Message-ID: <19502641.1326367046574.JavaMail.root@elwamui-lapwing.atl.sa.earthlink.net>
Date: Thu, 12 Jan 2012 06:17:26 -0500 (GMT-05:00)
From: daledouglas AT mindspring DOT com
To: geda-user AT delorie DOT com
Subject: [geda-user] How to make a parameterized subcircuit in gschem?
Mime-Version: 1.0
X-Mailer: EarthLink Zoo Mail 1.0
X-ELNK-Trace: 9c0fac58edfb396396bd1b040bd52e8c416dc04816f3191cb78c3094aa0df81448978bfb9c4e95ad8498dd5c8d2f0fb0350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 209.86.224.38
Reply-To: geda-user AT delorie DOT com

Hi all,

First time poster: please forgive any gaffes.

As you all know, recent versions of ngspice support parameterized subcircuits. How do I create a symbol which will netlist like this:

--snip--
XMP1 Out In Vdd Vdd PMOSW W=0.48U L=0.18U f=1
--snip--

??? Adding W,L, and f parameters to a standard "IC" symbol produces the following output through gnetlist:

--snip--
X2 1 3 4 4 PMOSW
--snip--

Is the problem gnetlist, or how my symbol is configured in gschem? Is there a single line I should dump the parameters in (model, for example)?

Many thanks,
Dale

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019