mirror of https://github.com/YosysHQ/yosys.git
Set blackbox attribute in "read_liberty -lib"
This commit is contained in:
parent
24f58e57f3
commit
5057935722
|
@ -528,6 +528,9 @@ struct LibertyFrontend : public Frontend {
|
|||
RTLIL::Module *module = new RTLIL::Module;
|
||||
module->name = cell_name;
|
||||
|
||||
if (flag_lib)
|
||||
module->set_bool_attribute("\\blackbox");
|
||||
|
||||
for (auto &attr : attributes)
|
||||
module->attributes[attr] = 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue