Closed akshat-ja closed 6 days ago
Are you by chance messing up the dbu/um conversion?
Your euler bend you are presenting here would have width == 1dbu (1nm in default). I assume you want something like 1000 (i.e. 1um).
The standard kfactory cell functions use um for bends and other path extruded cells
You can see this from the type annotations
It's a bit hard to see because it's factories of factories, but the new kf_types
annotations should indicate what is expected as a unit
Figured it out, there was a there was a width*1e-3
in the code. Closing issue.
Describe the bug Euler bend pcells
bend_euler_factory
andbend_s_euler_factory
are breaking due to a raised exceptionwidth needs to be even to snap to grid. Got {width}
.Expected behavior There's a width snap to grid expected somewhere in these functions that is not happening and thus causing this violation.
Command line output