player80
Full Member level 2
Hi,
I'm trying to convert a serial to a parallel stream, the problem I have is maintaining the clock rate on the output.
The input is a clock, data, frame signal.
000 11111111 11111111 11111111 11111111 000 frame
111 01010101 01010101 01010101 01010101 111 clock
000 00000000 11111111 11111111 00000000 000 data
The output should be:
0101 CLK-OUT
0011 D0
0011 D1
0011 D2
0011 D3
1100 D4
1100 D5
1100 D6
1100 D7
1111 frame
at the beginning of the frame clk-out should not be a problem but how can I maintain a constant clock after the last 8 bits were shifted in? The input clock will stop once the frame has completed.
I'm trying to convert a serial to a parallel stream, the problem I have is maintaining the clock rate on the output.
The input is a clock, data, frame signal.
000 11111111 11111111 11111111 11111111 000 frame
111 01010101 01010101 01010101 01010101 111 clock
000 00000000 11111111 11111111 00000000 000 data
The output should be:
0101 CLK-OUT
0011 D0
0011 D1
0011 D2
0011 D3
1100 D4
1100 D5
1100 D6
1100 D7
1111 frame
at the beginning of the frame clk-out should not be a problem but how can I maintain a constant clock after the last 8 bits were shifted in? The input clock will stop once the frame has completed.