Skip to content

LVS: CustomComparer not working #806

Closed

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)".

Activity

  1. added a commit that references this issue on May 29, 2021
    fcb9663
  2. added this to the 0.27.1 milestone on May 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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