Forum Discussion
Kris4
New Contributor
3 years agoVHDL - logical block
Hi,
I have a very basic question as I'm only beggining to programm in VHDL in quartus. My problem is :
-how to create a logical block in vhdl that has one 6-bit input and 6 outputs (0 or 1) . Bef...
RichardT_altera
Super Contributor
3 years agoYou may use the Counter VHDL template provided in the Quartus tool itself. Insert template> VHDL > Full Design > Arithmetic > Counter > Binary Counter.
Change the MIN_COUNT and MAX_COUNT to your desired range, and you should be able to set the counter range.
Though you need to change the conditional statement so it get the correct value when it reset or reach the max range. I will leave the work to you.
Best Regards,
Richard Tan
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 9/10 survey.