Forum Discussion
Altera_Forum
Honored Contributor
15 years agocompare multiple std_logic_vectors
Hi, I have several FIFO's and i need to read out, the one with the most data first. I use the byte counter of the fifo to compare. But what is the best way to compare those vectors? if A...
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.