ord issues
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
2c77aa2daf
commit
df0cb61c11
|
|
@ -420,18 +420,7 @@ set_property(SOURCE ${STA_SWIG_FILE}
|
|||
PROPERTY SWIG_FLAGS
|
||||
-module sta
|
||||
-namespace -prefix sta
|
||||
-I${STA_HOME}/dcalc
|
||||
-I${STA_HOME}/graph
|
||||
-I${STA_HOME}/liberty
|
||||
-I${STA_HOME}/network
|
||||
-I${STA_HOME}/sdc
|
||||
-I${STA_HOME}/sdf
|
||||
-I${STA_HOME}/parasitics
|
||||
-I${STA_HOME}/power
|
||||
-I${STA_HOME}/search
|
||||
-I${STA_HOME}/spice
|
||||
-I${STA_HOME}/tcl
|
||||
-I${STA_HOME}/verilog
|
||||
-I${STA_HOME}
|
||||
)
|
||||
|
||||
set(SWIG_FILES
|
||||
|
|
@ -469,7 +458,6 @@ set_source_files_properties(${STA_SWIG_CXX_FILE}
|
|||
# No simple way to modify the swig template that emits code full of warnings
|
||||
# so suppress them.
|
||||
COMPILE_OPTIONS "-Wno-cast-qual;-Wno-missing-braces;-Wno-deprecated-declarations"
|
||||
INCLUDE_DIRECTORIES "${CUDD_INCLUDE}"
|
||||
)
|
||||
|
||||
target_link_libraries(sta_swig
|
||||
|
|
|
|||
28
app/StaApp.i
28
app/StaApp.i
|
|
@ -17,17 +17,17 @@
|
|||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
%include "Exception.i"
|
||||
%include "StaTclTypes.i"
|
||||
%include "Graph.i"
|
||||
%include "StaTcl.i"
|
||||
%include "Liberty.i"
|
||||
%include "Verilog.i"
|
||||
%include "Network.i"
|
||||
%include "NetworkEdit.i"
|
||||
%include "Sdf.i"
|
||||
%include "Sdc.i"
|
||||
%include "DelayCalc.i"
|
||||
%include "WriteSpice.i"
|
||||
%include "Parasitics.i"
|
||||
%include "Search.i"
|
||||
%include "Power.i"
|
||||
%include "tcl/StaTclTypes.i"
|
||||
%include "tcl/StaTcl.i"
|
||||
%include "dcalc/DelayCalc.i"
|
||||
%include "graph/Graph.i"
|
||||
%include "liberty/Liberty.i"
|
||||
%include "network/Network.i"
|
||||
%include "network/NetworkEdit.i"
|
||||
%include "parasitics/Parasitics.i"
|
||||
%include "power/Power.i"
|
||||
%include "sdc/Sdc.i"
|
||||
%include "sdf/Sdf.i"
|
||||
%include "search/Search.i"
|
||||
%include "spice/WriteSpice.i"
|
||||
%include "verilog/Verilog.i"
|
||||
|
|
|
|||
|
|
@ -140,4 +140,12 @@ unencode(const char *inits[])
|
|||
return unencoded;
|
||||
}
|
||||
|
||||
// Hack until c++17 filesystem is better supported.
|
||||
bool
|
||||
is_regular_file(const char *filename)
|
||||
{
|
||||
struct stat sb;
|
||||
return stat(filename, &sb) == 0 && S_ISREG(sb.st_mode);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
|
|||
|
|
@ -18,10 +18,12 @@
|
|||
|
||||
#include <map>
|
||||
|
||||
#include "cudd.h"
|
||||
#include "StaState.hh"
|
||||
#include "LibertyClass.hh"
|
||||
|
||||
struct DdNode;
|
||||
struct DdManager;
|
||||
|
||||
namespace sta {
|
||||
|
||||
typedef std::map<const LibertyPort*, DdNode*> BddPortVarMap;
|
||||
|
|
|
|||
|
|
@ -64,5 +64,7 @@ sourceTclFile(const char *filename,
|
|||
bool echo,
|
||||
bool verbose,
|
||||
Tcl_Interp *interp);
|
||||
bool
|
||||
is_regular_file(const char *filename);
|
||||
|
||||
} // namespace
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
#include <algorithm> // max
|
||||
#include <cmath> // abs
|
||||
|
||||
#include "cudd.h"
|
||||
#include "Debug.hh"
|
||||
#include "EnumNameMap.hh"
|
||||
#include "Hash.hh"
|
||||
|
|
|
|||
Loading…
Reference in New Issue