Hi, I've been wrestling with this for a bit and was hoping for some pointers :-)
Consider a module that has as input signal A, a clock, and outputs X and Y.
Let signal 1 be a repeating signal of 6 short high pulses (4 clock cycles per pulse), followed by a longer period (50 clock cycles) of low signal.
Let signal 2 be a repeating signal of 10 short high pulses (3 clock cycles per pulse), followed by a longer period (48 clock cycles) of low signal.
I'm not looking for code because I feel there is something to learn here, but assume I'd like the following:
If signal 1 is present on input A --> X is always high and Y is always 0.
If signal 2 is present on input A --> Y is always high and X is always 0.
Could someone point me a bit in which direction I should be looking to realise this on a hardware in Verilog?