Pulse width measurement

Discussion in 'Homework Help' started by Smallfire, Apr 23, 2005.

  1. Smallfire

    Thread Starter New Member

    Mar 30, 2005
    2
    0
    Hi! I need to measure the pulse width of an incoming signal by using a counter that works at a higher frequency. As the design must be made in quartus, i intend to use the lpm_counter megafunction. The problem is how do I generate the reset signal for the counter? I need to reset the counter on both positive and negative transitions of the incoming signal. And how do I read the counter value before each reset is done?

    Thanks.
     
Loading...