mirror of https://github.com/KLayout/klayout.git
Enabling special mode (hidden) for generating diodes for soft connections
This commit is contained in:
parent
c04d468c55
commit
6f48893cdb
|
|
@ -2352,8 +2352,10 @@ CODE
|
|||
top_level
|
||||
ignore_extraction_errors
|
||||
extract_devices
|
||||
l2n_data
|
||||
netlist
|
||||
l2n_data
|
||||
_l2n_object
|
||||
_make_soft_connection_diodes
|
||||
).each do |f|
|
||||
eval <<"CODE"
|
||||
def #{f}(*args)
|
||||
|
|
|
|||
|
|
@ -753,6 +753,14 @@ module DRC
|
|||
@l2n && @l2n.is_extracted? && self.l2n_data
|
||||
end
|
||||
|
||||
def _l2n_object
|
||||
@l2n
|
||||
end
|
||||
|
||||
def _make_soft_connection_diodes(f)
|
||||
@l2n.make_soft_connection_diodes = f
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def cleanup
|
||||
|
|
|
|||
Loading…
Reference in New Issue