delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/09/22/10:11:56

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:from:date:message-id:subject:to:content-type;
bh=obMQDonyOOl72EBlUZn3aUJMeR4meVWlVkZUwvpgkno=;
b=Vn510oyXqKGs31k3PUwuCyeyjWkUdzr2YZZw5bzc9gbawAi8u9Yq5aBKrAvLlp507x
nck0PFWk601GeNTEupxJOQWLgvHP6DFOEbqmOW1uYN+Ls3FzmgbGezBFdDQoveuTaAe8
AKTz2+CQQk80KGIzBXFw4y/456RxKM8YJlPKiQT4gflpRgmoqQVwfSRkZumh2mnzRefL
D0isbAfoAClDQCPzvJcEZeObFMf/9gxXxHDse830Mw4VMHaFwIG/IWwWh9XIRROuZEMd
JA+CV1IwLmsDiwdxt0NUv9aU1zGO5lIwq7ukEwLfaCdPW/IOjqmmTmOoMofab2JWUJs0
+maQ==
X-Received: by 10.194.8.232 with SMTP id u8mr21393388wja.64.1411395062313;
Mon, 22 Sep 2014 07:11:02 -0700 (PDT)
MIME-Version: 1.0
From: Abhijit Kshirsagar <abhijit86k AT gmail DOT com>
Date: Mon, 22 Sep 2014 19:40:32 +0530
Message-ID: <CACNnPR=shBqRUF6rvFx3wKE_D-VFA6o=r_B-YcikuHT_0pCAYg@mail.gmail.com>
Subject: [geda-user] gnetlist/spice-sdb for hierarchical schematics
To: gEDA User List <geda-user AT delorie DOT com>
Reply-To: geda-user AT delorie DOT com

Hello all,

I'm using the spice-sdb netlister to netlist a project using some
hierarchical schematics.
I created a symbol for a subcircuit with  refdes=X? and added the
attributes file="subcktname.net" and source="subcktname.sch"

gSchem is able to find and show the subcktname.sch (Hierarchy-Down)
from the source-library setting in my gafrc,
but gnetlist/spice-sdb is not able to find subcktname.net, and chokes
while netlisting:

422: 11* [open-input-file "subcktname.net"]
In unknown file:
   ?: 12  [open-file "subcktname.net" "r"]

If i give the full absolute or relative path to the file attribute,
gnetlist works fine.
Further, since i am using spice-sdb in include mode, it doesn't
actually need to find the file, just add an include statement in the
netlist.
I'll need to make sure ngspice will find the file without absolute path.

So - can gnetlist be told where to look for files? Or not to look for files?

Abhijit

- Raw text -


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