UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
9,259 Views
Registered: ‎03-13-2012

why chipscope analyzer showing double increment in counter value

hi all

 

I have just made  a simple 1 number counter as follows...

 

process(clk_s, rst)
begin
if(rst = '1') then
	cnt_s <= (others =>'0');
elsif(rising_edge(clk_s)) then
	cnt_s <= cnt_s + '1';
end if;
end process;

 now see the image which shows the counter increment in double values...

 

Capture.JPG

 

 

Tags (1)
0 Kudos
3 Replies
Scholar markcurry
Scholar
9,245 Views
Registered: ‎09-16-2009

Re: why chipscope analyzer showing double increment in counter value

I can think of two possibilities:

 

What clock are you sampling with?

 

You have a bitshift somewhere - either where you hookup to chipscope, or inside the analyzer itself where you grouped selected wires onto the full bus.

 

Regards,

 

Mark

0 Kudos
Explorer
Explorer
9,240 Views
Registered: ‎03-13-2012

Re: why chipscope analyzer showing double increment in counter value

previously I was using different clock 100 MHz but now I am using 12 MHz clock for purpose of testing only since I am using chispcope acquiring frequency 12 MHz as well.

 

I cannot understand your ideas, can you explain in a bit detail.

 

 

0 Kudos
Moderator
Moderator
9,233 Views
Registered: ‎04-17-2011

Re: why chipscope analyzer showing double increment in counter value

Also, paste your complete code and the chipscope connections you have made along with the settings to check.
Regards,
Debraj
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos