projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
988d47a
)
ecp5: ecp5_gsr to skip cells that don't have GSR parameter again
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 23 Apr 2020 00:53:08 +0000
(17:53 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 23 Apr 2020 00:53:08 +0000
(17:53 -0700)
techlibs/ecp5/ecp5_gsr.cc
patch
|
blob
|
history
diff --git
a/techlibs/ecp5/ecp5_gsr.cc
b/techlibs/ecp5/ecp5_gsr.cc
index 1c69e1d795a02e72837aa75499610d909508881a..3d3f8e1c1af1d094beacbb10caa5c54c886f3df4 100644
(file)
--- a/
techlibs/ecp5/ecp5_gsr.cc
+++ b/
techlibs/ecp5/ecp5_gsr.cc
@@
-81,7
+81,7
@@
struct Ecp5GsrPass : public Pass {
for (auto cell : module->selected_cells())
{
- if (cell->getParam(ID(GSR)).decode_string() != "AUTO")
+ if (
!cell->hasParam(ID(GSR)) ||
cell->getParam(ID(GSR)).decode_string() != "AUTO")
continue;
bool gsren = found_gsr;