Files
klayout/testdata/drc/drcSimpleTests_94.drc
T
Matthias Koefferlein ffa42653fe Addressing issue #2011
- "report" can now be late in DRC without internal error
  Yet, the report will only capture the output layers
  after the report statement has been called.
- Text objects don't create zero-area polygons in deep mode
  XOR now.
2025-04-26 22:04:50 +02:00

27 lines
436 B
Plaintext

source $drc_test_source
target $drc_test_target
if $drc_test_deep
deep
end
l1 = input(1, 0)
l2 = input(2, 0)
l1.output(1, 0)
l2.output(2, 0)
x = l1 ^ l2
# we detect point-like polygons here by explicitly
# iterating. The enlargement makes sure, we have something
# to write to the output layout.
boxes = x.data.each.collect do |p|
RBA::Box::new(p.bbox.enlarged(10, 10))
end
x.data = RBA::Region::new(boxes)
x.output(10, 0)