mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 21:27:00 +00:00
cost: add model for techmapped cell count, keep_hierarchy pass with -min_cost parameter
This commit is contained in:
parent
960bca0196
commit
4b29f64142
7 changed files with 383 additions and 64 deletions
|
@ -230,8 +230,6 @@ struct statdata_t
|
|||
|
||||
if (gate_costs.count(ctype))
|
||||
tran_cnt += cnum * gate_costs.at(ctype);
|
||||
else if (ctype.in(ID($_DFF_P_), ID($_DFF_N_)))
|
||||
tran_cnt += cnum * 16;
|
||||
else
|
||||
*tran_cnt_exact = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue