Corrected an issue that prevents "cells list <file>" from reporting

empty cells (this does not solve the problem at hand, but is a part
of it).
This commit is contained in:
Tim Edwards 2024-03-04 21:26:09 -05:00
parent 202ea0431f
commit 035fef5c72
2 changed files with 69 additions and 69 deletions

View File

@ -1 +1 @@
1.5.271
1.5.272

View File

@ -633,7 +633,7 @@ static int PrintCellHashTableElement(struct hashlist *p)
ptr = (struct nlist *)(p->ptr);
if ((TopFile >= 0) && (ptr->file != TopFile)) return 1;
if (ptr->class != CLASS_SUBCKT) {
if ((ptr->class != CLASS_SUBCKT) && (ptr->class != CLASS_MODULE)) {
/* only print primitive cells if Debug is enabled */
if (Debug == 1) Printf("Cell: %s (instanced %d times); Primitive\n",
ptr->name, ptr->number);
@ -653,7 +653,7 @@ static int PrintCellHashTableElement(struct hashlist *p)
#endif
}
else
Printf("Cell: %s (instanced %d times)\n",ptr->name,ptr->number);
Printf("Cell: %s (instanced %d times)\n", ptr->name, ptr->number);
return(1);
}