Guest
I am having a mental block thinking about state machine for this
design....
I have a @ 14 Mhz clock, and 4 bit inputs and based on inputs, I want
to genrate several timing signals
so for example "0010" input : T1 PRI is 200us (PRF = 5kHz) (PulseWidth
PW = 500ns) and T2 (PW = 1us) (PRF = 5khz) and T2 pulse starts 10ns
after the leading edge of the T1
another example: input = "0011" T1 PRI is 450us (PRF = 2.22kHz) (PW =
500ns) and T2 (PW =17us) (PRF = 2.22Khz) and again T2 pulse starts
10ns after the leading edge of the T1.
So T1 PW is alwasy constant but PRF changes based on inputs and T2 PW
is changing based on inputs but it alwats starts 10ns after the leading
edge of the T1. PRF of T1 and T2 is same based on the input
T1 and T2 is going to turn on/off LEDs.
how I can design the state machines for this? I wasn't quite sure about
how can I make a counter for this in the state machines!!! Please
help...
thanks,
Mart Steve
design....
I have a @ 14 Mhz clock, and 4 bit inputs and based on inputs, I want
to genrate several timing signals
so for example "0010" input : T1 PRI is 200us (PRF = 5kHz) (PulseWidth
PW = 500ns) and T2 (PW = 1us) (PRF = 5khz) and T2 pulse starts 10ns
after the leading edge of the T1
another example: input = "0011" T1 PRI is 450us (PRF = 2.22kHz) (PW =
500ns) and T2 (PW =17us) (PRF = 2.22Khz) and again T2 pulse starts
10ns after the leading edge of the T1.
So T1 PW is alwasy constant but PRF changes based on inputs and T2 PW
is changing based on inputs but it alwats starts 10ns after the leading
edge of the T1. PRF of T1 and T2 is same based on the input
T1 and T2 is going to turn on/off LEDs.
how I can design the state machines for this? I wasn't quite sure about
how can I make a counter for this in the state machines!!! Please
help...
thanks,
Mart Steve