3 ; Init file for gnetlist
7 ; keywords are case sensitive (guile feature)
8 ; mode strings are case sensitive
9 ; colors are not case sensitive
12 ; gnetlist-version string
14 ; Specifies the version of this file. This number is used to make sure
15 ; that the rc file is compatible with the version of gschem that is
16 ; being run. The end user should *not* change this value.
18 (gnetlist-version "@DATE_VERSION@")
20 ; Setup data path variables.
22 ; Contains all paths needed for gnetlist
23 (define gedadata (getenv "GEDADATA"))
24 (define gedadatarc (getenv "GEDADATARC"))
26 ; net-naming-priority string
28 ; Specifies which netname has priority if a net is found with two names.
29 ; If this variable is set to "netattrib" then any netname specified with the
30 ; net= attribute is used as the netname. Likewise if this variable is set to
31 ; "netname" then any netname conflict is resolved using the netname= value.
33 (net-naming-priority "netattrib")
34 ;(net-naming-priority "netname")
36 ; hierarchy-traversal string
38 ; Decides if the hierarchy is traversed or not. If this is disabled then
39 ; gnetlist will not go down searching for any underlying sources
41 (hierarchy-traversal "enabled")
42 ;(hierarchy-traversal "disabled")
44 ; hierarchy-uref-mangle string
46 ; Controls if uref names are mangled to make them uniq when traversing
47 ; down into the hierarchy. If this is disabled then urefs are not changed
48 ; and it is the user's responsibility to make sure they are unique.
49 ; If you disable this, you really are taking your netlist's life into your
50 ; own hands. You *MUST* have unique urefs throughout the entire hierarchy
51 ; or bad things might happen. Also you cannot reuse underlying schematics.
53 (hierarchy-uref-mangle "enabled")
54 ;(hierarchy-uref-mangle "disabled")
56 ; hierarchy-netname-mangle string
58 ; Controls if net names are mangled to make them uniq when traversing
59 ; down into the hierarchy. If this is disabled then the net names are not
60 ; changed and it is the user's responsibility to make sure they are unique.
61 ; If you disable this, you really are taking your netlist's life into your
62 ; own hands. This basically has the effect of making all same named nets
63 ; in the entire hierarchy be electrically connected. Hope you know what you
66 (hierarchy-netname-mangle "enabled")
67 ;(hierarchy-netname-mangle "disabled")
69 ; hierarchy-netattrib-mangle string
71 ; Controls if net created by using the net= attribute are renamed to make
72 ; them uniq when traversing down into the hierarchy. If this is disabled
73 ; then the net= created nets are not changed. This feature is handy to have
74 ; global nets which spawn the entire hierarchy (like power or ground nets).
75 ; Please make sure you know what you are doing.
77 (hierarchy-netattrib-mangle "enabled")
78 ;(hierarchy-netattrib-mangle "disabled")
80 ; hierarchy-uref-separator string
82 ; Specifies what the separator string between the various hierarchy tags
83 ; for all urefs. This string can also be "" (empty) to specify that no
84 ; chars should be used. This keyword is ignored if hierarchy-uref-mangle
85 ; is disabled (though a default "/" is used in this case, and then all the
86 ; internal mangling is removed so it is not seen by the user). This keyword
87 ; is used in conjunction with the respective hierarchy-*-order keyword.
89 (hierarchy-uref-separator "/")
90 ;(hierarchy-uref-separator "")
92 ; hierarchy-netname-separator string
94 ; Specifies what the separator string between the various hierarchy tags
95 ; for all nets (excluding net= nets, see below for those). This string can
96 ; also be "" (empty) to specify that no chars should be used. This keyword
97 ; is ignored if hierarchy-netname-mangle is disabled. This keyword
98 ; is used in conjunction with the respective hierarchy-*-order keyword.
100 ; This keyword is also fairly coupled with hierarchy-uref-separator and
101 ; hierarchy-netattrib-separator so you will probably have to change those
102 ; to get the wanted hierarchy naming.
104 (hierarchy-netname-separator "/")
105 ;(hierarchy-netname-separator "")
107 ; hierarchy-netattrib-separator string
109 ; Specifies what the separator string between the various hierarchy tags
110 ; for net= created nets. This string can also be "" (empty) to specify
111 ; that no chars should be used. This keyword is ignored if
112 ; hierarchy-netattrib-mangle is disabled. This keyword is used in
113 ; conjunction with the respective hierarchy-*-order keyword.
115 (hierarchy-netattrib-separator "/")
116 ;(hierarchy-netattrib-separator "")
118 ; hierarchy-uref-order string
120 ; Specifies the order in which the hierarchy tags are applied to all
123 (hierarchy-uref-order "append")
124 ;(hierarchy-uref-order "prepend")
126 ; hierarchy-netname-order string
128 ; Specifies the order in which the hierarchy tags are applied to all
131 (hierarchy-netname-order "append")
132 ;(hierarchy-netname-order "prepend")
134 ; hierarchy-netattrib-order string
136 ; Specifies the order in which the hierarchy tags are applied to nets created
137 ; using the net= attribute
139 (hierarchy-netattrib-order "append")
140 ;(hierarchy-netattrib-order "prepend")
142 ; unnamed-netname string
144 ; Specifies the default string which is placed in front of all nets that
145 ; have not been explicitly named by the user (using the netname= attribute
148 (unnamed-netname "unnamed_net")
150 ; unnamed-busname string
152 ; Specifies the default string which is placed in front of all buses that
153 ; have not been explicitly named by the user.
154 ; (This is not currently useful, since gnetlist does not netlist buses).
156 (unnamed-busname "unnamed_bus")
159 ; End of mode related keywords
164 ; Start of path related keywords
168 ; End of path related keywords
171 ; world-size width height border
173 ; Specifies the size of the world and a border
174 ; Be sure all inputs are reals (floats/doubles) and don't try to reverse
175 ; the values: to get a portrait mode. Code to support that needs to be added
176 ; The code that implements this automatically transforms the dimensions into
177 ; the proper aspect ratio. All units are in inches.
178 ; This is not the paper size. That is specified elsewhere. End users should
179 ; not change this at all
181 (world-size 120.0 90.0 1.0)
182 ;(world-size 60.0 45.0 1.0)