Skip to content
Snippets Groups Projects
Commit 0f01cfaa authored by Reinier van der Walle's avatar Reinier van der Walle
Browse files

fixed counter bug.

parent dd5c4408
No related branches found
No related tags found
1 merge request!128fixed counter bug.
......@@ -93,7 +93,7 @@ BEGIN
nxt_count <= (OTHERS => '0');
ELSIF cnt_ld='1' THEN
nxt_count <= load;
ELSIF reg_count=cnt_max THEN
ELSIF cnt_en='1' AND reg_count=cnt_max THEN
IF NOT g_clip THEN
nxt_count <= (OTHERS => '0');
END IF;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment