vhdl design for hdlc controller, for signal channel. you can use it in fpga.