diff options
author | whitequark <whitequark@whitequark.org> | 2020-04-24 05:44:39 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2020-04-24 05:44:39 +0000 |
commit | 3738391bddc60a4c228ed732ec86df893cf4ed11 (patch) | |
tree | 2d9ed96982396f658a18f7b18b3533fd1e444c84 /backends | |
parent | cf14e186eb6c89696cd1db4b36697a4e80b6884a (diff) | |
download | yosys-3738391bddc60a4c228ed732ec86df893cf4ed11.tar.gz yosys-3738391bddc60a4c228ed732ec86df893cf4ed11.tar.bz2 yosys-3738391bddc60a4c228ed732ec86df893cf4ed11.zip |
cxxrtl: fix handling of parametric modules with large parameters.
These have a `$paramod$` prefix, not `$paramod\\`.
Diffstat (limited to 'backends')
-rw-r--r-- | backends/cxxrtl/cxxrtl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cxxrtl/cxxrtl.cc b/backends/cxxrtl/cxxrtl.cc index 237700b29..89e58622c 100644 --- 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) |