mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-01 18:37:50 +02:00
The solution is to drop clusters that have no area and not connections downward. This implies, we cannot connect from upward to such clusters - i.e. we cannot force a pin inside a subcircuit with a plain text. We need some polygon at least. This is not a problem as texts were not enough so far anyway.
26 lines
399 B
Plaintext
26 lines
399 B
Plaintext
|
|
$lvs_test_source && source($lvs_test_source)
|
|
|
|
if $lvs_test_target_l2n
|
|
report_netlist($lvs_test_target_l2n)
|
|
else
|
|
report_netlist
|
|
end
|
|
|
|
writer = write_spice(true, false)
|
|
$lvs_test_target_cir && target_netlist($lvs_test_target_cir, writer, "Extracted by KLayout")
|
|
|
|
deep
|
|
|
|
# polygons and labels on same layer
|
|
|
|
l1 = input(1, 0)
|
|
l2 = input(2, 0)
|
|
|
|
connect(l1, l2)
|
|
|
|
connect_implicit("*", "*")
|
|
|
|
netlist
|
|
|