-
I can see a function of
However, in ///
/// Create a new chip.
/// Returns nullptr if a chip already exists.
/// Returns nullptr if there is no database technology.
///
dbChip* dbChip::create(dbDatabase* db_)
{
_dbDatabase* db = (_dbDatabase*) db_;
if (db->_chip != 0)
return nullptr;
_dbChip* chip = db->_chip_tbl->create();
db->_chip = chip->getOID();
return (dbChip*) chip;
} it prevents making several Chip object. I appreciate for spending your precious time reading my question. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The dbChip is a pretty useless class. You can only create one but you can create multiple dbBlock in one dbChip. I expect to model all the die/tier/stack as dbBlock and mostly ignore dbChip. |
Beta Was this translation helpful? Give feedback.
The dbChip is a pretty useless class. You can only create one but you can create multiple dbBlock in one dbChip. I expect to model all the die/tier/stack as dbBlock and mostly ignore dbChip.