N
nba83
Guest
hi
i am trying to detect falling edge of a 200ns pulse(WriteStrobe
synchronously with this code. GlobalClk is 100MHz(10ns) oscillator cl
attached to global clk pin of Xilinx Spartan 3 XC3s400-5I. the problem i a
facing is that about 1000 falling edges 100 of them are missed. i use
IBUFG at the input clk but the output is the same. but if I connect th
oscillator to a normal io pin with the constraint CLOCK_DEDICATED_ROUTE
FALSE; i can detect all the falling edges without error. i don't kno
what's the problem. any help would be appreciated
always @(posedge GlobalClk)
begin
pre_WriteStrobe <= WriteStrobe;
if( pre_WriteStrobe & ~WriteStrobe)
begin
StartWritingMemory <=1;
WriteNibble <=0;
Write_Address <= 4095;
end
end
---------------------------------------
Posted through http://www.FPGARelated.com
i am trying to detect falling edge of a 200ns pulse(WriteStrobe
synchronously with this code. GlobalClk is 100MHz(10ns) oscillator cl
attached to global clk pin of Xilinx Spartan 3 XC3s400-5I. the problem i a
facing is that about 1000 falling edges 100 of them are missed. i use
IBUFG at the input clk but the output is the same. but if I connect th
oscillator to a normal io pin with the constraint CLOCK_DEDICATED_ROUTE
FALSE; i can detect all the falling edges without error. i don't kno
what's the problem. any help would be appreciated
always @(posedge GlobalClk)
begin
pre_WriteStrobe <= WriteStrobe;
if( pre_WriteStrobe & ~WriteStrobe)
begin
StartWritingMemory <=1;
WriteNibble <=0;
Write_Address <= 4095;
end
end
---------------------------------------
Posted through http://www.FPGARelated.com