Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- I would never recommend recursion in VHDL to a beginner. --- Quote End --- A reasonable viewpoint. The suggested recursion is actually ending up in a binary tree. For a limited number of inputs (e.g. <= 8) the code text will be shorter when writing it enrolled. For a higer number of inputs, you possibly want a pipelined action, which unfortunately can't be provided by the recursive construct.