Skip to content

Commit ddfe04a

Browse files
committed
3dblox: check init
Signed-off-by: osamahammad21 <[email protected]>
1 parent 09a2160 commit ddfe04a

22 files changed

+834
-61
lines changed

src/odb/include/odb/3dblox.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class ThreeDBlox
3232
~ThreeDBlox() = default;
3333
void readDbv(const std::string& dbv_file);
3434
void readDbx(const std::string& dbx_file);
35+
void check();
3536

3637
private:
3738
void createChiplet(const ChipletDef& chiplet);

src/odb/include/odb/db.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7089,6 +7089,8 @@ class dbChip : public dbObject
70897089

70907090
dbSet<dbChipRegion> getChipRegions() const;
70917091

7092+
dbSet<dbMarkerCategory> getMarkerCategories() const;
7093+
70927094
// User Code Begin dbChip
70937095

70947096
ChipType getChipType() const;
@@ -7112,6 +7114,10 @@ class dbChip : public dbObject
71127114

71137115
Rect getBBox() const;
71147116

7117+
Cuboid getCuboid() const;
7118+
7119+
dbMarkerCategory* findMarkerCategory(const char* name) const;
7120+
71157121
///
71167122
/// Create a new chip.
71177123
/// Returns nullptr if there is no database technology.
@@ -7223,6 +7229,8 @@ class dbChipInst : public dbObject
72237229

72247230
Rect getBBox() const;
72257231

7232+
Cuboid getCuboid() const;
7233+
72267234
dbSet<dbChipRegionInst> getRegions() const;
72277235

72287236
dbChipRegionInst* findChipRegionInst(dbChipRegion* chip_region) const;
@@ -7278,6 +7286,8 @@ class dbChipRegion : public dbObject
72787286
dbSet<dbChipBump> getChipBumps() const;
72797287

72807288
// User Code Begin dbChipRegion
7289+
Cuboid getCuboid() const;
7290+
72817291
dbChip* getChip() const;
72827292

72837293
Side getSide() const;
@@ -7296,6 +7306,7 @@ class dbChipRegionInst : public dbObject
72967306
{
72977307
public:
72987308
// User Code Begin dbChipRegionInst
7309+
Cuboid getCuboid() const;
72997310

73007311
dbChipInst* getChipInst() const;
73017312

@@ -8184,6 +8195,9 @@ class dbMarkerCategory : public dbObject
81848195
static dbMarkerCategory* create(dbBlock* block, const char* name);
81858196
static dbMarkerCategory* createOrReplace(dbBlock* block, const char* name);
81868197
static dbMarkerCategory* createOrGet(dbBlock* block, const char* name);
8198+
static dbMarkerCategory* create(dbChip* chip, const char* name);
8199+
static dbMarkerCategory* createOrReplace(dbChip* chip, const char* name);
8200+
static dbMarkerCategory* createOrGet(dbChip* chip, const char* name);
81878201
static dbMarkerCategory* create(dbMarkerCategory* category, const char* name);
81888202
static dbMarkerCategory* createOrGet(dbMarkerCategory* category,
81898203
const char* name);

0 commit comments

Comments
 (0)