Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17257 Discussions

Adder with generic addend

Altera_Forum
Honored Contributor II
1,209 Views

Hi, i want to realize a shift register with a generic depth and sum the elements. 

How can i write avhdl to realize a sum code with a generic number af addend? 

Can i use for loop statement? 

 

thanks
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
502 Views

Yes you can use a loop. 

What problems do you have?
0 Kudos
Reply