From: whitequark Date: Fri, 24 Apr 2020 05:44:39 +0000 (+0000) Subject: cxxrtl: fix handling of parametric modules with large parameters. X-Git-Tag: working-ls180~586^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3738391bddc60a4c228ed732ec86df893cf4ed11;p=yosys.git cxxrtl: fix handling of parametric modules with large parameters. These have a `$paramod$` prefix, not `$paramod\\`. --- 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)