B
blackpadme
Hi,
I'm trying to code a bit stuffing entity with serial input/output
(i.e. input="1", then output = "10", input="0", then output "00"), all
synchronized by clock. At the moment i only know the following
options:
1. Use rising and falling edge of the clock to output 2 bits (original
bit and stuff bit) in one period -> Not synthetizable
with Xilinx.
2. Use a FSM with an internal buffer where input is stored. In that
case how I can avoid buffer overflow if i don't know the input
lengtht?
Please tell me if someone have some ideas about how to implement
serial bit stuffing in vhdl.
Thanks in advance.
I'm trying to code a bit stuffing entity with serial input/output
(i.e. input="1", then output = "10", input="0", then output "00"), all
synchronized by clock. At the moment i only know the following
options:
1. Use rising and falling edge of the clock to output 2 bits (original
bit and stuff bit) in one period -> Not synthetizable
with Xilinx.
2. Use a FSM with an internal buffer where input is stored. In that
case how I can avoid buffer overflow if i don't know the input
lengtht?
Please tell me if someone have some ideas about how to implement
serial bit stuffing in vhdl.
Thanks in advance.