fix: Rename variable to avoid collision with C++ 20 keyword (requires)
Signed-off-by: Harsh Vardhan <openroad@chez-vardhan.com>
This commit is contained in:
parent
c94ee132bc
commit
a13996edbd
|
|
@ -5865,15 +5865,15 @@ requireds_clk(const RiseFall *rf,
|
|||
const RiseFall *clk_rf)
|
||||
{
|
||||
Sta *sta = Sta::sta();
|
||||
FloatSeq requires;
|
||||
FloatSeq requireds;
|
||||
const ClockEdge *clk_edge = nullptr;
|
||||
if (clk)
|
||||
clk_edge = clk->edge(clk_rf);
|
||||
for (auto path_ap : sta->corners()->pathAnalysisPts()) {
|
||||
requires.push_back(delayAsFloat(sta->vertexRequired(self, rf, clk_edge,
|
||||
requireds.push_back(delayAsFloat(sta->vertexRequired(self, rf, clk_edge,
|
||||
path_ap)));
|
||||
}
|
||||
return requires;
|
||||
return requireds;
|
||||
}
|
||||
|
||||
StringSeq
|
||||
|
|
|
|||
Loading…
Reference in New Issue