aboutsummaryrefslogtreecommitdiffstats
path: root/tests/simple/const_func_shadow.v
Commit message (Collapse)AuthorAgeFilesLines
* Fix "make vgtest" so it runs to the end (but now it fails ;)Claire Xenia Wolf2021-09-231-1/+1
| | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
* verilog: refactored constant function evaluationZachary Snow2021-02-041-0/+33
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.