mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
Added $assert cell
This commit is contained in:
parent
9a1eb45c75
commit
1e67099b77
7 changed files with 120 additions and 1 deletions
|
@ -47,7 +47,7 @@ static void rmunused_module_cells(RTLIL::Module *module, bool verbose)
|
|||
wire2driver.insert(sig, cell);
|
||||
}
|
||||
}
|
||||
if (cell->type == "$memwr" || cell->get_bool_attribute("\\keep"))
|
||||
if (cell->type == "$memwr" || cell->type == "$assert" || cell->get_bool_attribute("\\keep"))
|
||||
queue.insert(cell);
|
||||
unused.insert(cell);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue