Skip to content

Commit 1ebf5fc

Browse files
authored
Merge pull request The-OpenROAD-Project#6807 from The-OpenROAD-Project-staging/rcx-grid
Rcx grid
2 parents bfdcfb7 + d24cb0a commit 1ebf5fc

21 files changed

+1247
-1681
lines changed

src/rcx/include/rcx/box.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ namespace rcx {
4242

4343
using uint = unsigned int;
4444

45-
class Ath__box
45+
class Box
4646
{
4747
public:
48-
Ath__box();
49-
Ath__box(int x1, int y1, int x2, int y2, int units = 1);
48+
Box();
49+
Box(int x1, int y1, int x2, int y2, int units = 1);
5050

5151
uint getDir() const;
5252
int getYhi(int bound) const;
@@ -64,7 +64,7 @@ class Ath__box
6464
void setRect(const odb::Rect& rect) { _rect = rect; }
6565

6666
void invalidateBox();
67-
void set(Ath__box* bb);
67+
void set(Box* bb);
6868
void set(int x1, int y1, int x2, int y2, int units = 1);
6969
void setLayer(uint layer) { _layer = layer; }
7070

src/rcx/include/rcx/extMeasureRC.h

Lines changed: 97 additions & 102 deletions
Large diffs are not rendered by default.

src/rcx/include/rcx/extRCap.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ using odb::uint;
6868
using utl::Logger;
6969

7070
class extSpef;
71-
class Ath__gridTable;
71+
class GridTable;
7272

7373
// CoupleOptions seriously needs to be rewriten to use a class with named
7474
// members. -cherry 05/09/2021
@@ -1016,7 +1016,7 @@ class extMeasure
10161016
double _peffR;
10171017
bool _skipResCalc = false;
10181018

1019-
Ath__gridTable* _search = NULL;
1019+
GridTable* _search = NULL;
10201020
bool IsDebugNet1();
10211021
static int getMetIndexOverUnder(int met,
10221022
int mUnder,
@@ -2788,7 +2788,7 @@ class extMain
27882788
std::vector<odb::dbBTerm*> _connectedBTerm;
27892789
std::vector<odb::dbITerm*> _connectedITerm;
27902790

2791-
Ath__gridTable* _search = nullptr;
2791+
GridTable* _search = nullptr;
27922792

27932793
int _noVariationIndex;
27942794

src/rcx/include/rcx/extSegment.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Logger;
6666

6767
namespace rcx {
6868
using namespace odb;
69-
class Ath__wire;
69+
class Wire;
7070

7171
class extMeasure;
7272

@@ -90,26 +90,26 @@ class extSegment // assume cross-section on the z-direction
9090
int _metOver;
9191
uint _id;
9292

93-
Ath__wire* _wire;
94-
Ath__wire* _up;
95-
Ath__wire* _down;
93+
Wire* _wire;
94+
Wire* _up;
95+
Wire* _down;
9696

97-
// extSegment(uint dir, Ath__wire *w2, int dist);
97+
// extSegment(uint dir, Wire *w2, int dist);
9898
// ~extSegment();
9999

100100
// extSegment();
101-
// extSegment(uint d, Ath__wire *w, int xy, int len, Ath__wire *up, Ath__wire
101+
// extSegment(uint d, Wire *w, int xy, int len, Wire *up, Wire
102102
// *down, int metOver=-1, int metUnder=-1);
103103
void set(uint d,
104-
Ath__wire* w,
104+
Wire* w,
105105
int xy,
106106
int len,
107-
Ath__wire* up,
108-
Ath__wire* down,
107+
Wire* up,
108+
Wire* down,
109109
int metOver = -1,
110110
int metUnder = -1);
111-
int GetDist(Ath__wire* w1, Ath__wire* w2);
112-
int setUpDown(bool up, Ath__wire* w1);
111+
int GetDist(Wire* w1, Wire* w2);
112+
int setUpDown(bool up, Wire* w1);
113113

114114
friend class extMeasure;
115115
friend class extRCModel;

0 commit comments

Comments
 (0)