Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

run PWM after detect falling edge logic

Hello there,

I'm looking for logic to run PWM after detect falling edge of Sync signal in verilog.

Thank you,

Sea

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Your question isn't quite clear ... are you looking for an full algorithm or just few tips about how a PWM signal is prouced ?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks.

    I already detect falling and also have duty cycle pwm. When the Sync signal edge falls, then I generate pwm signal output of Ton time. I am not to worry about Toff time.

    Is there a logic?

    1. Detect fall edge

    2. Generate PWM after falling edge.

    I hope I am making it clear information.

    Thx