projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24f58e5
)
Set blackbox attribute in "read_liberty -lib"
author
Clifford Wolf
<clifford@clifford.at>
Wed, 16 Jul 2014 16:12:16 +0000
(18:12 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 16 Jul 2014 16:12:16 +0000
(18:12 +0200)
frontends/liberty/liberty.cc
patch
|
blob
|
history
diff --git
a/frontends/liberty/liberty.cc
b/frontends/liberty/liberty.cc
index 7a74c5fcb46f64899545306b3ef55d1c0afb5b90..398e7a30ef41bfaab2fbf125cdc690db7a105441 100644
(file)
--- a/
frontends/liberty/liberty.cc
+++ b/
frontends/liberty/liberty.cc
@@
-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;