Files
iverilog/ivtest/gold/recursive_func_const.gold
T
Lars-Peter Clausen 338516bc55 Add regression tests for constant recursive functions
Check that constant recursive functions are supported. Check both Verilog
style using assignments to the implicit function return signal and
SystemVerilog style using `return`.

Signed-off-by: Lars-Peter Clausen <[email protected]>
2022-04-11 22:03:02 +02:00

4 lines
51 B
Plaintext

factorial 3 = 6
factorial 4 = 24
factorial 5 = 120