Altera_Forum
Honored Contributor
9 years agoNewcomer to VHDL, need help with debugging
Ok so I started learning VHDL about two months ago or so and recently I was handed the following code:
https://pastelink.net/1xvg I kinda know what it does as the case statement of "contador" is easy to understand. Problem is I dunno what the "process(clock)" does nor how it contributes to the execution of the code. Could somebody explain/debug it to me? As far as I know I can divide the code into 3 blocks, the first one would have "rising edge (clock)" as signal entrance and would send CLK2 to the second block. The second block would send "contador" to the third block and that one would interact with the display/Raspberry. PD: "Contador" is the word for counter in Spanish btw :p.