Anonymous
2 years agoPeriodic Pulses Pattern
Hello,
I'm a new Verilog programmer and still rely on examples to write code.
I didn't find any example of what I need.
I need to generate two pulses periodicaly like this following schema:
clk is the base of the period (pulse every 8 ticks for example).
pulse1: rises 3 ticks after positive edge of clk and falls 2 ticks later.
pulse2: rises 4 ticks after positive edge of clk and falls 3 ticks later.
I'd like also generates the pulses for a limited number (N) of periods, 1 ≤ N < ∞.
I suppose I have to use temporisation conditions (#t) but didn't success to synchronize them to posedge of clk.
Thank for your help.