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

If adding a reference cell, why it is necessary to add this cell instance in lib??? #249

Closed
huangwenjunlovedy opened this issue May 22, 2024 · 3 comments

Comments

@huangwenjunlovedy
Copy link

huangwenjunlovedy commented May 22, 2024

I found that when using a reference cell, it is necessary to add the instance of the reference cell to the lib, otherwise it will fail. May I ask why this is happening? I think if a top-level cell is added to the lib, then the referenced cells contained in that top-level cell will be included together in the lib. But in reality, it's not like that. I hope you can answer, thank you!

my code:
test2.zip

(1)When lib adds instances that reference cells :
image

image

(2)When lib does not add an instance referencing cell :
image
image

@heitzmann
Copy link
Owner

That's the expected behavior. That was a design choice made in early development, because it is quite easy to simply replace your line with lib2.add(main, *main.dependencies()) and have the automatic behavior you desire.

@nmz787-intel
Copy link

I believe it has to do with some tools that have many GDS files, and can load them all as a distributed library. This is an assumption though, and may be an incorrect interpretation of behavior I see in closed-source tools.

@heitzmann
Copy link
Owner

That's correct, the GDSII format dose support loading cells from separate libraries. We want to allow that.

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

No branches or pull requests

3 participants