"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "netlist.c" between
xcircuit-3.10.27.tgz and xcircuit-3.10.28.tgz

About: XCircuit is a X11 program for drawing publishable-quality electrical circuit schematic diagrams and related figures. It can also be used as a generic drawing program.

netlist.c  (xcircuit-3.10.27.tgz):netlist.c  (xcircuit-3.10.28.tgz)
skipping to change at line 5927 skipping to change at line 5927
/* Global pin names should probably be ignored, not just */ /* Global pin names should probably be ignored, not just */
/* when an object is declared to be "trivial". Not sure if */ /* when an object is declared to be "trivial". Not sure if */
/* this breaks certain netlists. . . */ /* this breaks certain netlists. . . */
if (locnet < 0) continue; if (locnet < 0) continue;
/* Get the name of the pin in the called object with no prefix. */ /* Get the name of the pin in the called object with no prefix. */
subnet = getsubnet(locnet, calls->callobj); subnet = getsubnet(locnet, calls->callobj);
ppin = nettopin(locnet, calls->callobj, NULL); ppin = nettopin(locnet, calls->callobj, NULL);
hidx = *ptableptr; hidx = *ptableptr;
while (hidx != NULL) { while (hidx != NULL) {
if (hidx->nets != NULL) { if ((hidx->nets != NULL) && (hidx->nets->numnets > 0)) {
/* Global nets were not translated, do not iterate through list */ /* Global nets were not translated, do not iterate through list */
if (*(hidx->nets->netidx) >= 0) { if (*(hidx->nets->netidx) >= 0) {
for (i = 0; i < hidx->nets->numnets; i++) for (i = 0; i < hidx->nets->numnets; i++)
if (*(hidx->nets->netidx + i) == ports->netid) if (*(hidx->nets->netidx + i) == ports->netid)
break; break;
if (i < hidx->nets->numnets) break; if (i < hidx->nets->numnets) break;
} else { } else {
if (*(hidx->nets->netidx) == ports->netid) break; if (*(hidx->nets->netidx) == ports->netid) break;
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)