Moved the substrate plane/restore further out so that planes are

not restored until after all cells have been processed through
extraction.  Otherwise, top-down connections can end up with
different generated names for the same node, resulting in a
disconnect in the netlist.
This commit is contained in:
Tim Edwards
2021-04-05 16:03:54 -04:00
parent fca21c8fc0
commit f84de3676a
7 changed files with 51 additions and 14 deletions
+4 -1
View File
@@ -148,6 +148,8 @@ ExtractTest(w, cmd)
if (cmd->tx_argc == 1)
{
Plane *savePlane;
selectedCell = CmdGetSelectedCell((Transform *) NULL);
if (selectedCell == NULL)
{
@@ -156,7 +158,8 @@ ExtractTest(w, cmd)
}
extDispInit(selectedCell->cu_def, w);
ExtCell(selectedCell->cu_def, selectedCell->cu_def->cd_name, FALSE);
savePlane = ExtCell(selectedCell->cu_def, selectedCell->cu_def->cd_name, FALSE);
ExtRevertSubstrate(selectedCell->cu_def, savePlane);
return;
}