syedshan
Advanced Member level 1
- Joined
- Feb 27, 2012
- Messages
- 463
- Helped
- 27
- Reputation
- 54
- Reaction score
- 26
- Trophy points
- 1,308
- Location
- Jeonju, South Korea
- Activity points
- 5,134
Dear all,
I am using ML605 (virtex 6 ) evaluation board. and while learning the differential clock I am facing a strange issue...
I wanted to test the differential clock connection so since it is 20 MhZ, I slow it down to 100 MhZ using clocking wizard
I made a 25 bit counter whose MSB will toggle with 3 Hz freqeuncy, this way I can easily judge if I have done all things right.
Now I connected th 25th bit to the led 0 of the board. It is working perfectly fine, but some other leds are also toggling. they are led 6 and led 7
alsthough I have not mentioned them in my ucf file (following)
So I can't understand why is this happening, there must be a reson behind it. I will be really thankful if someone
help me with this. The counter code is as follows, with instantiation of MMCM to lower down clock to 100 MhZ
Regards,
Shan
I am using ML605 (virtex 6 ) evaluation board. and while learning the differential clock I am facing a strange issue...
I wanted to test the differential clock connection so since it is 20 MhZ, I slow it down to 100 MhZ using clocking wizard
I made a 25 bit counter whose MSB will toggle with 3 Hz freqeuncy, this way I can easily judge if I have done all things right.
Now I connected th 25th bit to the led 0 of the board. It is working perfectly fine, but some other leds are also toggling. they are led 6 and led 7
alsthough I have not mentioned them in my ucf file (following)
Code:
# PlanAhead Generated physical constraints
NET "CLK_IN1_P" LOC = J9;
NET "cnt[24]" LOC = AC22;
NET "rst" LOC = D22;
So I can't understand why is this happening, there must be a reson behind it. I will be really thankful if someone
help me with this. The counter code is as follows, with instantiation of MMCM to lower down clock to 100 MhZ
Code:
module cnet(
input CLK_IN1_P,CLK_IN1_N,
input rst,
output reg [24:0] cnt );
always@(posedge CLK_OUT1)
if(rst)
cnt <= 25'd0;
else cnt <= cnt + 1'b1;
//Clock Instantiation
clk1 pc1
(// Clock in ports
.CLK_IN1_P(CLK_IN1_P), // IN
.CLK_IN1_N(CLK_IN1_N), // IN
.CLK_OUT1(CLK_OUT1)); // OUT
endmodule
Regards,
Shan