mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-05 01:27:43 +00:00
verilog: support recursive functions using ternary expressions
This adds a mechanism for marking certain portions of elaboration as occurring within unevaluated ternary branches. To enable elaboration of the overall ternary, this also adds width detection for these unelaborated function calls.
This commit is contained in:
parent
9f7cd10c98
commit
8de2e863af
5 changed files with 195 additions and 19 deletions
6
tests/various/fib_tern.ys
Normal file
6
tests/various/fib_tern.ys
Normal file
|
@ -0,0 +1,6 @@
|
|||
read_verilog fib_tern.v
|
||||
hierarchy
|
||||
proc
|
||||
equiv_make gold gate equiv
|
||||
equiv_simple
|
||||
equiv_status -assert
|
Loading…
Add table
Add a link
Reference in a new issue