mirror of https://github.com/YosysHQ/nextpnr.git
Increase the set of PnR-excluded cells
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
4220ce1007
commit
8968c84ce6
|
|
@ -448,7 +448,7 @@ template <typename FrontendType> struct GenericFrontend
|
||||||
void import_leaf_cell(HierModuleState &m, const std::string &name, const cell_dat_t &cd)
|
void import_leaf_cell(HierModuleState &m, const std::string &name, const cell_dat_t &cd)
|
||||||
{
|
{
|
||||||
auto cell_type = impl.get_cell_type(cd);
|
auto cell_type = impl.get_cell_type(cd);
|
||||||
if (cell_type == "$scopeinfo")
|
if (cell_type == "$scopeinfo" || cell_type == "$print" || cell_type == "$check")
|
||||||
return;
|
return;
|
||||||
IdString inst_name = unique_name(m.prefix, name, false);
|
IdString inst_name = unique_name(m.prefix, name, false);
|
||||||
ctx->hierarchy[m.path].leaf_cells_by_gname[inst_name] = ctx->id(name);
|
ctx->hierarchy[m.path].leaf_cells_by_gname[inst_name] = ctx->id(name);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue