We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd416f6 commit 2a124f0Copy full SHA for 2a124f0
src/odb/src/db/dbDatabase.cpp
@@ -280,7 +280,17 @@ dbIStream& operator>>(dbIStream& stream, _dbDatabase& obj)
280
stream >> *obj.chip_net_tbl_;
281
}
282
if (obj.isSchema(db_schema_dbu_per_micron)) {
283
- stream >> obj.dbu_per_micron_;
+ if (obj.isLessThanSchema(db_schema_remove_dbu_per_micron)) {
284
+ // Should already have a value from dbTech, so only need to update this if
285
+ // its been set.
286
+ uint dbu_per_micron;
287
+ stream >> dbu_per_micron;
288
+ if (dbu_per_micron != 0) {
289
+ obj.dbu_per_micron_ = dbu_per_micron;
290
+ }
291
+ } else {
292
+ stream >> obj.dbu_per_micron_;
293
294
295
// Set the _tech on the block & libs now they are loaded
296
if (!obj.isSchema(db_schema_block_tech)) {
0 commit comments