[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: Exporting symbols in gschem
John,
I am not sure I am understanding this correctly. I tried running
guile> (hierarchy-traversal "enabled")
#t
guile> packages
("isfet_out" "op_bias" "pFET_plate" "XRham1" "XMham2" "XMham1" "XMham6"
"XMham4" "XMham3" "XMham5" "XMham10" "XMham8" "XMham7" "XMham9" "VSS"
"bias" "nwell" "VCC" "XMhampISFET" "Xamp_ham2/XMamp17"
"Xamp_ham2/XMamp18" "Xamp_ham2/XMamp16" "Xamp_ham2/XMamp15"
"Xamp_ham2/XMamp10" "Xamp_ham2/XMamp8" "Xamp_ham2/XMamp7"
"Xamp_ham2/XMamp9" "Xamp_ham2/XMamp6" "Xamp_ham2/XMamp5"
"Xamp_ham2/XMamp14" "Xamp_ham2/XMamp12" "Xamp_ham2/XMamp4"
"Xamp_ham2/XMamp2" "Xamp_ham2/XMamp11" "Xamp_ham2/XMamp13"
"Xamp_ham2/XMamp1" "Xamp_ham2/XMamp3" "Xamp_ham2/C1"
"Xamp_ham1/XMamp17" "Xamp_ham1/XMamp18" "Xamp_ham1/XMamp16"
"Xamp_ham1/XMamp15" "Xamp_ham1/XMamp10" "Xamp_ham1/XMamp8"
"Xamp_ham1/XMamp7" "Xamp_ham1/XMamp9" "Xamp_ham1/XMamp6"
"Xamp_ham1/XMamp5" "Xamp_ham1/XMamp14" "Xamp_ham1/XMamp12"
"Xamp_ham1/XMamp4" "Xamp_ham1/XMamp2" "Xamp_ham1/XMamp11"
"Xamp_ham1/XMamp13" "Xamp_ham1/XMamp1" "Xamp_ham1/XMamp3"
"Xamp_ham1/C1")
guile> (hierarchy-traversal "disabled")
#t
guile> packages
("isfet_out" "op_bias" "pFET_plate" "XRham1" "XMham2" "XMham1" "XMham6"
"XMham4" "XMham3" "XMham5" "XMham10" "XMham8" "XMham7" "XMham9" "VSS"
"bias" "nwell" "VCC" "XMhampISFET" "Xamp_ham2/XMamp17"
"Xamp_ham2/XMamp18" "Xamp_ham2/XMamp16" "Xamp_ham2/XMamp15"
"Xamp_ham2/XMamp10" "Xamp_ham2/XMamp8" "Xamp_ham2/XMamp7"
"Xamp_ham2/XMamp9" "Xamp_ham2/XMamp6" "Xamp_ham2/XMamp5"
"Xamp_ham2/XMamp14" "Xamp_ham2/XMamp12" "Xamp_ham2/XMamp4"
"Xamp_ham2/XMamp2" "Xamp_ham2/XMamp11" "Xamp_ham2/XMamp13"
"Xamp_ham2/XMamp1" "Xamp_ham2/XMamp3" "Xamp_ham2/C1"
"Xamp_ham1/XMamp17" "Xamp_ham1/XMamp18" "Xamp_ham1/XMamp16"
"Xamp_ham1/XMamp15" "Xamp_ham1/XMamp10" "Xamp_ham1/XMamp8"
"Xamp_ham1/XMamp7" "Xamp_ham1/XMamp9" "Xamp_ham1/XMamp6"
"Xamp_ham1/XMamp5" "Xamp_ham1/XMamp14" "Xamp_ham1/XMamp12"
"Xamp_ham1/XMamp4" "Xamp_ham1/XMamp2" "Xamp_ham1/XMamp11"
"Xamp_ham1/XMamp13" "Xamp_ham1/XMamp1" "Xamp_ham1/XMamp3"
"Xamp_ham1/C1")
guile>
They look the same to me. Do I need to have the hierarchy-traversal
property set before I run gnetlist? Or is packages the wrong way of
getting the hierarchy?
Oliver
__________________________________________________________________
From: John Doty <jpd@xxxxxxxxx>
To: gEDA user mailing list <geda-user@xxxxxxxxxxxxxx>
Sent: Tue, October 5, 2010 12:09:05 PM
Subject: Re: gEDA-user: Exporting symbols in gschem
On Oct 5, 2010, at 12:44 PM, Oliver King-Smith wrote:
> I have defined a symbol in gschem called small_amplifier.sym which
has
> the following properties:
> source=small_amplifier.sch
> device=MAGIC_PART
> magic_cell_name=amp.mag
> Now when I run gnetlist I want to do a few things. When I am
building
> my output file and I come across this symbol, I want to grab a
> reference to amp.mag and write it out into my ASIC file.
> Unfortunately when I looks at what I get when I run
> (display packages)
> in my scheme file I don't see the symbol. All I see is the
components
> inside the symbol. I don't actually see the symbol on the list. Is
> there a way to see that symbol?
> The other thing I want to do is have the option of traversing
through
> the objects inside the symbol (which is what happens now) so I can
> build a netlist for the entire design. However for building my
layout
> file, I want to stop descending down the objects as I have already
> built the ASIC meta object (amp.mag) that I want to use.
> Do folks have any suggestions on how I can do this?
See [1]http://archives.seul.org/geda/user/Nov-2008/msg00489.html
John Doty Noqsi Aerospace, Ltd.
[2]http://www.noqsi.com/
[3]jpd@xxxxxxxxx
_______________________________________________
geda-user mailing list
[4]geda-user@xxxxxxxxxxxxxx
[5]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
References
1. http://archives.seul.org/geda/user/Nov-2008/msg00489.html
2. http://www.noqsi.com/
3. mailto:jpd@xxxxxxxxx
4. mailto:geda-user@xxxxxxxxxxxxxx
5. http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user