cxxrtl: fix handling of parametric modules with large parameters.
authorwhitequark <whitequark@whitequark.org>
Fri, 24 Apr 2020 05:44:39 +0000 (05:44 +0000)
committerwhitequark <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

index 237700b290ba96f9cef506c03688a6591f382978..89e58622c28fd4bf3c6029aae0791f95757f1d4a 100644 (file)
@@ -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)