gEDA-dev: gEDA Schematic to Symbol Generator

Bert Timmerman bert.timmerman at xs4all.nl
Wed Sep 26 01:42:14 EDT 2007


Hi Andrew,

I have been playing with your script etc. last night and I find it quit
useful.

IMHO this is another big step in getting hierarchy automated (as in the
last "A" in gEDA).

One thing that could be improved is w.r.t. the attributes defined in the
geda_sch2sym.ini file.

<snip>
[sym_attr]
# Require attribute names, user can define their values
# Attr_name = attr_value
version = 20061020 1
device  = ?   
refdes  = U?

[sym_attr_optional]
# Optional user defined symbol attribute names and values below
# Attr_name = attr_value
description = ?
author      = Bert Timmerman <bert.timmerman at xs4all.nl>
dist-license = GPL
use-license = unlimited
</snip>

The way things are at this moment all devices are "adder1b"  ;-(

And of course one can substitute the "author=", "use-license=" and
"dist-license=" attributes to the user needs, maybe even pass $USER to
the "author=" attribute.

Other settings I have changed are:

<snip>
pin_dir_arrow  =  no
</snip>

IMHO the arrows on the input side of the symbol resemble a clocked
input, so I highly appreciate it that this feature is configurable.

and I like the custom setting of pinname, pinnumber and pintype as in:

<snip>
# Pin attribute text location
#                          |
#               [pAttr_1]  |   [pAttr_4]
#  pin --------------------|>   pAttr_0
#               [pAttr_2]  |   [pAttr_3]
#    Outside symbol box <- | -> Inside Symbol box
#
# Below is gEDA Verilog netlist compatible setting
#                        attr_value,
#attr_loc   attr_name    column No of 
#                        sym_pin_list     visible   font_size

# Below is custom setting
pAttr_0      pinname         0            1          8
pAttr_1      pinnumber       1            0          8
pAttr_2      pintype         2            0          8
</snip>

over the default values.

Yours is VERY good stuff indeed.

Now for a good way to get this functionality implemented into
gschem  ;-)

Gentle-people may I have your votes please ?

Kind regards,

Bert Timmerman.



On Tue, 2007-09-25 at 20:27 -0700, A Tan wrote:

<previous e-mail stuff deleted>





More information about the geda-dev mailing list