Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Rounding issue after etch #4

@klayoutmatthias

Description

@klayoutmatthias

This ticket is following https://www.klayout.de/forum/comments.php?DiscussionID=1041

See the attached xs file and layout.

This is the wrong output:

image

The expectation is to see the implant effective for both epi layers.

Technically the issue arises because of this code in xsection.lym, line 275++:

    # consume material and add to air
    if into
      into.each do |i|
        i.sub(res)
      end
    end

    @xs.air.add(res)

The "res" shape is subtracted from both "into" substrates, but due to grid snapping the effective "air" adder is different from the original shape.

epi.gds.gz
epi.xs.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions