N
nba83
Guest
hi
is it a good practice to generate a pulse strobe in Verilog with this code
or do i need to write a fsm for such applications?
BoardConfigReceivedStrobe is set elsewhere in the process. for resettin
this signal after some delay, I used this code,I 'm skeptical that thi
code is not efficient
if(BoardConfigReceivedStrobe)
begin
DelayCounterBoardConfig<=DelayCounterBoardConfig+1;
if(DelayCounterBoardConfig>100)
begin
DelayCounterBoardConfig<=0;
BoardConfigReceivedStrobe<=0;
end
end
tnx in advanced for any comments
Neda
---------------------------------------
Posted through http://www.FPGARelated.com
is it a good practice to generate a pulse strobe in Verilog with this code
or do i need to write a fsm for such applications?
BoardConfigReceivedStrobe is set elsewhere in the process. for resettin
this signal after some delay, I used this code,I 'm skeptical that thi
code is not efficient
if(BoardConfigReceivedStrobe)
begin
DelayCounterBoardConfig<=DelayCounterBoardConfig+1;
if(DelayCounterBoardConfig>100)
begin
DelayCounterBoardConfig<=0;
BoardConfigReceivedStrobe<=0;
end
end
tnx in advanced for any comments
Neda
---------------------------------------
Posted through http://www.FPGARelated.com