The multi-channel HDLC controller of the present invention is used to realize the connection between the multi-channel HDLC and a system, organize data in the form of multi-channel HDLC, then transmit the data via a TDM interface, at the same time, connect to the system memory which uses the HDLC controller by AHB bus interface. In the present invention, a part of the temporary parameters needed by the operation of HDLC controller is stored outside the HDLC controller, and these parameters are invoked through internal logic from the outside. The present invention is realized by employing non-RISC design and full cicruit without general RISC, and a dedicated interface is set for the HDLC , the difficulty of design is low; and in the present invention, the temporary parameters needed by the operation of the multi-channel HDLC controller are stored in a memory, which saves the hardware resource of the muilti-channel HDLC contoller itself. Moreover, for the transmitting and receiving of the multi-channel data in the multi-channel HDLC controller,a set of control logic is shared by all of the channels for a multi-channel HDLC controller, which saves a lot of hardware resources as well.
展开▼