Re: gEDA-user: Toporouter VERY slow?

2010-12-17 Thread Kai-Martin Knaak
Anthony Blake wrote:

> But I do find it rather
> discouraging the number of people (unfortunately a vocal majority) who
> are actively hostile

How loud do I have to SHOUT to make you not noticing these fellows? ;-)
Honestly, in my humble opinion a fully functional the topo would put 
geda/pcb way ahead of the rest of EDA packages in its class. 

So please, please, please, finish the job!
Alternatively, cut the job into handy sub jobs and ge one of us lurkers
on the mailing list to do the coding.

---<)kaimartin(>---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get



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


gEDA-user: 200 bugs, warts and feature requests

2010-12-17 Thread Kai-Martin Knaak
Hi.
When I do projects, schedule is usually a bit tight and I can't afford 
to dive into every issue I stumble on the way. So I make a quick note 
in my digital notebook zim. This may be bugs, little ideas for better 
usability, or issues with certain not so brilliant features.

Of course, most often, I never return to the subject. The list of 
notes grew over the years. Currently, it is at about 200 items. Is there
anything sensible I might do with it?
  Dump it wholesale to the mailing list?
  Add items to the source tracker?
  Pick one item a day and present it to the mailing list for comments?

---<)kaimartin(>---

PS: This is what the last couple of lines look like:
/--
• pcb wart: rats don't print in the eps HID

• gschem room for improvement: If an autosave backup is found, the dialog
 should offer to show the diff of the two files.

• gschem usability improvement: If a symbol contains slots, insert should
 optionally add all slots at once with slot numbers automatically
 incremented.

• gschem usability: The add text dialog should automatically apply the
 current text when the mouse leaves the dialog.

• gschem usability: The add text dialog should contain widgets to set
 text attributes like size, color, orientation, 

• gschem usability: Accel to increment/decrement  text size on [s]/[shift-s]
 similar to pcb
\--

-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get



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


Re: gEDA-user: Hierarchy Refdes and Component Values

2010-12-17 Thread Kai-Martin Knaak
John Doty wrote:

>> For example, I have S1 thru S7.  In S1, I want R1=100, in S2, I want
>> R1=1k, etc.
>> 
>> Is this possible with hierarchy?

No.
But it would be neat if it would. Maybe the code for the slotting 
mechanism could be reused to achieve the trick. 


> You can make a script with
> AWK, Perl, whatever that edits the BOM after gEDA's done, though.

And let the script edit the list of new components emitted by gsch2pcb. 
 

> If the symbol for the subcircuit has refdes X15, and it contains a 
> component with refdes C42, the refdes in the flattened netlist created
> by gnetlist is X15/C42. Local nets within the subcircuits similarly get
> pathnames for their netnames.

I don't like the slash, because it makes the component names extra long. 
So I put these lines in a local gnetlistrc:
 (hierarchy-uref-separator "")
 (hierarchy-netname-separator "")

In addition, I set the refdes of the subsheet symbol to a single digit. 
That way, the refdeses stand a chance to be readable in in silk with 
a three layered hierarchy.

---<)kaimartin(>---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get



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


Re: gEDA-user: Hierarchy Refdes and Component Values

2010-12-17 Thread John Doty

On Dec 17, 2010, at 1:46 PM, Thomas D. Dean wrote:

> I have a schematic with seven instances of a schematic, a hierarchy.
> 
> I want to give different values to the resistors in each of the
> sub-circuits.
> 
> For example, I have S1 thru S7.  In S1, I want R1=100, in S2, I want
> R1=1k, etc.
> 
> Is this possible with hierarchy?

Not with regular gEDA tools at this time. You can make a script with AWK, Perl, 
whatever that edits the BOM after gEDA's done, though.

> 
> How do the components in the hierarchy get assigned refdes values?

If the symbol for the subcircuit has refdes X15, and it contains a component 
with refdes C42, the refdes in the flattened netlist created by gnetlist is 
X15/C42. Local nets within the subcircuits similarly get pathnames for their 
netnames.

John Doty  Noqsi Aerospace, Ltd.
http://www.noqsi.com/
j...@noqsi.com




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


gEDA-user: Hierarchy Refdes and Component Values

2010-12-17 Thread Thomas D. Dean
I have a schematic with seven instances of a schematic, a hierarchy.

I want to give different values to the resistors in each of the
sub-circuits.

For example, I have S1 thru S7.  In S1, I want R1=100, in S2, I want
R1=1k, etc.

Is this possible with hierarchy?

How do the components in the hierarchy get assigned refdes values?

tomdean




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


Re: gEDA-user: get-package-attribute sometimes returns "?" - ID: 3114991

2010-12-17 Thread John Doty

On Dec 17, 2010, at 1:21 AM, Peter TB Brett wrote:

> So what you are saying is that you think we should get rid of the "WTF?" 
> function in the code, but not modify the symbol library?

I think there's nothing wrong with file=? in the symbols. It indicates that the 
you have failed to supply a required filename. (create-file-info-list), the 
"WTF?" function in spice-sdb, should issue a diagnostic if the file name is 
"?". Right now, all that results from substituting "unknown" is that it 
silently omits the file, which is surely wrong behavior. You won't even know 
there's a problem until you run SPICE, which has its own troubles with 
generating diagnostics that clearly identify the problem.

There are other problems with that function, too. Even if you give spice-sdb no 
reason to inspect included file contents (use -I --nomunge), it does so anyway. 
This can make building a subcircuit library tricky. If you want the automatic 
file inclusion for subcircuits to work you must build the library in 
topological order, because the included file must exist at netlist generation 
time even if you're not including it at that time, and have no dependence on 
its contents.

John Doty  Noqsi Aerospace, Ltd.
http://www.noqsi.com/
j...@noqsi.com




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


Re: gEDA-user: Question about using slots in .sym files

2010-12-17 Thread Kai-Martin Knaak
Ethan Swint wrote:

> I always make the slot a visible attribute, both name and value, to make 
> it a bit more obvious that it is a slotted part.

Me too. It is intuitive to edit the visible slot number in gschem.
Usually, I also make pin numbers visible on slotted symbols to aid 
debugging.


> Also - watch out if 
> you auto-assign refdes, as slots you wish to be on the same component 
> can get renumbered or grouped contrary to your wishes.

Yes, this is a major weakness in the default renumber script.

---<)kaimartin(>---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get



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


Re: gEDA-user: Erroneous rats added to PCB

2010-12-17 Thread Peter Clifton
On Thu, 2010-12-16 at 23:06 -0500, Peter Laurich wrote:
> Hi Peter and DJ,
> 
> Sorry for being off-line for a while.
> 
> Thanks very much for sorting this one out. I was going to fire up the
> debugger tomorrow to see if I could figure it out. Now I can go back
> to my layout task.
> 
> Cheers,

No problem!

It is lucky (for us) that you spotted it so soon after the bug was
introduced.

It was a nasty unobvious sort of bug, and to be honest, I'm still not
100% sure what expected API rules of calling the affected function are.

It appears that it is doing some clean-up for an operation it does not
directly initiate. (For something done before the function was called).

The patch in question had the side-effect of causing the function to
exit early when no work was to be done (where the function did not have
to add any rats to process). It seems that the clean-up it skipped by
doing so was actually necessary to flush out connections from the
current net, before moving onto the next net in the netlist.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



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


Re: gEDA-user: Question about using slots in .sym files

2010-12-17 Thread Ethan Swint

On 12/16/2010 10:31 PM, DJ Delorie wrote:

Select one of them and do Edit->Slot.  Change the slot and the pin
numbers will change too.
I always make the slot a visible attribute, both name and value, to make 
it a bit more obvious that it is a slotted part.  Also - watch out if 
you auto-assign refdes, as slots you wish to be on the same component 
can get renumbered or grouped contrary to your wishes.


Regards,
Ethan


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


Re: gEDA-user: get-package-attribute sometimes returns "?" - ID: 3114991

2010-12-17 Thread Peter TB Brett
> In any case, it seems to me that the user should get an error message
> (from spice-sdb) in this case, as an explicit "?" here means that the
> user has neither set the attribute to something useful nor deleted it as
> irrelevant.

So what you are saying is that you think we should get rid of the "WTF?" 
function in the code, but not modify the symbol library?

Peter

-- 
Peter Brett 
Remote Sensing Research Group
Surrey Space Centre
- Original message -
> 
> On Dec 16, 2010, at 9:29 PM, c...@eugeneweb.com wrote:
> 
> > I'm not sure we're on the same page here. That pice of legacy code is
> > what we want to remove. We don't want any code to reinterpret
> > attributes. For the short term we would like to change a few
> > probramatic symbols so we don't have to have special cases in the code.
> 
> But the "?" is there to tell you, when looking at the symbol in gschem,
> that you *need* to edit the attribute (I use those symbols a lot).
> 
> I'm puzzled here, because I thought Stuart was the author of both
> spice-sdb and the symbols in question, so the "WTF?" is strange.
> 
> 
> John Doty                           Noqsi Aerospace, Ltd.
> http://www.noqsi.com/
> j...@noqsi.com
> 
> 
> 
> 
> ___
> geda-user mailing list
> geda-user@moria.seul.org
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user



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