Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/operation/iSTA/interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ add_library(ista_interface
target_link_libraries(ista_interface
PRIVATE
ista_source
ista_sdc_command
idm
liberty
spef
Expand Down
18 changes: 18 additions & 0 deletions src/operation/iSTA/interface/STAInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#include "PowerPropagator.hpp"
#include "PowerReporter.hpp"
#include "SDFWriter.hpp"
#include "SdcCommand.hpp"
#include "SdcCommands.hpp"
#include "STAHeader.hpp"
#include "TCModel.hpp"
#include "TimingAnalyzer.hpp"
Expand Down Expand Up @@ -88,6 +90,21 @@ void STAInterface::initSTA(std::map<std::string, std::any> config_map)
DataManager::initInst();
STADM.input(config_map);
DelayCalculator::initInst();
SdcCommand::initInst({
{"set_case_analysis", sdc::executeTclCommand<sdc::TclSetCaseAnalysis>},
{"set_input_delay", sdc::executeTclCommand<sdc::TclSetInputDelay>},
{"set_output_delay", sdc::executeTclCommand<sdc::TclSetOutputDelay>},
{"set_input_transition", sdc::executeTclCommand<sdc::TclSetInputTransition>},
{"set_load", sdc::executeTclCommand<sdc::TclSetLoad>},
{"set_clock_uncertainty", sdc::executeTclCommand<sdc::TclSetClockUncertainty>},
{"get_clock", sdc::executeTclCommand<sdc::TclGetClocks>},
{"get_clocks", sdc::executeTclCommand<sdc::TclGetClocks>},
{"get_port", sdc::executeTclCommand<sdc::TclGetPorts>},
{"get_ports", sdc::executeTclCommand<sdc::TclGetPorts>},
{"create_clock", sdc::executeTclCommand<sdc::TclCreateClock>},
{"set_propagated_clock", sdc::executeTclCommand<sdc::TclSetPropagatedClock>},
});
STADM.readConstraint();

STALOG.info(Loc::current(), "Completed", monitor.getStatsInfo());
}
Expand Down Expand Up @@ -180,6 +197,7 @@ void STAInterface::destroySTA()
STADC.destroy();
DelayCalculator::destroyInst();
STADM.output();
SdcCommand::destroyInst();
DataManager::destroyInst();

STALOG.info(Loc::current(), "Completed", monitor.getStatsInfo());
Expand Down
2 changes: 2 additions & 0 deletions src/operation/iSTA/source/data_manager/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ add_library(ista_data_manager
target_link_libraries(ista_data_manager
PUBLIC
ista_toolkit
ista_sdc_command
)

target_include_directories(ista_data_manager
PUBLIC
${ISTA_DATA_MANAGER}/advance
${ISTA_DATA_MANAGER}/basic
${ISTA_DATA_MANAGER}
${ISTA_MODULE}/sdc_command/sdc_commands
)
Loading
Loading