klayout icon indicating copy to clipboard operation
klayout copied to clipboard

DRC: Feeding the same layer to two-layer operations in deep mode does not render the desired result

Open klayoutmatthias opened this issue 1 year ago • 0 comments

This is a general limitation: when using the same layer for boolean and other two-layer-operations such as "interacting", the result may be incorrect.

For example:

deep

layer1 = input(1, 0)

same = layer1 & layer1

This is a somewhat contrived example, but in some scenarios with conditional branches, it may be difficult to avoid this situation in general.

Hence, the behavior should be as expected - in case of the "and" operation above, the same-layer boolean should fall back to a copy.

klayoutmatthias avatar Mar 06 '24 22:03 klayoutmatthias