From 6076e84b0c546c7e42021a6999ee04bffaac7136 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Thu, 29 May 2014 23:32:47 +0200 Subject: [PATCH] Fix off by by one Width of signal 'count' is 30 bits, not 31. --- block-ram/content.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block-ram/content.asc b/block-ram/content.asc index e9d00aa..0f342f0 100755 --- a/block-ram/content.asc +++ b/block-ram/content.asc @@ -97,7 +97,7 @@ Copy and paste the useful bits into your top level project - add a signal "count ); END COMPONENT; - signal count : STD_LOGIC_VECTOR(30 downto 0); + signal count : STD_LOGIC_VECTOR(29 downto 0); begin addr_counter : counter30