@@ -449,7 +449,7 @@ PathEndUnconstrained::PathEndUnconstrained(Path *path) :
449449PathEnd *
450450PathEndUnconstrained::copy () const
451451{
452- return new PathEndUnconstrained (path_ );
452+ return new PathEndUnconstrained (* this );
453453}
454454
455455bool
@@ -512,17 +512,6 @@ PathEndClkConstrained::PathEndClkConstrained(Path *path,
512512{
513513}
514514
515- PathEndClkConstrained::PathEndClkConstrained (Path *path,
516- Path *clk_path,
517- Crpr crpr,
518- bool crpr_valid) :
519- PathEnd (path),
520- clk_path_ (clk_path),
521- crpr_ (crpr),
522- crpr_valid_ (crpr_valid)
523- {
524- }
525-
526515void
527516PathEndClkConstrained::setPath (Path *path)
528517{
@@ -765,16 +754,6 @@ PathEndClkConstrainedMcp::PathEndClkConstrainedMcp(Path *path,
765754{
766755}
767756
768- PathEndClkConstrainedMcp::PathEndClkConstrainedMcp (Path *path,
769- Path *clk_path,
770- MultiCyclePath *mcp,
771- Crpr crpr,
772- bool crpr_valid) :
773- PathEndClkConstrained (path, clk_path, crpr, crpr_valid),
774- mcp_ (mcp)
775- {
776- }
777-
778757float
779758PathEndClkConstrainedMcp::targetClkMcpAdjustment (const StaState *sta) const
780759{
@@ -945,24 +924,10 @@ PathEndCheck::PathEndCheck(Path *path,
945924{
946925}
947926
948- PathEndCheck::PathEndCheck (Path *path,
949- TimingArc *check_arc,
950- Edge *check_edge,
951- Path *clk_path,
952- MultiCyclePath *mcp,
953- Crpr crpr,
954- bool crpr_valid) :
955- PathEndClkConstrainedMcp (path, clk_path, mcp, crpr, crpr_valid),
956- check_arc_ (check_arc),
957- check_edge_ (check_edge)
958- {
959- }
960-
961927PathEnd *
962928PathEndCheck::copy () const
963929{
964- return new PathEndCheck (path_, check_arc_, check_edge_,
965- clk_path_, mcp_, crpr_, crpr_valid_);
930+ return new PathEndCheck (*this );
966931}
967932
968933PathEnd::Type
@@ -1129,29 +1094,10 @@ PathEndLatchCheck::PathEndLatchCheck(Path *path,
11291094 src_clk_arrival_ = search->pathClkPathArrival (path_);
11301095}
11311096
1132- PathEndLatchCheck::PathEndLatchCheck (Path *path,
1133- TimingArc *check_arc,
1134- Edge *check_edge,
1135- Path *clk_path,
1136- Path *disable_path,
1137- MultiCyclePath *mcp,
1138- PathDelay *path_delay,
1139- Delay src_clk_arrival,
1140- Crpr crpr,
1141- bool crpr_valid) :
1142- PathEndCheck (path, check_arc, check_edge, clk_path, mcp, crpr, crpr_valid),
1143- disable_path_ (disable_path),
1144- path_delay_ (path_delay),
1145- src_clk_arrival_ (src_clk_arrival)
1146- {
1147- }
1148-
11491097PathEnd *
11501098PathEndLatchCheck::copy () const
11511099{
1152- return new PathEndLatchCheck (path_, check_arc_, check_edge_,
1153- clk_path_, disable_path_, mcp_, path_delay_,
1154- src_clk_arrival_, crpr_, crpr_valid_);
1100+ return new PathEndLatchCheck (*this );
11551101}
11561102
11571103PathEnd::Type
@@ -1357,22 +1303,10 @@ PathEndOutputDelay::PathEndOutputDelay(OutputDelay *output_delay,
13571303{
13581304}
13591305
1360- PathEndOutputDelay::PathEndOutputDelay (OutputDelay *output_delay,
1361- Path *path,
1362- Path *clk_path,
1363- MultiCyclePath *mcp,
1364- Crpr crpr,
1365- bool crpr_valid) :
1366- PathEndClkConstrainedMcp (path, clk_path, mcp, crpr, crpr_valid),
1367- output_delay_ (output_delay)
1368- {
1369- }
1370-
13711306PathEnd *
13721307PathEndOutputDelay::copy () const
13731308{
1374- return new PathEndOutputDelay (output_delay_, path_, clk_path_,
1375- mcp_, crpr_, crpr_valid_);
1309+ return new PathEndOutputDelay (*this );
13761310}
13771311
13781312PathEnd::Type
@@ -1564,24 +1498,10 @@ PathEndGatedClock::PathEndGatedClock(Path *gating_ref,
15641498{
15651499}
15661500
1567- PathEndGatedClock::PathEndGatedClock (Path *gating_ref,
1568- Path *clk_path,
1569- const TimingRole *check_role,
1570- MultiCyclePath *mcp,
1571- ArcDelay margin,
1572- Crpr crpr,
1573- bool crpr_valid) :
1574- PathEndClkConstrainedMcp (gating_ref, clk_path, mcp, crpr, crpr_valid),
1575- check_role_ (check_role),
1576- margin_ (margin)
1577- {
1578- }
1579-
15801501PathEnd *
15811502PathEndGatedClock::copy () const
15821503{
1583- return new PathEndGatedClock (path_, clk_path_, check_role_,
1584- mcp_, margin_, crpr_, crpr_valid_);
1504+ return new PathEndGatedClock (*this );
15851505}
15861506
15871507PathEnd::Type
@@ -1680,24 +1600,10 @@ PathEndDataCheck::clkPath(Path *path,
16801600 return nullptr ;
16811601}
16821602
1683- PathEndDataCheck::PathEndDataCheck (DataCheck *check,
1684- Path *data_path,
1685- Path *data_clk_path,
1686- Path *clk_path,
1687- MultiCyclePath *mcp,
1688- Crpr crpr,
1689- bool crpr_valid) :
1690- PathEndClkConstrainedMcp (data_path, clk_path, mcp, crpr, crpr_valid),
1691- data_clk_path_ (data_clk_path),
1692- check_ (check)
1693- {
1694- }
1695-
16961603PathEnd *
16971604PathEndDataCheck::copy () const
16981605{
1699- return new PathEndDataCheck (check_, path_, data_clk_path_,
1700- clk_path_, mcp_, crpr_, crpr_valid_);
1606+ return new PathEndDataCheck (*this );
17011607}
17021608
17031609PathEnd::Type
@@ -1838,30 +1744,10 @@ PathEndPathDelay::PathEndPathDelay(PathDelay *path_delay,
18381744 findSrcClkArrival (sta);
18391745}
18401746
1841- PathEndPathDelay::PathEndPathDelay (PathDelay *path_delay,
1842- Path *path,
1843- Path *clk_path,
1844- TimingArc *check_arc,
1845- Edge *check_edge,
1846- OutputDelay *output_delay,
1847- Arrival src_clk_arrival,
1848- Crpr crpr,
1849- bool crpr_valid) :
1850- PathEndClkConstrained (path, clk_path, crpr, crpr_valid),
1851- path_delay_ (path_delay),
1852- check_arc_ (check_arc),
1853- check_edge_ (check_edge),
1854- output_delay_ (output_delay),
1855- src_clk_arrival_ (src_clk_arrival)
1856- {
1857- }
1858-
18591747PathEnd *
18601748PathEndPathDelay::copy () const
18611749{
1862- return new PathEndPathDelay (path_delay_, path_, clk_path_,
1863- check_arc_, check_edge_, output_delay_,
1864- src_clk_arrival_, crpr_, crpr_valid_);
1750+ return new PathEndPathDelay (*this );
18651751}
18661752
18671753PathEnd::Type
0 commit comments