rm Sta::setMinLibrary
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
610fba0d15
commit
cda30445d6
|
|
@ -118,8 +118,6 @@ public:
|
||||||
Corner *corner,
|
Corner *corner,
|
||||||
const MinMaxAll *min_max,
|
const MinMaxAll *min_max,
|
||||||
bool infer_latches);
|
bool infer_latches);
|
||||||
bool setMinLibrary(const char *min_filename,
|
|
||||||
const char *max_filename);
|
|
||||||
bool readVerilog(const char *filename);
|
bool readVerilog(const char *filename);
|
||||||
// Network readers call this to notify the Sta to delete any previously
|
// Network readers call this to notify the Sta to delete any previously
|
||||||
// linked network.
|
// linked network.
|
||||||
|
|
|
||||||
|
|
@ -735,20 +735,6 @@ Sta::readLibertyAfter(LibertyLibrary *liberty,
|
||||||
network_, report_);
|
network_, report_);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
|
||||||
Sta::setMinLibrary(const char *min_filename,
|
|
||||||
const char *max_filename)
|
|
||||||
{
|
|
||||||
LibertyLibrary *max_lib = network_->findLibertyFilename(max_filename);
|
|
||||||
if (max_lib) {
|
|
||||||
LibertyLibrary *min_lib = readLibertyFile(min_filename, cmd_corner_,
|
|
||||||
MinMaxAll::min(), false);
|
|
||||||
return min_lib != nullptr;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
Sta::readVerilog(const char *filename)
|
Sta::readVerilog(const char *filename)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue