mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-07 06:33:24 +00:00
abc9_ops: Skip opt_expr in proc
This commit is contained in:
parent
ab0e3cc05f
commit
785cabcb0f
1 changed files with 3 additions and 3 deletions
|
@ -123,7 +123,7 @@ void check(RTLIL::Design *design, bool dff_mode)
|
||||||
log_error("Module '%s' with (* abc9_flop *) is a blackbox.\n", log_id(derived_type));
|
log_error("Module '%s' with (* abc9_flop *) is a blackbox.\n", log_id(derived_type));
|
||||||
|
|
||||||
if (derived_module->has_processes())
|
if (derived_module->has_processes())
|
||||||
Pass::call_on_module(design, derived_module, "proc");
|
Pass::call_on_module(design, derived_module, "proc -noopt");
|
||||||
|
|
||||||
bool found = false;
|
bool found = false;
|
||||||
for (auto derived_cell : derived_module->cells()) {
|
for (auto derived_cell : derived_module->cells()) {
|
||||||
|
@ -204,7 +204,7 @@ void prep_hier(RTLIL::Design *design, bool dff_mode)
|
||||||
|
|
||||||
if (!unmap_design->module(derived_type)) {
|
if (!unmap_design->module(derived_type)) {
|
||||||
if (derived_module->has_processes())
|
if (derived_module->has_processes())
|
||||||
Pass::call_on_module(design, derived_module, "proc");
|
Pass::call_on_module(design, derived_module, "proc -noopt");
|
||||||
|
|
||||||
if (derived_module->get_bool_attribute(ID::abc9_flop)) {
|
if (derived_module->get_bool_attribute(ID::abc9_flop)) {
|
||||||
for (auto derived_cell : derived_module->cells())
|
for (auto derived_cell : derived_module->cells())
|
||||||
|
@ -834,7 +834,7 @@ void prep_xaiger(RTLIL::Module *module, bool dff)
|
||||||
holes_cell = holes_module->addCell(NEW_ID, cell->type);
|
holes_cell = holes_module->addCell(NEW_ID, cell->type);
|
||||||
|
|
||||||
if (box_module->has_processes())
|
if (box_module->has_processes())
|
||||||
Pass::call_on_module(design, box_module, "proc");
|
Pass::call_on_module(design, box_module, "proc -noopt");
|
||||||
|
|
||||||
int box_inputs = 0;
|
int box_inputs = 0;
|
||||||
for (auto port_name : box_ports.at(cell->type)) {
|
for (auto port_name : box_ports.at(cell->type)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue