Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

How to create a generic sum?

Hello folks, I'm stuck at the idea how to optimize my code. Hope to get any help from you. My code is to make a generic sum y = a(1) + a(2) + a(3); I would like to make it like: n <=...