Forum Discussion
Altera_Forum
Honored Contributor
10 years agoVariable does not increment
I don't know why the variable clk_count does not increments, it's steel il the value 1. There is the code
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.all;
Entity TestVar Is
Port (
CLK ...
Altera_Forum
Honored Contributor
10 years agopr_stat is executed every rising edge, however, it values remain unchanged. Therefore the clk_count process that depends on pr_stat changes will never get incremented. The PROCESS statement is the sensitivity list for the clk_count.