Database Units read from layout (not Tech) #177
Closed
jevillegasd
started this conversation in
Ideas
Replies: 1 comment
-
In this scope, I saw that I get a weird behavior when I use the layer list from the layout returned by get_layout_variables(). Inside a PCell produce_impl method I have this code:
And I get two different values for each of these. Any idea of what this behavior should be? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The database units are always read from the technology definition, instead of the actual layout, and this often results in wrong behaviour whenever the layout units don't match the technology default db units.
I am guessing in general the db units are defined by the foundry and therefore you don't want to have your units to not match that of the fabrication process, but I guess it's still good if the shape generation works despite the units mismatch. Would it be reasonable to change the core to allow this? (I think this would need changes in the get_technology() function only).
Example: Here is a path, and the same path after transforming it into a waveguide while using the layout units as 0.002 um
![image](https://user-images.githubusercontent.com/14344419/184554240-ecded650-4154-465d-9ff9-137084a1b5e0.png)
Beta Was this translation helpful? Give feedback.
All reactions