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

Re: gEDA-user: gnetlist complains of unconnected pins



On 9/25/06, Carlos Nieves Ónega <cnieves.mail@xxxxxxxxx> wrote:
Hi all,
I have fixed the CVS version of the symbol according to the changes
posted here. Thanks for the bug report and the bug fix.

Regards,

Carlos

I believe there are few more symbols where the active connection end is off grid ---

share/gEDA/sym/4000/4022-2.sym
share/gEDA/sym/connector/mains-entry-1.sym
share/gEDA/sym/maxim/max186-1.sym
share/gEDA/sym/memory/HM628511HC-SOJ36-1.sym
share/gEDA/sym/memory/am27S13D-1.sym
share/gEDA/sym/micro/ATmega16L-1.sym
share/gEDA/sym/micro/pic12F675-2.sym
share/gEDA/sym/pla/N82S100N-1.sym
share/gEDA/sym/xilinx/XC95108-PC84.sym
share/gEDA/sym/supervisor/adm707.sym
share/gEDA/sym/opto/hcpl-4534-1.sym

Running the script that is below will print out the offending lines. Just change
the value of $Dir to match your system path.

(* jcl *)

#!/usr/bin/perl

use strict;
use warnings;
use Carp;
use File::Find;

my @Files;
my @Dirs = qw(/local/pub/geda-20050329/share/gEDA/sym/);

&find(sub {push @Files, $File::Find::name }, @Dirs);

@ARGV = @Files;
while (<>) {
   next unless s/^\s*P\s+//;
   my ($x1, $y1, $x2, $y2, $color, $pintype, $whichend) = split;
   print "($ARGV line $.) wrong number of parameters\n", next unless
defined $whichend;
   foreach my $coord ($whichend ? ($x2, $y2) : ($x1, $y1)) {
	next unless $coord % 100;
	print "($ARGV line $.) $_\n";
	last;
   }
} continue {
   close ARGV if eof; # reset $.
}

# Style (adapted from the Perl Cookbook, First Edition, Recipe 12.4)

# 1. Names of functions and local variables are all lowercase.
# 2. The program's persistent variables (either file lexicals
#    or package globals) are capitalized.
# 3. Identifiers with multiple words have each of these
#    separated by an underscore for readability.
# 4. Constants are all uppercase.
# 5. If the arrow operator (->) is followed by either a
#    method name or a variable containing a method name then
#    there is a space before and after the operator.














El sáb, 23-09-2006 a las 22:25 +0530, Ramakrishnan Muthukrishnan escribió: > On 9/23/06, John Luciani <jluciani@xxxxxxxxx> wrote: > > > > Change the line > > > > P 725 350 725 200 1 0 1 > > > > to > > > > P 700 350 700 200 1 0 1 > > > > > > The format of the pin declaration is P <x1> <y1> <x2> <y2> > > If you want you could decrease the 350 so that the pin intersects > > with the triangle. > > John, > > It worked. Thanks a lot. I should start looking at the manual to > understand what those declarations mean. Thanks again. >



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



--
http://www.luciani.org


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