Forum Discussion
Altera_Forum
Honored Contributor
15 years agoOptimum way to do Count = Count + 1 Using only std_logic_1164
Hello I'm new in this forum and recently I received an assigment for my Digital Systems Class. Its common to use in C/C++ or any high level language, a notation like cont = cont + 1. But my professor...
Altera_Forum
Honored Contributor
15 years agoWith your VHDL file open in Quartus II go to the edit menu --> templates --> VHDL and find the counter templates, those will show you coding styles you can use for various counters. There is also an HDL recommended coding styles chapter in the Quartus II handbook worth looking at as well.