MCPcopy Create free account
hub / github.com/PKU-IDEA/OpenPARF / addCellCbk

Method addCellCbk

openparf/database/database.cpp:77–81  ·  view source on GitHub ↗

parsing lib file */

Source from the content-addressed store, hash-verified

75
76 /* parsing lib file */
77 void addCellCbk(std::string const &str) {
78 auto &design = db_.design();
79 cur_model_ = &design.addModel(str);
80 cur_model_->setModelType(ModelType::kCell);
81 }
82 void addCellInputPinCbk(std::string const &str) {
83 auto &mpin = cur_model_->tryAddModelPin(str);
84 mpin.setSignalDirect(SignalDirection::kInput);

Callers 3

readXMLMethod · 0.45
readFlexshelfLayoutMethod · 0.45

Calls 2

addModelMethod · 0.80
setModelTypeMethod · 0.80

Tested by

no test coverage detected