mirror of https://github.com/YosysHQ/yosys.git
log2(0) returns -inf, which gives undefined behaviour when casting to an int. So catch the case when it's 0 just set the width to 0. |
||
---|---|---|
.. | ||
aiger | ||
aiger2 | ||
ast | ||
blif | ||
json | ||
liberty | ||
rpc | ||
rtlil | ||
verific | ||
verilog |