mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
One more change to the extraction method to avoid extracting the
substrate more than once for the same subcell, since the substrate extraction method scans the entire plane area; this was making large standard cell layouts extract very slowly, as every component cell was causing the substrate search to be repeated.
This commit is contained in:
@@ -91,6 +91,10 @@ extHierSubstrate(ha, use, x, y)
|
||||
/* define a substrate plane or substrate connections. */
|
||||
if (glob_subsnode == NULL) return;
|
||||
|
||||
/* If the substrate has already been extracted for this use */
|
||||
/* then there is no need to do it again. */
|
||||
if (use->cu_flags & CU_SUB_EXTRACTED) return;
|
||||
|
||||
def = (CellDef *)ha->ha_parentUse->cu_def;
|
||||
|
||||
/* Register the name of the parent's substrate */
|
||||
|
||||
Reference in New Issue
Block a user