aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorZachary Snow <zach@zachjs.com>2021-01-27 13:21:13 -0500
committerZachary Snow <zach@zachjs.com>2021-02-04 10:18:27 -0500
commitb93b6f4285243ebbb43ad95769dc2890b6e1e7ab (patch)
treef5d807a7d07dfa1d046daa340a1544c1ce39ce7a /.clang-format
parentbaf1875307f1608762169d3037ba005da88b201e (diff)
downloadyosys-b93b6f4285243ebbb43ad95769dc2890b6e1e7ab.tar.gz
yosys-b93b6f4285243ebbb43ad95769dc2890b6e1e7ab.tar.bz2
yosys-b93b6f4285243ebbb43ad95769dc2890b6e1e7ab.zip
verilog: refactored constant function evaluation
Elaboration now attempts constant evaluation of any function call with only constant arguments, regardless of the context or contents of the function. This removes the concept of "recommended constant evaluation" which previously applied to functions with `for` loops or which were (sometimes erroneously) identified as recursive. Any function call in a constant context (e.g., `localparam`) or which contains a constant-only procedural construct (`while` or `repeat`) in its body will fail as before if constant evaluation does not succeed.
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions