Merge pull request #962 from KLayout/lvs-data-as-global-function

Enabled 'lvs_data' as a new global function for LVS (for consistency)
This commit is contained in:
Matthias Köfferlein 2021-12-29 23:16:10 +01:00 committed by GitHub
commit ccb9c05859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View File

@ -100,6 +100,15 @@ See <a href="/about/lvs_ref_netter.xml#ignore_parameter">Netter#ignore_parameter
<p>
See <a href="/about/lvs_ref_netter.xml#join_symmetric_nets">Netter#join_symmetric_nets</a> for a description of that function.
</p>
<a name="lvs_data"/><h2>"lvs_data" - Gets the <a href="#LayoutVsSchematic">LayoutVsSchematic</a> object after compare was used</h2>
<keyword name="lvs_data"/>
<p>Usage:</p>
<ul>
<li><tt>lvs_data</tt></li>
</ul>
<p>
See <a href="/about/lvs_ref_netter.xml#lvs_data">Netter#lvs_data</a> for a description of that function.
</p>
<a name="max_branch_complexity"/><h2>"max_branch_complexity" - Configures the maximum branch complexity for ambiguous net matching</h2>
<keyword name="max_branch_complexity"/>
<p>Usage:</p>

View File

@ -201,9 +201,15 @@ module LVS
# @synopsis disable_parameter(device_class_name, parameter_name)
# See \Netter#disable_parameter for a description of that function.
# %LVS%
# @name lvs_data
# @brief Gets the \LayoutVsSchematic object after compare was used
# @synopsis lvs_data
# See \Netter#lvs_data for a description of that function.
%w(schematic compare join_symmetric_nets tolerance ignore_parameter enable_parameter disable_parameter
blank_circuit align same_nets same_nets! same_circuits same_device_classes equivalent_pins
min_caps max_res max_depth max_branch_complexity consider_net_names).each do |f|
min_caps max_res max_depth max_branch_complexity consider_net_names lvs_data).each do |f|
eval <<"CODE"
def #{f}(*args)
_netter.#{f}(*args)