Skip to content

netgen infinite loop #101

@d-m-bailey

Description

@d-m-bailey

Netgen 1.5.305 enters an infinite loop and prints

Flattening unmatched subcell ldo_OTA in circuit ldo (1)(0 instances)
Flattening unmatched subcell ldo_OTA in circuit ldo (1)(0 instances)
...

until the disk runs out of space.

ldo_OTA is explicitly preflattened in the setup file.

netgen_loop.tgz

tar xzf netgen_loop.tgz
cd netgen_loop
netgen -batch source lvs.script

Changing subckt ldo to ldo1 (and the instance) eliminates the problem.

cp chipation_A_track.ok.spice chipathon_A_track.spice
netgen -batch source lvs.script

(Actually, since there is no ldo1 in the layout, the ldo1 in the source is preflattened. However, changing ldo$x to ldo1$x in the extracted spice also completes.)

Years ago I think I remember reporting a similar problem with flatglob where a flatglob substring caused a cell containing that substring to be flattened. At the time, I think I was using the optimize. Someone (Leo?) tried to create a test case but we couldn't recreate the problem. I tried search but couldn't find the previous thread.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions