mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-08-30 01:38:37 +02:00
@@ -45,8 +45,6 @@
|
||||
|
||||
namespace sta {
|
||||
|
||||
using std::max;
|
||||
|
||||
ConcreteParasitic::~ConcreteParasitic()
|
||||
{
|
||||
}
|
||||
@@ -620,7 +618,7 @@ ConcreteParasiticNetwork::ensureParasiticNode(const Net *net,
|
||||
node = new ConcreteParasiticNode(net, id, network->highestNetAbove(net1) != net_);
|
||||
sub_nodes_[net_id] = node;
|
||||
if (net == net_)
|
||||
max_node_id_ = max((int) max_node_id_, id);
|
||||
max_node_id_ = std::max((int) max_node_id_, id);
|
||||
}
|
||||
else
|
||||
node = id_node->second;
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "ReduceParasitics.hh"
|
||||
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
||||
@@ -38,8 +39,6 @@
|
||||
|
||||
namespace sta {
|
||||
|
||||
using std::max;
|
||||
|
||||
typedef std::map<ParasiticNode*, double> ParasiticNodeValueMap;
|
||||
typedef std::map<ParasiticResistor*, double> ResistorCurrentMap;
|
||||
typedef std::set<ParasiticResistor*> ParasiticResistorSet;
|
||||
@@ -174,7 +173,7 @@ ReduceToPi::reducePiDfs(const Pin *drvr_pin,
|
||||
+ pinCapacitance(node);
|
||||
y1 = dwn_cap;
|
||||
y2 = y3 = 0.0;
|
||||
max_resistance = max(max_resistance, src_resistance);
|
||||
max_resistance = std::max(max_resistance, src_resistance);
|
||||
|
||||
visit(node);
|
||||
ParasiticResistorSeq &resistors = resistor_map_[node];
|
||||
|
||||
@@ -43,8 +43,6 @@
|
||||
|
||||
namespace sta {
|
||||
|
||||
using std::string;
|
||||
|
||||
bool
|
||||
readSpefFile(const std::string &filename,
|
||||
Instance *instance,
|
||||
@@ -616,7 +614,7 @@ SpefTriple::value(int index) const
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
SpefScanner::SpefScanner(std::istream *stream,
|
||||
const string &filename,
|
||||
const std::string &filename,
|
||||
SpefReader *reader,
|
||||
Report *report) :
|
||||
yyFlexLexer(stream),
|
||||
|
||||
Reference in New Issue
Block a user