projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf14e18
)
cxxrtl: fix handling of parametric modules with large parameters.
author
whitequark
<whitequark@whitequark.org>
Fri, 24 Apr 2020 05:44:39 +0000
(
05:44
+0000)
committer
whitequark
<whitequark@whitequark.org>
Fri, 24 Apr 2020 05:44:39 +0000
(
05:44
+0000)
These have a `$paramod$` prefix, not `$paramod\\`.
backends/cxxrtl/cxxrtl.cc
patch
|
blob
|
history
diff --git
a/backends/cxxrtl/cxxrtl.cc
b/backends/cxxrtl/cxxrtl.cc
index 237700b290ba96f9cef506c03688a6591f382978..89e58622c28fd4bf3c6029aae0791f95757f1d4a 100644
(file)
--- a/
backends/cxxrtl/cxxrtl.cc
+++ b/
backends/cxxrtl/cxxrtl.cc
@@
-212,7
+212,7
@@
bool is_ff_cell(RTLIL::IdString type)
bool is_internal_cell(RTLIL::IdString type)
{
- return type[0] == '$' && !type.begins_with("$paramod
\\
");
+ return type[0] == '$' && !type.begins_with("$paramod");
}
bool is_cxxrtl_blackbox_cell(const RTLIL::Cell *cell)