Skip to content

Commit 16ae4d1

Browse files
committed
odb: chip hash fix
Signed-off-by: Osama <[email protected]>
1 parent 6d3cae7 commit 16ae4d1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/odb/src/codeGenerator/schema/chip/dbChip.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "dbChip",
33
"type": "dbObject",
44
"ostream_scope": true,
5+
"hash" : "0x1",
56
"enums": [
67
{
78
"name": "ChipType",

src/odb/src/db/dbObject.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ static const std::unordered_map<uint32_t, dbObjectType> hash_to_object_type
166166
{0x663302D5, dbAccessPointObj},
167167
{0x12B22B2C, dbBusPortObj},
168168
{0xEE4BAB67, dbCellEdgeSpacingObj},
169-
{0xAFBA2989, dbChipObj},
169+
{0x00000001, dbChipObj},
170170
{0x00000000, dbDatabaseObj},
171171
{0x7C713BD7, dbDftObj},
172172
{0x645E6090, dbGCellGridObj},
@@ -279,7 +279,7 @@ static const std::unordered_map<dbObjectType, uint32_t> object_type_to_hash
279279
{dbAccessPointObj, 0x663302D5},
280280
{dbBusPortObj, 0x12B22B2C},
281281
{dbCellEdgeSpacingObj, 0xEE4BAB67},
282-
{dbChipObj, 0xAFBA2989},
282+
{dbChipObj, 0x00000001},
283283
{dbDatabaseObj, 0x00000000},
284284
{dbDftObj, 0x7C713BD7},
285285
{dbGCellGridObj, 0x645E6090},

0 commit comments

Comments
 (0)