A
Allen
Guest
Hello~
I am trying to detect the positive edge of video synchronzation
signals by writing "sythesizable" Verilog code.
Here is the problem:
I try to enable a counter to record the length of vsync
signal at the positive edge of vsync and stop recording at the next
positive edge reached.
I have no idea how to implement this one, does anyone
have experiences about this? I tried to write Verilog code, but after
synthesis it doesn't work well
__
__
vsync __| |___________________________________________| |______
^<======== Length of vsync signal ====== >
^
Start to calculate the length of
vsync Stop calculating
Thanks ,
Regards.
I am trying to detect the positive edge of video synchronzation
signals by writing "sythesizable" Verilog code.
Here is the problem:
I try to enable a counter to record the length of vsync
signal at the positive edge of vsync and stop recording at the next
positive edge reached.
I have no idea how to implement this one, does anyone
have experiences about this? I tried to write Verilog code, but after
synthesis it doesn't work well
__
__
vsync __| |___________________________________________| |______
^<======== Length of vsync signal ====== >
^
Start to calculate the length of
vsync Stop calculating
Thanks ,
Regards.