It looks like you're new here. If you want to get involved, click one of these buttons!
I want to extract the width and length of the resistor, and then generate a netlist containing the length and width after the comparison (the default output netlist by "target_netlist" only contains the resistance value, but I need the length and width of the resistor more).
However, it has the following problems:
1. "mismatch" in Netlist Database Browse
Even if the device topology and parameters match, the result in the netlist browser is still mismatch.
I used the same custom comparator as @cgelinek_radlogic in "https://www.klayout.de/forum/discussion/comment/7750#Comment_7750".
Here is a comparison of the two netlists：
I have also tested it through the default comparator, the result turns out to be even stranger. Even if the extracted netlist does not change, the browser confirms that both vdd and gnd are connected to two nodes, and the topology does not match:
So how should I get the result of device match (by length and width instead of resistance value) in the browser?
2. more than the actual device in the variable device is puts
Too many device parameters were compared during the comparison, actually there is only one resistor in the gds file. This is no problem when there are only few devices in Layout, but if the number of devices to be verified is large, it will not be able to accurately determine the information of the mismatched device during the comparison process :
How should deal with this problem?
3. customized netlist generate
The default extracted netlist (by "target_netlist") only contains the resistance value, but the length and width of the resistance are more meaningful. Because if the length and width of the resistor are very small, the usual resistance value estimation methods have large tolerances.
How can I get the extractes netlist in the specified format?