It looks like you're new here. If you want to get involved, click one of these buttons!
I try to use lvs_data (there some guideline in help) to get data result from LVS compare but klayout(0.27.5) always show undefine method.
How can i get the result?
Thank you very much!
@dai lvs_data is a method of the Netter object, not a global function (although it should).
I will enable it as a global function too for consistency. Until then you can access the LayoutVsSchematic object as a method of the default netter object using
_netter.lvs_data(note the underscore).
Thank you very much, Matthias.
I got the data.
BTW, base on compare result i make some net same( use same_nets function). have any way to re-run compare? i tried to re-run and got the error notice like following picture
Basically it should be possible to use "compare" multiple times. However I have not explicitly tested this case and there is a small issue which prevent this.
You can work around the issue by setting the schematic netlist again before the second call of "compare".
I have created a ticket for this problem: https://github.com/KLayout/klayout/issues/971