Skip to content

LVS: CustomComparer not working #806

@klayoutmatthias

Description

@klayoutmatthias

This is related to the following discussion:

https://www.klayout.de/forum/discussion/1821/how-to-create-a-genericdeviceparametercompare-subclass-for-lvs#latest

The CustomComparer isn't working because it's only installed on the extracted netlist and not on the schematic. Hence symmetry is broken and the internal error happens.

Technically the problem is that the extracted netlist's comparer is not copied to the schematic netlist because "clone" isn't available for scripted comparers.

In addition, the the "equal" method is redundant as - within the strict weak ordering - "equal(a,b)" is identical to "!less(a,b) && !less(b,a)".

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions