simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Simulavr-devel] Clock Call Back


From: Keith Gudger
Subject: [Simulavr-devel] Clock Call Back
Date: Mon, 10 Nov 2003 11:21:27 -0800 (PST)

Ted:

I'm in the process of trying to debug my ADC, and noticed something I
can't explain (and am hoping you can ;-)

I had my clk_incr_cb routine print out every time it found the clock to be
a multiple of the divisor.  The output for several calls is:

Clock Count = 3340837324 divisor = 12
Clock Count = 3340837324 divisor = 12
Clock Count = 3340837324 divisor = 12
Clock Count = 3340837324 divisor = 12

I probably have something wrong, but it appears that the value "ck" passed
to the callback is the same for multiple calls.  Is this possible?  If so,
then all of the clock call backs I've been working on are in error. 

Thanks.
Keith






reply via email to

[Prev in Thread] Current Thread [Next in Thread]