Skip to content

Allow processing of cellnames with $.#102

Closed
d-m-bailey wants to merge 1 commit into
RTimothyEdwards:masterfrom
d-m-bailey:cellnames-with-dollarsigns
Closed

Allow processing of cellnames with $.#102
d-m-bailey wants to merge 1 commit into
RTimothyEdwards:masterfrom
d-m-bailey:cellnames-with-dollarsigns

Conversation

@d-m-bailey

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

Copy link
Copy Markdown
Contributor

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>

@RTimothyEdwards RTimothyEdwards left a comment

Copy link
Copy Markdown
Owner

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
Copy Markdown
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