mirror of https://github.com/YosysHQ/yosys.git
ice40_opt to ignore (* keep *) -ed cells
This commit is contained in:
parent
5897b918b3
commit
1ea9ce0ad7
|
@ -41,6 +41,11 @@ static void run_ice40_opts(Module *module)
|
|||
|
||||
for (auto cell : module->selected_cells())
|
||||
{
|
||||
if (!cell->type.in("\\SB_LUT4", "\\SB_CARRY", "$__ICE40_CARRY_WRAPPER"))
|
||||
continue;
|
||||
if (cell->has_keep_attr())
|
||||
continue;
|
||||
|
||||
if (cell->type == "\\SB_LUT4")
|
||||
{
|
||||
sb_lut_cells.push_back(cell);
|
||||
|
|
Loading…
Reference in New Issue