X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=lW0YbUq7YQyAGNqWIBcjY1ar3D0VPP3BY/04oYmRQGQ=; b=YlYXcc8xWcZEN38xFpa7p3D8PBvHsh6Xxeh8vswUrAa5JQg02iSqoyd9A9O6y2YZdm rzZlaS1SeR55Ge5BknQhZevKj4VuSzZ1N/iwluC/KS9oLMM+b4EVcO9SEenAJL3Cg8o7 FupeOBoWp+W1LG7SWlhtm/Q23+tkOHbAFIKKh5RPKPftAj0+/n9exXJiH0mW/5EHfYYE tdD1+mfPZvF04hK/Wl48lfngP0p/Lypl4aYxgZ1NsMQhevgRiOfMgXB7b2mhVdu2AIXb Xvy5ztAxC4Tlvd7lw1pvCXSsgBObxZCjmAO/7utLtjOvfPp8JBn3pXQIWP6INtx2ph3u gl8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lW0YbUq7YQyAGNqWIBcjY1ar3D0VPP3BY/04oYmRQGQ=; b=YCljFwLhCVi3NL+Gra2y+ehTnwlhuwGbYiAmUI1zncb13eM+Kaec04DRRC4MbYCYb5 sz5zfRgIwcEThhRkp7SirQb6cZ6u1z0ZQg3djo8g80jtpYBT+lJQI7iwc8NwMHsQflxg RP8Q5nM2bfZGylIahpLiDmOtWnxHs5mHKBMQTEzMkTNzCgVV7xPVtZO0USGvEXLu3wc8 vEZmUIFcJL+jrPbMpT93/LtH5a2iOVRNCn9ftjwdWT+s+wig8mnU3QrMf6GvNZmUcZY7 Tx9yJa4KTxt07Q5TAPhB/u2bFA12ZimpYmTL8300l3poxIGNOKV/jojJG0+gfoqKTKba 26uw== X-Gm-Message-State: ALyK8tJKbzdBtCH53nf/y4xdvAnH9uFnJBkXkAInyXL4S+R9eCySc1ps9dlGSis4ELtwtw== X-Received: by 10.194.32.165 with SMTP id k5mr19961402wji.23.1464424762748; Sat, 28 May 2016 01:39:22 -0700 (PDT) Date: Sat, 28 May 2016 10:39:18 +0200 From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] Hierarchial schematics, gnetlist, and attribs Message-Id: <20160528103918.82b3ae3b0e381a5e72b6b4cb@gmail.com> In-Reply-To: References: X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 I am pretty sure you have to write you own backend for this to happen. I think the BOM generator is not to complex, it should just find values for each component and in this case it should not be to cumbersome to achieve. > Hi, > > Is there any way to get gnetlist (-g bom) to include the source file > for hierarchical schematics in the output? > > For eg., I have a subcircuit represented by P1 in my main schematic, > whose source is subcircuit.sch, with component U1. In the output of > gnetlist -g bom, I see: > > P1/U1, device, value, footprint .. > > I would like to also have 'subcircuit.sch' in the output. Is there > something I can add to attribs to make this happen? > > > > -- > > Chintalagiri Shashank > Indian Institute of Technology, Kanpur > > http://blog.chintal.in -- Nicklas Karlsson