Dear Group,
I have a xilinx xc9536 , a 22 bit counter, and a 5 bit counter. The 22 bit counter is used as a 48mhz clock divider for the other 5 bit counter, hence bit 22 is used as humanly visible clock. The counter stops when it reaches 11111. The problem I am having is that when I apply my digital multi meter to the pins of the counter to check if the count has finished, then the counter seems to suddenly start counting again. I also noticed that if before applying the multimeter I disconnect the oscillator from the chip this will not happen, so it seems the oscillator is making the design unstable. Any ideas? Also, as a beginner, which book do I need to understand the tricks and quirks of xc9536 high speed design. Should I be designing on a behavioural level, or should I use low level?
My clock code is as follows
reg [21:0] nn; assign cdiv= nn[21]; always @(posedge c0) nn=nn+1;
my other clock goes like this
always @(posedge clock or posedge reset1) begin if (reset1) aa