Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

polygon size #1580

Open
ZZG-Z opened this issue Dec 28, 2023 · 1 comment
Open

polygon size #1580

ZZG-Z opened this issue Dec 28, 2023 · 1 comment
Labels

Comments

@ZZG-Z
Copy link

ZZG-Z commented Dec 28, 2023

Hi, when the size of layout over 2500um will generate confusion polygon. So, does the Klayout has some default setting that limits the size of whole layout?

@klayoutmatthias
Copy link
Collaborator

There is an inherent limitation in GDS2 because it uses 32 bit coordinates which are integer multiples of the database unit.

Depending on the DBU setting you can create geometry that covers -2e9 .. 2e9 DBU. So if you set your DBU to 1e-6 (µm) this may explain why you do see this behavior. A typical DBU today is maybe 0.1 nm. From the physical perspective a lower value does not make much sense as this is the atomic dimension. With this value you can theoretically cover about -200mm to 200mm. In reality, -100mm to 100mm is a safe area.

You can build KLayout with 64bit coordinate support. That will enable a virtually unlimited area, but double the memory footprint and is not compatible with GDS2. Only OASIS will work then.

Matthias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants