Verilog-2001 supports recursive tasks and functions.
•Use recursion with the automatic keyword only.
•The number of recursions is automatically limited to prevent endless recursive calls. The default is 64.
•Use -recursion_iteration_limit to set the number of allowed recursive calls.