[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-bug: [ geda-Patches-1444314 ] gnetlist: type of hidden pins
Patches item #1444314, was opened at 2006-03-06 19:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=818428&aid=1444314&group_id=161080
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Carlos Nieves Onega (cnieves)
Assigned to: Nobody/Anonymous (nobody)
Summary: gnetlist: type of hidden pins
Initial Comment:
Mail submitted on Sun, 26 Feb 2006 22:19:47 +0100 by
Holger Oehm to geda-dev mailing list:
I found out that pins which are created by the net=
attribute simply
cannot have any other attribute (they are not there as
an OBJECT).
One fix could be, to supply a default value for the
pintype attribute
for these pins in g_netlist.c
--- g_netlist.c.orig 2006-01-16 14:17:56.000000000 +0100
+++ g_netlist.c 2006-02-26 22:08:39.000000000 +0100
@@ -678,10 +678,21 @@
#if DEBUG
if (return_value) {
printf("GOT IT: %s\n",
return_value);
}
#endif
+ } else if (strcmp("pintype",
wanted_attrib) == 0) {
+ if (nl_current->cpins) {
+ CPINLIST *pinobject =
s_cpinlist_search_pin(nl_current->cpins, pin);
+ if (pinobject) {
+ return_value="pwr";
+#if DEBUG
+
printf("Supplied pintype 'pwr' for artificial pin '%s'
of '%s'\n",
+ pin, uref);
+#endif
+ }
+ }
}
}
}
nl_current = nl_current->next;
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=818428&aid=1444314&group_id=161080
_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug