[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: hierarchy browser app



I'm working on something, and a side effect of it outputs the schematic 
hierarchy.  Is this useful to anyone?

The syntax is '.' is the top-most directory of the schematic. '/' 
separates the paths and the schematic name.  So, for example, 
./schematic1.sch is a schematic located at the root of the tree.

Here's a sample output as of this morning (using a current schematic of 
mine):

./ampzilla-base_pg1.sch
./S2/fpga_pg1.sch
./S2/fpga_pg2.sch
./S2/fpga_pg3.sch
./ampzilla-base_pg2.sch
./S4/spdif_pg1.sch
./S6/audio_top_pg1.sch
./S6/S104/fe_1ch_pg1.sch
./S6/S104/fe_1ch_pg2.sch
./S6/S103/fe_1ch_pg1.sch
./S6/S103/fe_1ch_pg2.sch
./S6/S109/adc_2ch_pg1.sch
./S6/S110/adc_2ch_pg1.sch
./S6/S105/fe_1ch_pg1.sch
./S6/S105/fe_1ch_pg2.sch
./S6/S106/fe_1ch_pg1.sch
./S6/S106/fe_1ch_pg2.sch
./S6/S111/adc_2ch_pg1.sch
./S6/S107/fe_1ch_pg1.sch
./S6/S107/fe_1ch_pg2.sch
./S6/S108/fe_1ch_pg1.sch
./S6/S108/fe_1ch_pg2.sch
./S6/S100/power_pg1.sch
./S6/S100/power_pg1.sch
./S6/audio_top_pg2.sch
./S6/audio_top_pg3.sch
./S6/S301/dac_2ch_pg1.sch
./S6/S303/mux4_pg1.sch
./S6/S304/mux4_pg1.sch
./S6/S307/ampConnectorOnly_pg1.sch
./S6/S309/ampConnectorOnly_pg1.sch
./S6/S308/power_pg1.sch
./S6/S308/power_pg1.sch
./S6/audio_top_pg4.sch
./S6/S401/dac_2ch_pg1.sch
./S6/S408/ampConnectorOnly_pg1.sch
./S6/S409/ampConnectorOnly_pg1.sch
./S6/S402/mux1_pg1.sch
./S6/S403/mux1_pg1.sch
./S6/audio_top_pg5.sch
./S6/S501/dac_2ch_pg1.sch
./S6/S509/ampConnectorOnly_pg1.sch
./S6/S508/ampConnectorOnly_pg1.sch
./S6/S502/mux1_pg1.sch
./S6/S503/mux1_pg1.sch
./S6/audio_top_pg6.sch
./S6/S601/dac_2ch_pg1.sch
./S6/S609/ampConnectorOnly_pg1.sch
./S6/S608/ampConnectorOnly_pg1.sch
./S6/S602/mux1_pg1.sch
./S6/S603/mux1_pg1.sch
./S6/audio_top_pg7.sch
./S6/S700/volume_8ch_pg1.sch
./S1/ethernet_passthrough_pg1.sch

I found something interesting too.  Look back and you will find
./S6/S100/power_pg1.sch
./S6/S100/power_pg1.sch
So I managed to have the source= attribute embedded in the symbol *and* 
on the schematic.  Somehow I didn't catch it before.  The netlist came 
out correctly just the same :)

gene


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user