mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-05-30 00:24:12 +08:00
rm extra swig module dcls
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
@@ -22,8 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module dcalc
|
||||
|
||||
%include <std_string.i>
|
||||
|
||||
%{
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module graph
|
||||
|
||||
%{
|
||||
#include "Clock.hh"
|
||||
#include "FuncExpr.hh"
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module liberty
|
||||
|
||||
%{
|
||||
#include "PatternMatch.hh"
|
||||
#include "PortDirection.hh"
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module network
|
||||
|
||||
%include <std_string.i>
|
||||
|
||||
%{
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module NetworkEdit
|
||||
|
||||
%{
|
||||
using sta::Cell;
|
||||
using sta::Instance;
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module parasitics
|
||||
|
||||
%{
|
||||
#include "Sta.hh"
|
||||
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module power
|
||||
|
||||
%{
|
||||
#include "power/Power.hh"
|
||||
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module sdc
|
||||
|
||||
%include "std_string.i"
|
||||
|
||||
%{
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module sdf
|
||||
|
||||
%{
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module properties
|
||||
|
||||
%{
|
||||
|
||||
#include "Property.hh"
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module search
|
||||
|
||||
%include "std_string.i"
|
||||
|
||||
%{
|
||||
|
||||
@@ -366,6 +366,7 @@ define_cmd_args "report_check_types" \
|
||||
[> filename] [>> filename]}
|
||||
|
||||
proc_redirect report_check_types {
|
||||
global sta::float_inf sta::group_path_count_max
|
||||
variable path_options
|
||||
|
||||
parse_key_args "report_check_types" args \
|
||||
@@ -484,13 +485,13 @@ proc_redirect report_check_types {
|
||||
set path_min_max "min"
|
||||
}
|
||||
if { $violators } {
|
||||
set group_path_count $sta::group_path_count_max
|
||||
set slack_min [expr -$sta::float_inf]
|
||||
set group_path_count $group_path_count_max
|
||||
set slack_min [expr -$float_inf]
|
||||
set slack_max 0.0
|
||||
} else {
|
||||
set group_path_count 1
|
||||
set slack_min [expr -$sta::float_inf]
|
||||
set slack_max $sta::float_inf
|
||||
set slack_min [expr -$float_inf]
|
||||
set slack_max $float_inf
|
||||
}
|
||||
|
||||
set path_ends [find_path_ends "NULL" {} "NULL" 0 \
|
||||
@@ -971,7 +972,7 @@ proc_redirect report_clock_min_period {
|
||||
set include_port_paths [info exists flags(-include_port_paths)]
|
||||
|
||||
foreach clk $clks {
|
||||
set min_period [sta::find_clk_min_period $clk $include_port_paths]
|
||||
set min_period [find_clk_min_period $clk $include_port_paths]
|
||||
if { $min_period == 0.0 } {
|
||||
set min_period 0
|
||||
set fmax "INF"
|
||||
@@ -979,7 +980,7 @@ proc_redirect report_clock_min_period {
|
||||
# max frequency in MHz
|
||||
set fmax [expr 1.0e-6 / $min_period]
|
||||
}
|
||||
report_line "[get_name $clk] period_min = [sta::format_time $min_period 2] fmax = [format %.2f $fmax]"
|
||||
report_line "[get_name $clk] period_min = [format_time $min_period 2] fmax = [format %.2f $fmax]"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1023,17 +1024,17 @@ proc unset_disable_inferred_clock_gating_cmd { objects } {
|
||||
|
||||
# max slew slack / limit
|
||||
proc max_slew_check_slack_limit {} {
|
||||
return [expr "[sta::max_slew_check_slack] / [sta::max_slew_check_limit]"]
|
||||
return [expr "[max_slew_check_slack] / [max_slew_check_limit]"]
|
||||
}
|
||||
|
||||
# max cap slack / limit
|
||||
proc max_capacitance_check_slack_limit {} {
|
||||
return [expr [sta::max_capacitance_check_slack] / [sta::max_capacitance_check_limit]]
|
||||
return [expr [max_capacitance_check_slack] / [max_capacitance_check_limit]]
|
||||
}
|
||||
|
||||
# max fanout slack / limit
|
||||
proc max_fanout_check_slack_limit {} {
|
||||
return [expr [sta::max_fanout_check_slack] / [sta::max_fanout_check_limit]]
|
||||
return [expr [max_fanout_check_slack] / [max_fanout_check_limit]]
|
||||
}
|
||||
|
||||
################################################################
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module write_gate_spice
|
||||
|
||||
%{
|
||||
|
||||
#include "spice/WritePathSpice.hh"
|
||||
|
||||
18
util/Util.i
18
util/Util.i
@@ -22,7 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module util
|
||||
%include <std_string.i>
|
||||
|
||||
%{
|
||||
@@ -40,16 +39,9 @@ using namespace sta;
|
||||
|
||||
%}
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Empty class definitions to make swig happy.
|
||||
// Private constructor/destructor so swig doesn't emit them.
|
||||
//
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
%inline %{
|
||||
|
||||
float float_inf = INF;
|
||||
const float float_inf = INF;
|
||||
|
||||
const char *
|
||||
version()
|
||||
@@ -544,11 +536,3 @@ fuzzy_equal(float value1,
|
||||
}
|
||||
|
||||
%} // inline
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Object Methods
|
||||
//
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
//
|
||||
// This notice may not be removed or altered from any source distribution.
|
||||
|
||||
%module verilog
|
||||
|
||||
%{
|
||||
#include "Sta.hh"
|
||||
#include "VerilogWriter.hh"
|
||||
|
||||
Reference in New Issue
Block a user