Skip to content

Conversation

@d-m-bailey
Copy link
Contributor

@d-m-bailey d-m-bailey commented Nov 24, 2025

klayout handles duplicate in memory cells by adding $xx as a suffix.
netgen was using a regular expression ^$cell$ to match cells and the $ in the cellname was causing a not found error.
By changing the search from -regex to -match, cellnames with $ can be used.

I don't think LVS was ever intended to be run on with cellnames specified by wildcards, was it? Will changing to -exact cause a problem?

Also added information to the line displayed when a cell is not found to make what was searched for more obvious.

When loading a file, also print cellname on errors

Signed-off-by: Mitch Bailey <d.mitch.bailey@gmail.com>
Copy link
Owner

@RTimothyEdwards RTimothyEdwards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@RTimothyEdwards
Copy link
Owner

Pulled and merged on opencircuitdesign.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants