Serializers and Deserializers
By using a delay module in series processing in the serializer and the deserializer, the contradiction between power consumption and transmission rate in the prior art is solved, and a low-power consumption and high-speed serial data transmission is achieved.
Patent Information
- Application Number
- CN202011242421.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-09
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2040-11-09
AI Technical Summary
In serial communication with high transmission rates, it is difficult for the prior art to achieve higher serial data transmission rates while reducing power consumption. The delays of multiplexer and D flip-flops determine the synchronization clock and data transmission rates. Low delay leads to increased power consumption, and high delay leads to reduced rate.
Multiple delay modules are used to realize serialization and deserialization. By delaying the parallel data, serial data is output. The series delay modules are sorted according to the size of the data bits. Control signals and enable signals are used to manage delays. Module opening and data transmission.
It effectively reduces the power consumption of the serializer and deserializer, and flexibly configures the transmission rate, realizing high transmission rate serial data output and reception under low power consumption.
Smart Images

Figure CN112217522B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of circuit technology, and in particular to a serializer and a deserializer. Background Art
[0002] In serial communication, when performing serial communication at a high transmission rate, the serial interface between the transmitter and the receiver usually needs to be synchronized through a high-speed clock signal, and the generation of the clock requires a phase-locked loop circuit.
[0003] The serial interface in the related art generally adopts a multiplexer and a D flip-flop. The delay of the multiplexer and the D flip-flop determines the frequency of the synchronous clock and the data transmission rate. When the delay of the multiplexer and the D flip-flop is low, the frequency of the synchronous clock and the data transmission rate are high. On the contrary, when the delay of the multiplexer and the D flip-flop is high, the frequency of the synchronous clock and the data transmission rate are low. In order to achieve serial data transmission with a higher transmission rate, it is necessary to select a multiplexer and a D flip-flop with low delay, but the multiplexer and the D flip-flop with low delay will significantly increase the power consumption. Therefore, how to reduce power consumption while achieving serial data transmission with a higher transmission rate has become an urgent problem to be solved. Summary of the invention
[0004] The purpose of the present application is to provide a serializer and a deserializer, which can realize serial data transmission with a higher transmission rate while reducing power consumption.
[0005] In order to solve the above technical problems, this application adopts the following technical solutions:
[0006] According to one aspect of the present application, the present application provides a serializer, including: multiple first delay modules, the first delay modules are used to delay the input parallel data and output serial data, the first delay modules include a first control input terminal, a second control input terminal, a first data input terminal, a second data input terminal and a first data output terminal, and multiple first delay modules are connected in series in sequence; the first control input terminal is connected to a first data loading control signal, the second control input terminal is connected to a first enable control signal, and the first data input terminal is connected to a parallel data flag signal or a bit of parallel data; the first data input terminal of the first delay module located at the beginning is connected to the parallel data of the maximum data bit, and the first delay module located at the beginning is connected to the first data flag signal or a bit of parallel data. The second data input terminal of the block is connected to the external grounding terminal, the first data output terminal of the first delay module located at the beginning is connected to the second data input terminal of the first delay module connected in series with it; the first delay modules located in the middle are arranged in descending order according to the data bits connected, and the first data output terminal of the first delay module arranged in front is connected to the second data input terminal of the first delay module arranged in the back; the first data input terminal of the first delay module located at the end is connected to the parallel data flag signal, the second data input terminal of the first delay module located at the end is connected to the first data output terminal of the first delay module connected in series with it, and the first data output terminal of the first delay module located at the end outputs serial data.
[0007] According to one aspect of the present application, the present application provides a deserializer, including: multiple second delay modules, the second delay modules are used to delay the input serial data and output parallel data, the second delay modules include an eighth control input terminal, a ninth control input terminal, a ninth data input terminal, a ninth data input terminal and a tenth data output terminal, and multiple second delay modules are connected in series in sequence; the eighth control input terminal is connected to a second enable control signal, the ninth control input terminal is connected to a second data loading control signal, and the tenth data output terminal outputs a flag bit data or a bit of parallel data corresponding to the parallel data; the ninth data input terminal of the second delay module at the beginning is connected to the serial data transmitted by the external sending end, and the ninth data input terminal of the second delay module at the beginning is connected to the serial data transmitted by the external sending end. The data input end is connected to the ninth data input end of the second delay module connected in series with it, and the tenth data output end of the second delay module located at the beginning outputs the parallel data of the maximum data bit; the second delay modules located in the middle are arranged in order from large to small according to the output data bits, and the ninth data output end of the second delay module arranged in front is connected to the ninth data input end of the second delay module arranged in the back; the tenth data input end of the second delay module located at the end outputs the flag bit data corresponding to the parallel data, the ninth data input end of the second delay module located at the end is connected to the ninth data output end of the second delay module connected in series with it, and the ninth data output end of the second delay module located at the end is connected to the control module of the device where the deserializer is located.
[0008] It can be seen from the above technical scheme that the present application has at least the following advantages and positive effects: compared with the method of realizing the transmission of serial data by setting a multiplexer and a D flip-flop in the serializer at the transmitting end, a plurality of delay modules are set in the serializer at the transmitting end, which can effectively reduce the power consumption of the serializer, and it is also easy to configure the transmission rate of the serializer, so that the serializer at the transmitting end can output serial data at a higher transmission rate while reducing power consumption; compared with the method of realizing the reception of serial data by setting a multiplexer and a D flip-flop in the deserializer at the receiving end, a plurality of delay modules are set in the deserializer at the receiving end, which can effectively reduce the power consumption of the deserializer, and it is also easy to configure the transmission rate of the deserializer, so that the deserializer at the receiving end can receive serial data at a higher transmission rate while reducing power consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 A schematic diagram of the structure of the serializer and deserializer used in the present application;
[0010] Figure 2 is a structural schematic diagram of a serializer in an embodiment of the present application;
[0011] Figure 3 is a circuit diagram of a first bias voltage generator in an embodiment of the present application;
[0012] Figure 4 Schematic diagram of a first delay circuit in an embodiment of the present application;
[0013] Figure 5 Schematic diagram of the structure of a deserializer in an embodiment of the present application;
[0014] Figure 6 is a circuit diagram of a second bias voltage generator in one embodiment of the present application;
[0015] Figure 7 Schematic diagram of a second delay circuit in an embodiment of the present application. DETAILED DESCRIPTION
[0016] Typical implementations that embody the features and advantages of the present application will be described in detail in the following description. It should be understood that the present application can have various changes in different implementations without departing from the scope of the present application, and the descriptions and illustrations therein are essentially used for illustrative purposes rather than for limiting the present application.
[0017] refer to Figure 1 , Figure 1 This is a schematic diagram of the structure of the serial interface of this application, such as Figure 1 As shown, the transmitter and the receiver are two terminals for serial data communication. When serial communication is performed between the transmitter and the receiver, the transmitter converts the parallel data Para_data_in to be sent into serial data Serial_data through its internal serializer, and sends the converted serial data Serial_data to the receiver through the transmission channel. After receiving the serial data Serial_data from the transmitter, the receiver feeds back a corresponding ack message to the transmitter to inform the transmitter that the serial data Serial_data has been received by the receiver. The receiver converts the serial data Serial_data received from the transmitter through its internal deserializer to obtain the corresponding parallel data Para_data_out, thereby receiving data from the transmitter.
[0018] refer to Figure 2 , Figure 2 1 is a schematic diagram of the structure of a serializer in an embodiment of the present application. The serializer in the embodiment of the present application includes a plurality of first delay modules, which are used to delay the input parallel data and output serial data. The parallel data connected to the serializer can be 4-bit, 8-bit or 16-bit parallel data, and the specific number of bits is not limited here. Figure 2The serializer in the illustrated embodiment is connected to 8-bit parallel data. Since it is necessary to connect the flag bit data corresponding to one bit of parallel data, the serializer in this embodiment includes 9 first delay modules.
[0019] The first delay module includes a first control input terminal, a second control input terminal, a first data input terminal, a second data input terminal and a first data output terminal, and a plurality of first delay modules are connected in series in sequence; the first control input terminal is connected to a first data loading control signal, the second control input terminal is connected to a first enable control signal, and the first data input terminal is connected to a flag bit data corresponding to the parallel data or a bit of parallel data.
[0020] The first data input terminal of the first delay module located at the beginning is connected to the parallel data of the maximum data bit, the second data input terminal of the first delay module located at the beginning is connected to the external ground terminal, and the first data output terminal of the first delay module located at the beginning is connected to the second data input terminal of the first delay module connected in series therewith.
[0021] The first delay modules in the middle are arranged in descending order according to the data bits connected thereto, and the first data output end of the first delay module arranged in front is connected to the second data input end of the first delay module arranged in the back.
[0022] The first data input terminal of the first delay module located at the end is connected to the flag data corresponding to the parallel data, the second data input terminal of the first delay module located at the end is connected to the first data output terminal of the first delay module connected in series with it, and the first data output terminal of the first delay module located at the end outputs serial data.
[0023] like Figure 2 As shown, the first data loading control signal may include a load signal and a loadb signal. When the load signal input is a high-level signal and the loadb signal input is a low-level signal, the first data input end of each first delay module is turned on, and the serializer can access the parallel data and the flag data corresponding to the parallel data through the first data input end of the first delay module; conversely, when the load signal input is a low-level signal and the loadb signal input is a high-level signal, the first data input end of each first delay module is closed, and the serializer cannot access the parallel data and the flag data corresponding to the parallel data through the first data input end of the first delay module.
[0024] The first enable control signal may include an en_seri signal and an enb_seri signal. When the en_seri signal input is a high level signal and the enb_seri signal input is a low level signal, at this time, the first data output end of each first delay module is turned on, the serializer can transmit data through the first data output end of each first delay module and can output serial data to the receiving end through the first data output end of the first delay module located at the end; conversely, when the en_seri signal input is a low level signal and the enb_seri signal input is a high level signal, the first data output end of each first delay module is turned off, the serializer cannot transmit data through the first data output end of each first delay module and the first data output end of the first delay module located at the end cannot output serial data to the receiving end.
[0025] The parallel data connected to the first data input terminal can be Din <x>Signal, X represents the data bit of the parallel data connected, and the flag bit data corresponding to the parallel data connected to the first data input terminal can be a Flag_tx signal.
[0026] As can be seen from the above, in the serializer, multiple first delay modules are connected in series in sequence, and the first data input end of the first delay module located at the beginning is connected to the parallel data of the largest data bit, the first delay modules located in the middle are arranged in descending order according to the data bits connected, and the first data output end of the first delay module arranged in front is connected to the second data input end of the first delay module arranged in the back, the first data input end of the first delay module located at the end is connected to the flag bit data corresponding to the parallel data, and the second data input end of the first delay module located at the end is connected to the first data output end of the first delay module connected in series with it, and the first data output end of the first delay module arranged in front is connected to the flag bit data corresponding to the parallel data, and the second data input end of the first delay module located at the end is connected to the first data output end of the first delay module connected in series with it, and the flag bit data corresponding to the parallel ... The first data output end of the first delay module at the end outputs serial data, so that the serializer performs delay processing on the parallel data to be output through each first delay module, converts it into serial data and transmits it to the external receiving end. Compared with the method of realizing the transmission of serial data by setting a multiplexer and a D flip-flop in the serializer at the transmitting end, setting multiple delay modules in the serializer at the transmitting end can effectively reduce the power consumption of the serializer, and it is also easy to configure the transmission rate of the serializer, so that the serializer at the transmitting end can output serial data at a higher transmission rate while reducing power consumption.
[0027] Please continue to refer to Figure 2 In one embodiment, the first delay module includes a first transmission gate circuit TG_TX, a first delay unit and a first tri-state gate circuit INV_TX.
[0028] The first transmission gate circuit TG_TX includes a third control input terminal, a third data input terminal and a third data output terminal. The third control input terminal is the first control input terminal, and the third data input terminal is the first data input terminal. The first transmission gate circuit TG_TX is used to control whether the flag data or parallel data corresponding to the connected parallel data is loaded into the serializer according to the input first data loading control signal.
[0029] The first delay unit includes a fourth data input terminal and a fourth data output terminal, the fourth data input terminal is connected to the third data output terminal, the fourth data output terminal is the first data output terminal, and the first delay unit is used to delay the input parallel data or the flag data corresponding to the parallel data.
[0030] The first three-state gate circuit INV_TX includes a fourth control input terminal, a fifth data input terminal and a fifth data output terminal, the fourth control input terminal is the second control input terminal, the fifth data input terminal is the second data input terminal, the fifth data output terminal is connected to the third data output terminal and the fourth data input terminal, and the first three-state gate circuit INV_TX is used to control whether to transmit serial data to an external data receiving device according to the first enable control signal connected.
[0031] When the first delay module is the first delay module located at the beginning, the second data input terminal of the first delay module is connected to the external ground terminal; when the first delay module is not the first delay module located at the beginning, the second data input terminal of the first delay module is connected to the first data output terminal of the first delay module connected in series therewith;
[0032] When the first delay module is the first delay module located at the end, the first data output end of the first delay module outputs serial data; when the first delay module is not the first delay module located at the end, the first data output end of the first delay module is connected to the second data input end of the first delay module connected in series therewith.
[0033] In one embodiment, when the load signal input is a high-level signal and the loadb signal input is a low-level signal, the first transmission gate circuit TG_TX in each first delay module is opened, and the parallel data and the flag data corresponding to the parallel data are loaded into each first delay module through the first transmission gate circuit TG_TX; and when the load signal input is a low-level signal and the loadb signal input is a high-level signal, the first transmission gate circuit TG_TX in each first delay module is closed, and the parallel data and the flag data corresponding to the parallel data are not loaded into each first delay module through the first transmission gate circuit TG_TX.
[0034] In one embodiment, when the en_seri signal input is a high-level signal and the enb_seri signal input is a low-level signal, the first three-state gate circuit INV_TX in each first delay module is turned on, and data can be transmitted between each first delay module through the first three-state gate circuit INV_TX, and the first delay module at the end can output serial data to the receiving end; when the en_seri signal input is a low-level signal and the enb_seri signal input is a high-level signal, the first three-state gate circuit INV_TX in each first delay module is turned off, and data can be transmitted between each first delay module through the first three-state gate circuit INV_TX, and the first delay module at the end can output serial data to the receiving end.
[0035] Figure 3 is a circuit diagram of a first bias voltage generator in an embodiment of the present application, Figure 4 is a circuit diagram of a first delay circuit in an embodiment of the present application, referring to Figure 3 as well as Figure 4 In one embodiment, the first delay unit specifically includes a first bias voltage generator and a first delay circuit, the first bias voltage generator is used to generate a bias voltage according to an input control code signal, and the first delay circuit is used to delay the input data.
[0036] The first bias voltage generator includes a first power supply voltage input terminal, a fifth control input terminal, a sixth control input terminal, a seventh control input terminal, a first bias voltage output terminal, a second bias voltage output terminal and a first ground terminal, the first power supply voltage input terminal is connected to an external power supply voltage, the first ground terminal is connected to an external ground terminal, and the fifth control input terminal is connected to the highest bit control code signal Dly <2> The sixth control input terminal is connected to the middle bit control code signal Dly <1> The seventh control input terminal is connected to the lowest bit control code signal Dly <0> .like Figure 3 It can be known that the first bias voltage output terminal of the first bias voltage generator is a bias voltage output terminal for outputting the bias voltage Vbn, and the second bias voltage output terminal of the first bias voltage generator is a bias voltage output terminal for outputting the bias voltage Vbp.
[0037] The first delay circuit includes a second power supply voltage input terminal, a first bias voltage input terminal, a second bias voltage input terminal, a sixth data input terminal, a sixth data output terminal and a second ground terminal, the second power supply voltage input terminal is connected to an external power supply voltage, the second ground terminal is connected to an external ground terminal, the first bias voltage input terminal is connected to a first bias voltage output terminal, the second bias voltage input terminal is connected to a second bias voltage output terminal, the sixth data input terminal is the fourth data input terminal, and the sixth data output terminal is the fourth data output terminal. Figure 4 It can be seen that the first bias voltage input terminal of the first delay circuit is a bias voltage input terminal of the input bias voltage Vbn, and the second bias voltage input terminal of the first bias voltage generator is a bias voltage input terminal of the input bias voltage Vbp.
[0038] Optionally, please continue to refer to Figure 3 as well as Figure 4 The first bias voltage generator includes a first P-type MOS tube, and the source of the first P-type MOS tube is connected to the first power supply voltage input terminal.
[0039] The source of the second P-type MOS tube is connected to the first power supply voltage input terminal, the gate of the second P-type MOS tube is connected to the drain of the second P-type MOS tube, and the gate of the second P-type MOS tube and the drain of the second P-type MOS tube are both connected to the gate of the first P-type MOS tube.
[0040] A first N-type MOS tube, a drain of the first N-type MOS tube connected to the drain of the first P-type MOS tube, a source of the first N-type MOS tube connected to the first ground terminal, and a gate of the first N-type MOS tube connected to the drain of the first N-type MOS tube.
[0041] A second N-type MOS tube, the gate of the second N-type MOS tube is connected to the gate of the first N-type MOS tube and the drain of the first N-type MOS tube, and the drain of the second N-type MOS tube is connected to the gate of the second P-type MOS tube and the drain of the second P-type MOS tube.
[0042] A first resistor, two ends of which are respectively connected to the source of the second N-type MOS tube and the first grounding end.
[0043] a third P-type MOS transistor, wherein the source of the third P-type MOS transistor is connected to the first power supply voltage input terminal, and the gate of the third P-type MOS transistor is connected to the gate of the second P-type MOS transistor and the drain of the second P-type MOS transistor;
[0044] a fourth P-type MOS transistor, wherein a source of the fourth P-type MOS transistor is connected to the first power supply voltage input terminal, and a gate of the fourth P-type MOS transistor is connected to the gate of the second P-type MOS transistor and the drain of the second P-type MOS transistor;
[0045] a fifth P-type MOS transistor, wherein a source of the fifth P-type MOS transistor is connected to the first power supply voltage input terminal, and a gate of the fifth P-type MOS transistor is connected to the gate of the second P-type MOS transistor and the drain of the second P-type MOS transistor;
[0046] A sixth P-type MOS tube, wherein the gate of the sixth P-type MOS tube is connected to the fifth control input terminal, the source of the sixth P-type MOS tube is connected to the drain of the third P-type MOS tube, and the drain of the sixth P-type MOS tube is connected to the first bias voltage output terminal.
[0047] A seventh P-type MOS tube, wherein the gate of the seventh P-type MOS tube is connected to the sixth control input terminal, the source of the seventh P-type MOS tube is connected to the drain of the fourth P-type MOS tube, and the drain of the seventh P-type MOS tube is connected to the first bias voltage output terminal.
[0048] An eighth P-type MOS tube, wherein the gate of the eighth P-type MOS tube is connected to the seventh control input terminal, the source of the eighth P-type MOS tube is connected to the drain of the fifth P-type MOS tube, and the drain of the eighth P-type MOS tube is connected to the first bias voltage output terminal.
[0049] A third N-type MOS transistor, a source of the third N-type MOS transistor is connected to the first ground terminal, a drain of the third N-type MOS transistor is connected to the drain of the eighth P-type MOS transistor, and a gate of the third N-type MOS transistor and a drain of the third N-type MOS transistor are both connected to the first bias voltage output terminal.
[0050] A fourth N-type MOS transistor, wherein a source of the fourth N-type MOS transistor is connected to the first ground terminal, and a gate of the fourth N-type MOS transistor is connected to the gate of the third N-type MOS transistor and the first bias voltage output terminal.
[0051] A ninth P-type MOS tube, a source of the ninth P-type MOS tube is connected to the first power supply voltage input terminal, a drain of the ninth P-type MOS tube is connected to the gate of the ninth P-type MOS tube, a drain of the ninth P-type MOS tube is connected to the drain of the fourth N-type MOS tube and the second bias voltage output terminal, and a gate of the ninth P-type MOS tube is connected to the drain of the fourth N-type MOS tube and the second bias voltage output terminal.
[0052] The first delay circuit includes a first weak pull-up P-type MOS tube, a first inverter and a second inverter.
[0053] The source of the first weak pull-up P-type MOS transistor is connected to the second power supply voltage input terminal, and the drain of the first weak pull-up P-type MOS transistor is connected to the sixth data input terminal.
[0054] The first inverter comprises a third power supply voltage input terminal, a third ground terminal, a third bias voltage input terminal, a fourth bias voltage input terminal, a seventh data input terminal and a seventh data output terminal, the third power supply voltage input terminal is connected to the second power supply voltage input terminal, the third ground terminal is connected to the second ground terminal, the third bias voltage input terminal is connected to the first bias voltage input terminal, the fourth bias voltage input terminal is connected to the second bias voltage input terminal, the seventh data input terminal is connected to the sixth data input terminal and the drain of the first weak pull-up P-type MOS tube, and the seventh data output terminal is connected to the gate of the first weak pull-up P-type MOS tube.
[0055] The second inverter includes a fourth power supply voltage input terminal, a fourth ground terminal, a fifth bias voltage input terminal, a sixth bias voltage input terminal, an eighth data input terminal and an eighth data output terminal. The fourth power supply voltage input terminal is connected to the second power supply voltage input terminal, the fourth ground terminal is connected to the second ground terminal, the fifth bias voltage input terminal is connected to the first bias voltage input terminal, the sixth bias voltage input terminal is connected to the second bias voltage input terminal, the eighth data input terminal is connected to the sixth data output terminal and the drain of the first weak pull-up P-type MOS tube, and the eighth data output terminal is connected to the sixth data output terminal.
[0056] Optionally, the first inverter includes a tenth P-type MOS transistor, an eleventh P-type MOS transistor, a fifth N-type MOS transistor and a sixth N-type MOS transistor;
[0057] The source of the tenth P-type MOS transistor is connected to the third power supply voltage input terminal, and the gate of the tenth P-type MOS transistor is connected to the fourth bias voltage input terminal;
[0058] The source of the eleventh P-type MOS transistor is connected to the drain of the tenth P-type MOS transistor, the gate of the eleventh P-type MOS transistor is connected to the seventh data input terminal, and the drain of the eleventh P-type MOS transistor is connected to the gate of the first weak pull-up P-type MOS transistor;
[0059] The drain of the fifth N-type MOS transistor is connected to the drain of the eleventh P-type MOS transistor, and the gate of the fifth N-type MOS transistor is connected to the seventh data input terminal;
[0060] The drain of the sixth N-type MOS transistor is connected to the source of the fifth N-type MOS transistor, the gate of the sixth N-type MOS transistor is connected to the third bias voltage input terminal, and the source of the sixth N-type MOS transistor is connected to the third ground terminal;
[0061] The second inverter includes a twelfth P-type MOS transistor, a thirteenth P-type MOS transistor, a seventh N-type MOS transistor and an eighth N-type MOS transistor;
[0062] The source of the twelfth P-type MOS transistor is connected to the fourth power supply voltage input terminal, and the gate of the twelfth P-type MOS transistor is connected to the fourth bias voltage input terminal.
[0063] The source of the thirteenth P-type MOS transistor is connected to the drain of the twelfth P-type MOS transistor, the gate of the thirteenth P-type MOS transistor is connected to the gate of the first weak pull-up P-type MOS transistor, and the drain of the thirteenth P-type MOS transistor is connected to the seventh data output terminal;
[0064] The drain of the seventh N-type MOS transistor is connected to the drain of the thirteenth P-type MOS transistor and the seventh data output terminal, and the gate of the seventh N-type MOS transistor is connected to the gate of the first weak pull-up P-type MOS transistor;
[0065] The drain of the eighth N-type MOS tube is connected to the source of the seventh N-type MOS tube, the gate of the eighth N-type MOS tube is connected to the third bias voltage input terminal, and the source of the eighth N-type MOS tube is connected to the fourth ground terminal.
[0066] In one embodiment, the first inverter and the second inverter are used as specific circuits for delay in the first delay unit, and the delay size of the first delay unit is associated with the data transmission rate of the serial interface to which the serializer belongs. The delay size of the first delay unit is associated with the size of the bias voltage input by the first bias voltage generator.
[0067] When the first bias voltage generator generates the bias voltage, the first bias voltage generator receives a binary control code signal through its fifth control terminal, sixth control terminal and seventh control terminal respectively. For example, the fifth control terminal receives the highest bit control code signal Dly <2> The sixth control input terminal is connected to the middle bit control code signal Dly <1> The seventh control input terminal is connected to the lowest bit control code signal Dly <0> Through the connected control code signal, the first bias voltage generator can generate 8 different bias voltages, so that the first inverter and the second inverter in the first delay unit can generate delays of different sizes, thereby realizing the data transmission rate of the serial interface using the serializer, and realizing flexible adjustment of different transmission rates.
[0068] refer to Figure 5 , Figure 5 The schematic diagram of the structure of the deserializer in an embodiment of the present application is shown in FIG. The deserializer in the embodiment of the present application includes a plurality of second delay modules, which are used to delay the input serial data and output parallel data. The parallel data output by the deserializer can be 4-bit, 8-bit or 16-bit parallel data, and the specific number of bits is not limited here. It should be pointed out that the deserializer in the embodiment of the present application is adapted for use with the serializer in the aforementioned embodiment, and when serial communication is performed between the two, the number of bits corresponding to the parallel data needs to be consistent. Figure 5 The deserializer in the illustrated embodiment outputs 8-bit parallel data. Since it is necessary to output flag bit data corresponding to one bit of parallel data, the deserializer in this embodiment includes 9 second delay modules.
[0069] The second delay module includes an eighth control input terminal, a ninth control input terminal, a ninth data input terminal, a ninth data output terminal and a tenth data output terminal, and a plurality of second delay modules are connected in series in sequence; the eighth control input terminal is connected to a second enable control signal, the ninth control input terminal is connected to a second data loading control signal, and the tenth data output terminal outputs a flag bit data corresponding to the parallel data or a bit of parallel data.
[0070] The ninth data input terminal of the second delay module located at the beginning is connected to the serial data transmitted by the external sending end, the ninth data output terminal of the second delay module located at the beginning is connected to the ninth data input terminal of the second delay module connected in series with it, and the tenth data output terminal of the second delay module located at the beginning outputs the parallel data of the maximum data bit.
[0071] The second delay modules in the middle are arranged in descending order according to the data bits outputted, and the ninth data output terminal of the second delay module arranged in front is connected to the ninth data input terminal of the second delay module arranged in the back.
[0072] The tenth data input terminal of the second delay module located at the end outputs the flag data corresponding to the parallel data, the ninth data input terminal of the second delay module located at the end is connected to the ninth data output terminal of the second delay module connected in series with it, and the ninth data output terminal of the second delay module located at the end is connected to the control module of the device where the deserializer is located.
[0073] like Figure 5 As shown, the second enable control signal may include an en_dese signal and an enb_dese signal. When the en_dese signal input is a high-level signal and the enb_dese signal input is a low-level signal, at this time, the ninth data output end of each second delay module is turned on, and the deserializer can transmit data through the ninth data output end of each second delay module and can receive serial data from the transmitting end through the ninth data output end of the second delay module located at the beginning; conversely, when the en_dese signal input is a low-level signal and the enb_dese signal input is a high-level signal, the ninth data output end of each second delay module is turned off, the deserializer cannot transmit data through the ninth data output end of each second delay module and the ninth data output end of the second delay module located at the beginning cannot receive serial data from the transmitting end.
[0074] The second data loading control signal may include a release signal and a releaseb signal. When the release signal input is a high-level signal and the releaseb signal input is a low-level signal, the tenth data output terminal of each second delay module is turned on, and the deserializer can output the parallel data and the flag data corresponding to the parallel data to the module inside the receiving end through the tenth data output terminal of each second delay module; conversely, when the release signal input is a low-level signal and the releaseb signal input is a high-level signal, the tenth data output terminal of each second delay module is turned off, and the deserializer cannot output the parallel data and the flag data corresponding to the parallel data to the module inside the receiving end through the tenth data output terminal of each second delay module.
[0075] The parallel data outputted from the tenth data output terminal may be Dout <x>Signal, X represents the data bit of the output parallel data, and the flag bit data corresponding to the parallel data output by the tenth data output terminal can be a Flag_rx signal.
[0076] From the above, it can be seen that in the deserializer, multiple second delay modules are connected in series in sequence, and the tenth data output end of the second delay module located at the beginning outputs parallel data of the maximum data bit, and the second delay modules located in the middle are arranged in order from large to small according to the output data bits, and the ninth data output end of the second delay module arranged in front is connected to the ninth data input end of the second delay module arranged in the back, and the tenth data input end of the second delay module located at the end outputs the flag bit data corresponding to the parallel data, and the ninth data input end of the second delay module located at the end is connected to the ninth data output end of the second delay module connected in series with it, so that the deserializer delays the received serial data through each second delay module, converts it into parallel data and transmits it to the relevant modules inside the receiving end. Compared with the method of realizing the reception of serial data by setting a multiplexer and a D flip-flop in the deserializer at the receiving end, multiple delay modules are set in the deserializer at the receiving end, which can effectively reduce the power consumption of the deserializer, and it is also easy to configure the transmission rate of the deserializer, so that the deserializer at the receiving end can reduce power consumption while receiving serial data at a higher transmission rate.
[0077] Please continue to refer to Figure 5 In one embodiment, the second delay module includes a second transmission gate circuit TG_RX, a second delay unit and a second tri-state gate circuit INV_RX.
[0078] The second three-state gate circuit INV_RX includes a tenth control input terminal, an eleventh data input terminal and an eleventh data output terminal. The tenth control input terminal is the eighth control input terminal, the eleventh data input terminal is the ninth data input terminal, and the second three-state gate circuit INV_RX is used to control whether to receive serial data transmitted by an external transmitting terminal according to the second enable control signal connected.
[0079] The second delay unit includes a twelfth data input terminal and a twelfth data output terminal, and the twelfth data input terminal is connected to the eleventh data output terminal.
[0080] The second transmission gate circuit TG_RX includes an eleventh control input terminal, a thirteenth data input terminal and a thirteenth data output terminal, the eleventh control input terminal is the ninth control input terminal, the thirteenth data output terminal is the tenth data output terminal, the thirteenth data input terminal is connected to the eleventh data output terminal and the twelfth data input terminal, and the second transmission gate circuit TG_RX is used to control the flag data corresponding to the parallel data or the parallel data to be output from the deserializer to the relevant module inside the receiving end according to the input second data loading control signal.
[0081] When the second delay module is the first second delay module, the ninth data input terminal of the second delay module is connected to the serial data transmitted by the external sending terminal; when the second delay module is not the first second delay module, the ninth data input terminal of the second delay module is connected to the ninth data output terminal of the second delay module connected in series therewith.
[0082] When the second delay module is the second delay module located at the end, the ninth data output end of the second delay module is connected to the second control module; when the second delay module is not the second delay module located at the end, the ninth data output end of the second delay module is connected to the ninth data input end of the second delay module connected in series therewith.
[0083] In one embodiment, when the en_dese signal input is a high-level signal and the enb_dese signal input is a low-level signal, the second three-state gate circuit INV_RX in each second delay module is turned on, and each second delay module can transmit data through the second three-state gate circuit INV_RX, and the second delay module at the beginning receives serial data from the receiving end; when the en_dese signal input is a low-level signal and the enb_dese signal input is a high-level signal, the second three-state gate circuit INV_RX in each second delay module is turned off, and each second delay module can transmit data through the second three-state gate circuit INV_RX, and the second delay module at the beginning cannot receive serial data from the sending end.
[0084] In one embodiment, when the release signal input is a high-level signal and the releaseb signal input is a low-level signal, the second transmission gate circuit TG_RX in each second delay module is turned on, and the parallel data in the deserializer and the flag data corresponding to the parallel data will be loaded into the relevant modules inside the receiving end through the second transmission gate circuit TG_RX; and when the release signal input is a low-level signal and the releaseb signal input is a high-level signal, the second transmission gate circuit TG_RX in each second delay module is turned off, and the parallel data in the deserializer and the flag data corresponding to the parallel data will not be loaded into the relevant modules inside the receiving end through the second transmission gate circuit TG_RX.
[0085] Figure 6 is a circuit diagram of a second bias voltage generator in one embodiment of the present application, Figure 7 is a circuit diagram of a second delay circuit in an embodiment of the present application, refer to Figure 6 as well as Figure 7 In one embodiment, the second delay unit specifically includes a second bias voltage generator and a second delay circuit, the second bias voltage generator is used to generate a bias voltage according to the input control code signal, and the second delay circuit is used to delay the input data.
[0086] The second bias voltage generator includes a fifth power supply voltage input terminal, a twelfth control input terminal, a thirteenth control input terminal, a fourteenth control input terminal, a third bias voltage output terminal, a fourth bias voltage output terminal and a fifth ground terminal, the fifth power supply voltage input terminal is connected to an external power supply voltage, the fifth ground terminal is connected to an external ground terminal, and the twelfth control input terminal is connected to the highest bit control code signal Dly <2> The thirteenth control input terminal is connected to the middle position control code signal Dly <1> The fourteenth control input terminal is connected to the lowest bit control code signal Dly <0> .like Figure 6 It can be known that the third bias voltage output terminal of the second bias voltage generator is a bias voltage output terminal for outputting the bias voltage Vbn, and the fourth bias voltage output terminal of the second bias voltage generator is a bias voltage output terminal for outputting the bias voltage Vbp.
[0087] The second delay circuit includes a sixth power supply voltage input terminal, a seventh bias voltage input terminal, an eighth bias voltage input terminal, a fourteenth data input terminal, a fourteenth data output terminal and a sixth ground terminal, the sixth power supply voltage input terminal is connected to an external power supply voltage, the sixth ground terminal is connected to an external ground terminal, the seventh bias voltage input terminal is connected to a third bias voltage output terminal, the eighth bias voltage input terminal is connected to a fourth bias voltage output terminal, the fourteenth data input terminal is the twelfth data input terminal, and the fourteenth data output terminal is the twelfth data output terminal. Figure 7 It can be seen that the seventh bias voltage input terminal of the second delay circuit is the bias voltage input terminal of the input bias voltage Vbn, and the eighth bias voltage input terminal of the second delay circuit is the bias voltage input terminal of the input bias voltage Vbp.
[0088] Optionally, please continue to refer to Figure 6 as well as Figure 7 In one embodiment, the second delay unit includes a fourteenth P-type MOS tube, and the source of the fourteenth P-type MOS tube is connected to the fifth power supply voltage input terminal.
[0089] A fifteenth P-type MOS tube, the source of the fifteenth P-type MOS tube is connected to the fifth power supply voltage input terminal, the gate of the fifteenth P-type MOS tube is connected to the drain of the fifteenth P-type MOS tube, and the gate of the fifteenth P-type MOS tube and the drain of the fifteenth P-type MOS tube are both connected to the gate of the fourteenth P-type MOS tube.
[0090] A ninth N-type MOS tube, a drain of the ninth N-type MOS tube is connected to the drain of the fourteenth P-type MOS tube, a source of the ninth N-type MOS tube is connected to the fifth ground terminal, and a gate of the ninth N-type MOS tube is connected to the drain of the ninth N-type MOS tube.
[0091] The tenth N-type MOS tube has a gate connected to the gate of the ninth N-type MOS tube and a drain of the ninth N-type MOS tube, and a drain connected to the gate of the fifteenth P-type MOS tube and a drain of the fifteenth P-type MOS tube.
[0092] A second resistor, two ends of which are respectively connected to the source of the tenth N-type MOS tube and the fifth grounding end.
[0093] A sixteenth P-type MOS tube, a source of the sixteenth P-type MOS tube is connected to the fifth power supply voltage input terminal, and a gate of the sixteenth P-type MOS tube is connected to the gate of the fifteenth P-type MOS tube and the drain of the fifteenth P-type MOS tube.
[0094] A seventeenth P-type MOS tube, a source of the seventeenth P-type MOS tube is connected to the fifth power supply voltage input terminal, and a gate of the seventeenth P-type MOS tube is connected to the gate of the fifteenth P-type MOS tube and the drain of the fifteenth P-type MOS tube.
[0095] An eighteenth P-type MOS tube, a source of the eighteenth P-type MOS tube is connected to the fifth power supply voltage input terminal, and a gate of the eighteenth P-type MOS tube is connected to the gate of the fifteenth P-type MOS tube and the drain of the fifteenth P-type MOS tube.
[0096] A nineteenth P-type MOS tube, a gate of the nineteenth P-type MOS tube is connected to the twelfth control input terminal, a source of the nineteenth P-type MOS tube is connected to the drain of the sixteenth P-type MOS tube, and a drain of the nineteenth P-type MOS tube is connected to the third bias voltage output terminal.
[0097] A twentieth P-type MOS tube, the gate of the twentieth P-type MOS tube is connected to the thirteenth control input terminal, the source of the twentieth P-type MOS tube is connected to the drain of the seventeenth P-type MOS tube, and the drain of the twentieth P-type MOS tube is connected to the third bias voltage output terminal.
[0098] A twenty-first P-type MOS tube, the gate of the twenty-first P-type MOS tube is connected to the fourteenth control input terminal, the source of the twenty-first P-type MOS tube is connected to the drain of the eighteenth P-type MOS tube, and the drain of the twenty-first P-type MOS tube is connected to the third bias voltage output terminal.
[0099] an eleventh N-type MOS tube, a drain of the eleventh N-type MOS tube connected to the drain of the twenty-first P-type MOS tube, a source of the eleventh N-type MOS tube connected to the fifth ground terminal, and a gate of the eleventh N-type MOS tube and a drain of the eleventh N-type MOS tube both connected to the third bias voltage output terminal.
[0100] A twelfth N-type MOS transistor, a source of the twelfth N-type MOS transistor is connected to the fifth ground terminal, and a gate of the twelfth N-type MOS transistor is connected to the gate of the eleventh N-type MOS transistor and the third bias voltage output terminal.
[0101] A twenty-second P-type MOS tube, the source of the twenty-second P-type MOS tube is connected to the fifth power supply voltage input terminal, the drain of the twenty-second P-type MOS tube is connected to the gate of the twenty-second P-type MOS tube, the drain of the twenty-second P-type MOS tube is connected to the drain of the twelfth N-type MOS tube and the fourth bias voltage output terminal, and the gate of the twenty-second P-type MOS tube is connected to the drain of the twelfth N-type MOS tube and the fourth bias voltage output terminal.
[0102] The second delay unit includes a second weak pull-up P-type MOS tube, a third inverter and a fourth inverter.
[0103] The source of the second weak pull-up P-type MOS transistor is connected to the sixth power supply voltage input terminal, and the drain of the second weak pull-up P-type MOS transistor is connected to the twelfth data input terminal.
[0104] The third inverter includes a seventh power supply voltage input terminal, a seventh ground terminal, a ninth bias voltage input terminal, a tenth bias voltage input terminal, a fifteenth data input terminal and a fifteenth data output terminal, the seventh power supply voltage input terminal is connected to the sixth power supply voltage input terminal, the seventh ground terminal is connected to the sixth ground terminal, the ninth bias voltage input terminal is connected to the seventh bias voltage input terminal, the tenth bias voltage input terminal is connected to the eighth bias voltage input terminal, the fifteenth data input terminal is connected to the twelfth data input terminal and the drain of the second weak pull-up P-type MOS tube, and the fifteenth data output terminal is connected to the gate of the second weak pull-up P-type MOS tube.
[0105] A fourth inverter, the fourth inverter includes an eighth power supply voltage input terminal, an eighth ground terminal, an eleventh bias voltage input terminal, a twelfth bias voltage input terminal, a sixteenth data input terminal and a sixteenth data output terminal, the eighth power supply voltage input terminal is connected to the sixth source voltage input terminal, the eighth ground terminal is connected to the sixth ground terminal, the eleventh bias voltage input terminal is connected to the seventh bias voltage input terminal, the twelfth bias voltage input terminal is connected to the eighth bias voltage input terminal, the sixteenth data input terminal is connected to the twelfth data output terminal and the drain of the second weak pull-up P-type MOS tube, and the sixteenth data output terminal is connected to the twelfth data output terminal.
[0106] Optionally, the third inverter includes a twenty-third P-type MOS transistor, a twenty-fourth P-type MOS transistor, a thirteenth N-type MOS transistor and a fourteenth N-type MOS transistor.
[0107] The source of the twenty-third P-type MOS tube is connected to the seventh power supply voltage input terminal, and the gate of the twenty-third P-type MOS tube is connected to the eighth bias voltage input terminal.
[0108] The source of the twenty-fourth P-type MOS tube is connected to the drain of the twenty-third P-type MOS tube, the gate of the twenty-fourth P-type MOS tube is connected to the fifteenth data input terminal, and the drain of the twenty-fourth P-type MOS tube is connected to the gate of the second weak pull-up P-type MOS tube.
[0109] The drain of the thirteenth N-type MOS tube is connected to the drain of the twenty-fourth P-type MOS tube, and the gate of the thirteenth N-type MOS tube is connected to the fifteenth data input terminal.
[0110] The drain of the fourteenth N-type MOS tube is connected to the source of the thirteenth N-type MOS tube, the gate of the fourteenth N-type MOS tube is connected to the seventh bias voltage input terminal, and the source of the gate of the fourteenth N-type MOS tube is connected to the seventh ground terminal.
[0111] The fourth inverter includes a twenty-fifth P-type MOS transistor, a twenty-sixth P-type MOS transistor, a fifteenth N-type MOS transistor and a sixteenth N-type MOS transistor.
[0112] The source of the twenty-fifth P-type MOS tube is connected to the eighth power supply voltage input terminal, and the gate of the twenty-fifth P-type MOS tube is connected to the eighth bias voltage input terminal.
[0113] The source of the twenty-sixth P-type MOS tube is connected to the drain of the twenty-fifth P-type MOS tube, the gate of the twenty-sixth P-type MOS tube is connected to the gate of the second weak pull-up P-type MOS tube, and the drain of the twenty-sixth P-type MOS tube is connected to the fifteenth data output terminal;
[0114] The drain of the fifteenth N-type MOS transistor is connected to the drain of the twenty-sixth P-type MOS transistor and the fifteenth data output terminal, and the gate of the fifteenth N-type MOS transistor is connected to the gate of the second weak pull-up P-type MOS transistor;
[0115] The drain of the sixteenth N-type MOS tube is connected to the source of the fifteenth N-type MOS tube, the gate of the sixteenth N-type MOS tube is connected to the seventh bias voltage input terminal, and the source of the sixteenth N-type MOS tube is connected to the eighth ground terminal.
[0116] In one embodiment, the third inverter and the fourth inverter are used as specific circuits for delay in the second delay unit, and the delay size of the second delay unit is associated with the data transmission rate of the serial interface to which the deserializer belongs. The delay size of the second delay unit is associated with the size of the bias voltage input by the second bias voltage generator.
[0117] When the second bias voltage generator generates the bias voltage, the second bias voltage generator receives a binary control code signal through its twelfth control terminal, thirteenth control terminal and fourteenth control terminal respectively. For example, the twelfth control terminal receives the highest bit of the control code signal Dly. <2> The thirteenth control input terminal is connected to the middle position control code signal Dly <1> The fourteenth control input terminal is connected to the lowest bit control code signal Dly <0> Through the connected control code signal, the second bias voltage generator can generate 8 different bias voltages, so that the third inverter and the fourth phase device in the second delay unit can generate delays of different sizes, thereby realizing the data transmission rate of the serial interface using the deserializer, and realizing flexible adjustment of different transmission rates.
[0118] Although the present application has been described with reference to several typical embodiments, it should be understood that the terms used are illustrative and exemplary, rather than restrictive. Since the present application can be implemented in a variety of forms without departing from the spirit or essence of the invention, it should be understood that the above embodiments are not limited to any of the foregoing details, but should be interpreted broadly within the spirit and scope defined by the appended claims, so all changes and modifications falling within the scope of the claims or their equivalents should be covered by the appended claims.< / x> < / x>
Claims
1. A serializer, characterized in that: include: A plurality of first delay modules, wherein the first delay modules are used to delay the input parallel data and output serial data, the first delay modules include a first control input terminal, a second control input terminal, a first data input terminal, a second data input terminal and a first data output terminal, and the plurality of first delay modules are connected in series in sequence; The first control input terminal is connected to a first data loading control signal, the second control input terminal is connected to a first enabling control signal, and the first data input terminal is connected to flag bit data corresponding to parallel data or one bit of parallel data; The first data input terminal of the first delay module located at the beginning is connected to the parallel data of the maximum data bit, the second data input terminal of the first delay module located at the beginning is connected to the external ground terminal, and the first data output terminal of the first delay module located at the beginning is connected to the second data input terminal of the first delay module connected in series therewith; The first delay modules located in the middle are arranged in descending order according to the data bits connected thereto, and the first data output end of the first delay module arranged in front is connected to the second data input end of the first delay module arranged in the back; The first data input terminal of the first delay module located at the end is connected to the flag bit data corresponding to the parallel data, the second data input terminal of the first delay module located at the end is connected to the first data output terminal of the first delay module connected in series therewith, and the first data output terminal of the first delay module located at the end outputs serial data; The first delay module includes a first transmission gate circuit, a first delay unit and a first tri-state gate circuit; The first delay unit comprises: A first bias voltage generator, the first bias voltage generator is used to generate a bias voltage according to an input control code signal, the first bias voltage generator includes a first power supply voltage input terminal, a fifth control input terminal, a sixth control input terminal, a seventh control input terminal, a first bias voltage output terminal, a second bias voltage output terminal and a first ground terminal, the first power supply voltage input terminal is connected to an external power supply voltage, the first ground terminal is connected to an external ground terminal, the fifth control input terminal is connected to the highest bit control code signal, the sixth control input terminal is connected to the middle bit control code signal, and the seventh control input terminal is connected to the lowest bit control code signal; The delay size of the first delay unit is related to the size of the bias voltage input by the first bias voltage generator, and the first bias voltage generator generates a plurality of different bias voltages through the control code signal input by the seventh control input terminal; A first delay circuit, the first delay circuit is used to delay input data, the first delay circuit includes a second power supply voltage input terminal, a first bias voltage input terminal, a second bias voltage input terminal, a sixth data input terminal, a sixth data output terminal and a second ground terminal, the second power supply voltage input terminal is connected to an external power supply voltage, the second ground terminal is connected to an external ground terminal, the first bias voltage input terminal is connected to the first bias voltage output terminal, the second bias voltage input terminal is connected to the second bias voltage output terminal, the sixth data input terminal is the fourth data input terminal, and the sixth data output terminal is the fourth data output terminal.
2. The serializer according to claim 1, characterized in that: The first transmission gate circuit includes a third control input terminal, a third data input terminal and a third data output terminal, the third control input terminal is the first control input terminal, the third data input terminal is the first data input terminal, and the first transmission gate circuit is used to control whether the flag bit data or parallel data corresponding to the connected parallel data is loaded into the serializer according to the input first data loading control signal; The first delay unit includes a fourth data input terminal and a fourth data output terminal, the fourth data input terminal is connected to the third data output terminal, the fourth data output terminal is the first data output terminal, and the first delay unit is used to delay the input parallel data or the flag bit data corresponding to the parallel data; The first tri-state gate circuit includes a fourth control input terminal, a fifth data input terminal and a fifth data output terminal, wherein the fourth control input terminal is the second control input terminal, the fifth data input terminal is the second data input terminal, the fifth data output terminal is connected to the third data output terminal and the fourth data input terminal, and the first tri-state gate circuit is used to control whether to transmit serial data to an external data receiving device according to the first enable control signal connected thereto; When the first delay module is the first delay module located at the beginning, the second data input end of the first delay module is connected to the external grounding end; when the first delay module is not the first delay module located at the beginning, the second data input end of the first delay module is connected to the first data output end of the first delay module connected in series therewith; When the first delay module is the first delay module located at the end, the first data output end of the first delay module outputs serial data; when the first delay module is not the first delay module located at the end, the first data output end of the first delay module is connected to the second data input end of the first delay module connected in series therewith.
3. The serializer according to claim 1, characterized in that: The first bias voltage generator comprises a first P-type MOS transistor, wherein a source of the first P-type MOS transistor is connected to the first power supply voltage input terminal; a second P-type MOS transistor, wherein the source of the second P-type MOS transistor is connected to the first power supply voltage input terminal, the gate of the second P-type MOS transistor is connected to the drain of the second P-type MOS transistor, and the gate of the second P-type MOS transistor and the drain of the second P-type MOS transistor are both connected to the gate of the first P-type MOS transistor; a first N-type MOS transistor, wherein a drain of the first N-type MOS transistor is connected to a drain of the first P-type MOS transistor, a source of the first N-type MOS transistor is connected to the first ground terminal, and a gate of the first N-type MOS transistor is connected to a drain of the first N-type MOS transistor; a second N-type MOS transistor, wherein a gate of the second N-type MOS transistor is connected to a gate of the first N-type MOS transistor and a drain of the first N-type MOS transistor, and a drain of the second N-type MOS transistor is connected to a gate of the second P-type MOS transistor and a drain of the second P-type MOS transistor; A first resistor, wherein two ends of the first resistor are respectively connected to the source of the second N-type MOS transistor and the first ground terminal; a third P-type MOS transistor, wherein a source of the third P-type MOS transistor is connected to the first power supply voltage input terminal, and a gate of the third P-type MOS transistor is connected to the gate of the second P-type MOS transistor and a drain of the second P-type MOS transistor; a fourth P-type MOS transistor, wherein a source of the fourth P-type MOS transistor is connected to the first power supply voltage input terminal, and a gate of the fourth P-type MOS transistor is connected to the gate of the second P-type MOS transistor and a drain of the second P-type MOS transistor; a fifth P-type MOS transistor, wherein a source of the fifth P-type MOS transistor is connected to the first power supply voltage input terminal, and a gate of the fifth P-type MOS transistor is connected to the gate of the second P-type MOS transistor and a drain of the second P-type MOS transistor; a sixth P-type MOS transistor, wherein a gate of the sixth P-type MOS transistor is connected to the fifth control input terminal, a source of the sixth P-type MOS transistor is connected to the drain of the third P-type MOS transistor, and a drain of the sixth P-type MOS transistor is connected to the first bias voltage output terminal; a seventh P-type MOS transistor, wherein a gate of the seventh P-type MOS transistor is connected to the sixth control input terminal, a source of the seventh P-type MOS transistor is connected to the drain of the fourth P-type MOS transistor, and a drain of the seventh P-type MOS transistor is connected to the first bias voltage output terminal; an eighth P-type MOS transistor, wherein a gate of the eighth P-type MOS transistor is connected to the seventh control input terminal, a source of the eighth P-type MOS transistor is connected to the drain of the fifth P-type MOS transistor, and a drain of the eighth P-type MOS transistor is connected to the first bias voltage output terminal; a third N-type MOS transistor, wherein the source of the third N-type MOS transistor is connected to the first ground terminal, the drain of the third N-type MOS transistor is connected to the drain of the eighth P-type MOS transistor, and the gate of the third N-type MOS transistor and the drain of the third N-type MOS transistor are both connected to the first bias voltage output terminal; a fourth N-type MOS transistor, wherein a source of the fourth N-type MOS transistor is connected to the first ground terminal, and a gate of the fourth N-type MOS transistor is connected to the gate of the third N-type MOS transistor and the first bias voltage output terminal; a ninth P-type MOS transistor, wherein the source of the ninth P-type MOS transistor is connected to the first power supply voltage input terminal, the drain of the ninth P-type MOS transistor is connected to the gate of the ninth P-type MOS transistor, the drain of the ninth P-type MOS transistor is connected to the drain of the fourth N-type MOS transistor and the second bias voltage output terminal, and the gate of the ninth P-type MOS transistor is connected to the drain of the fourth N-type MOS transistor and the second bias voltage output terminal; The first delay circuit includes a first weak pull-up P-type MOS tube, a first inverter and a second inverter; The source of the first weak pull-up P-type MOS transistor is connected to the second power supply voltage input terminal, and the drain of the first weak pull-up P-type MOS transistor is connected to the sixth data input terminal; A first inverter, the first inverter comprising a third power supply voltage input terminal, a third ground terminal, a third bias voltage input terminal, a fourth bias voltage input terminal, a seventh data input terminal and a seventh data output terminal, the third power supply voltage input terminal is connected to the second power supply voltage input terminal, the third ground terminal is connected to the second ground terminal, the third bias voltage input terminal is connected to the first bias voltage input terminal, the fourth bias voltage input terminal is connected to the second bias voltage input terminal, the seventh data input terminal is connected to the sixth data input terminal and the drain of the first weak pull-up P-type MOS tube, and the seventh data output terminal is connected to the gate of the first weak pull-up P-type MOS tube; A second inverter, the second inverter includes a fourth power supply voltage input terminal, a fourth ground terminal, a fifth bias voltage input terminal, a sixth bias voltage input terminal, an eighth data input terminal and an eighth data output terminal, the fourth power supply voltage input terminal is connected to the second power supply voltage input terminal, the fourth ground terminal is connected to the second ground terminal, the fifth bias voltage input terminal is connected to the first bias voltage input terminal, the sixth bias voltage input terminal is connected to the second bias voltage input terminal, the eighth data input terminal is connected to the sixth data output terminal and the drain of the first weak pull-up P-type MOS tube, and the eighth data output terminal is connected to the sixth data output terminal.
4. The serializer according to claim 3, characterized in that: The first inverter includes a tenth P-type MOS transistor, an eleventh P-type MOS transistor, a fifth N-type MOS transistor and a sixth N-type MOS transistor; The source of the tenth P-type MOS transistor is connected to the third power supply voltage input terminal, and the gate of the tenth P-type MOS transistor is connected to the fourth bias voltage input terminal; The source of the eleventh P-type MOS transistor is connected to the drain of the tenth P-type MOS transistor, the gate of the eleventh P-type MOS transistor is connected to the seventh data input terminal, and the drain of the eleventh P-type MOS transistor is connected to the gate of the first weak pull-up P-type MOS transistor; The drain of the fifth N-type MOS transistor is connected to the drain of the eleventh P-type MOS transistor, and the gate of the fifth N-type MOS transistor is connected to the seventh data input terminal; The drain of the sixth N-type MOS transistor is connected to the source of the fifth N-type MOS transistor, the gate of the sixth N-type MOS transistor is connected to the third bias voltage input terminal, and the source of the sixth N-type MOS transistor is connected to the third ground terminal; The second inverter includes a twelfth P-type MOS transistor, a thirteenth P-type MOS transistor, a seventh N-type MOS transistor and an eighth N-type MOS transistor; The source of the twelfth P-type MOS transistor is connected to the fourth power supply voltage input terminal, and the gate of the twelfth P-type MOS transistor is connected to the fourth bias voltage input terminal; The source of the thirteenth P-type MOS transistor is connected to the drain of the twelfth P-type MOS transistor, the gate of the thirteenth P-type MOS transistor is connected to the gate of the first weak pull-up P-type MOS transistor, and the drain of the thirteenth P-type MOS transistor is connected to the seventh data output terminal; The drain of the seventh N-type MOS transistor is connected to the drain of the thirteenth P-type MOS transistor and the seventh data output terminal, and the gate of the seventh N-type MOS transistor is connected to the gate of the first weak pull-up P-type MOS transistor; The drain of the eighth N-type MOS transistor is connected to the source of the seventh N-type MOS transistor, the gate of the eighth N-type MOS transistor is connected to the third bias voltage input terminal, and the source of the eighth N-type MOS transistor is connected to the fourth ground terminal.
5. A deserializer, characterized in that: include: A plurality of second delay modules, the second delay modules are used to delay the input serial data and output parallel data, the second delay modules include an eighth control input terminal, a ninth control input terminal, a ninth data input terminal, a ninth data output terminal and a tenth data output terminal, and the plurality of second delay modules are connected in series in sequence; The eighth control input terminal is connected to the second enable control signal, the ninth control input terminal is connected to the second data loading control signal, and the tenth data output terminal outputs the flag bit data corresponding to the parallel data or one bit of parallel data; The ninth data input terminal of the second delay module located at the beginning is connected to the serial data transmitted by the external sending end, the ninth data output terminal of the second delay module located at the beginning is connected to the ninth data input terminal of the second delay module connected in series therewith, and the tenth data output terminal of the second delay module located at the beginning outputs the parallel data of the maximum data bit; The second delay modules located in the middle are arranged in descending order according to the data bits outputted, and the ninth data output terminal of the second delay module arranged in front is connected to the ninth data input terminal of the second delay module arranged in the back; The tenth data input terminal of the second delay module located at the end outputs the flag data corresponding to the parallel data, the ninth data input terminal of the second delay module located at the end is connected to the ninth data output terminal of the second delay module connected in series therewith, and the ninth data output terminal of the second delay module located at the end is connected to the control module of the device where the deserializer is located; The second delay module includes a second transmission gate circuit, a second delay unit and a second tri-state gate circuit; The second delay unit comprises: a second bias voltage generator, the second bias voltage generator is used to generate a bias voltage according to the input control code signal, the second bias voltage generator includes a fifth power supply voltage input terminal, a twelfth control input terminal, a thirteenth control input terminal, a fourteenth control input terminal, a third bias voltage output terminal, a fourth bias voltage output terminal and a fifth ground terminal, the fifth power supply voltage input terminal is connected to an external power supply voltage, the fifth ground terminal is connected to an external ground terminal, the twelfth control input terminal is connected to the highest bit control code signal, the thirteenth control input terminal is connected to the middle bit control code signal, and the fourteenth control input terminal is connected to the lowest bit control code signal; The delay size of the second delay unit is related to the size of the bias voltage input by the second bias voltage generator, and the second bias voltage generator generates a plurality of different bias voltages through the control code signal connected to the fourteenth control input terminal; A second delay circuit, the second delay circuit is used for delaying input data, the second delay circuit includes a sixth power supply voltage input terminal, a seventh bias voltage input terminal, an eighth bias voltage input terminal, a fourteenth data input terminal, a fourteenth data output terminal and a sixth ground terminal, the sixth power supply voltage input terminal is connected to an external power supply voltage, the sixth ground terminal is connected to an external ground terminal, the seventh bias voltage input terminal is connected to the third bias voltage output terminal, the eighth bias voltage input terminal is connected to the fourth bias voltage output terminal, the fourteenth data input terminal is the twelfth data input terminal, and the fourteenth data output terminal is the twelfth data output terminal.
6. The deserializer according to claim 5, characterized in that: The second tri-state gate circuit includes a tenth control input terminal, an eleventh data input terminal and an eleventh data output terminal, the tenth control input terminal is the eighth control input terminal, the eleventh data input terminal is the ninth data input terminal, and the second tri-state gate circuit is used to control whether to receive serial data transmitted by the external transmitting terminal according to the second enable control signal connected thereto; The second delay unit comprises a twelfth data input terminal and a twelfth data output terminal, and the twelfth data input terminal is connected to the eleventh data output terminal; The second transmission gate circuit includes an eleventh control input terminal, a thirteenth data input terminal and a thirteenth data output terminal, the eleventh control input terminal is the ninth control input terminal, the thirteenth data output terminal is the tenth data output terminal, the thirteenth data input terminal is connected to the eleventh data output terminal and the twelfth data input terminal, and the second transmission gate circuit is used to control whether the flag bit data or parallel data corresponding to the parallel data is output from the deserializer according to the input second data loading control signal; When the second delay module is the first second delay module, the ninth data input terminal of the second delay module is connected to the serial data transmitted by the external sending end; when the second delay module is not the first second delay module, the ninth data input terminal of the second delay module is connected to the ninth data output terminal of the second delay module connected in series therewith; When the second delay module is the second delay module located at the end, the ninth data output end of the second delay module is connected to the second control module; when the second delay module is not the second delay module located at the end, the ninth data output end of the second delay module is connected to the ninth data input end of the second delay module connected in series therewith.
7. The deserializer according to claim 5, characterized in that: The second delay unit comprises: a fourteenth P-type MOS transistor, the source of which is connected to the fifth power supply voltage input terminal; a fifteenth P-type MOS transistor, wherein the source of the fifteenth P-type MOS transistor is connected to the fifth power supply voltage input terminal, the gate of the fifteenth P-type MOS transistor is connected to the drain of the fifteenth P-type MOS transistor, and the gate of the fifteenth P-type MOS transistor and the drain of the fifteenth P-type MOS transistor are both connected to the gate of the fourteenth P-type MOS transistor; a ninth N-type MOS transistor, wherein the drain of the ninth N-type MOS transistor is connected to the drain of the fourteenth P-type MOS transistor, the source of the ninth N-type MOS transistor is connected to the fifth ground terminal, and the gate of the ninth N-type MOS transistor is connected to the drain of the ninth N-type MOS transistor; a tenth N-type MOS transistor, wherein the gate of the tenth N-type MOS transistor is connected to the gate of the ninth N-type MOS transistor and the drain of the ninth N-type MOS transistor, and the drain of the tenth N-type MOS transistor is connected to the gate of the fifteenth P-type MOS transistor and the drain of the fifteenth P-type MOS transistor; a second resistor, wherein two ends of the second resistor are respectively connected to the source of the tenth N-type MOS transistor and the fifth ground terminal; a sixteenth P-type MOS transistor, wherein the source of the sixteenth P-type MOS transistor is connected to the fifth power supply voltage input terminal, and the gate of the sixteenth P-type MOS transistor is connected to the gate of the fifteenth P-type MOS transistor and the drain of the fifteenth P-type MOS transistor; a seventeenth P-type MOS transistor, wherein the source of the seventeenth P-type MOS transistor is connected to the fifth power supply voltage input terminal, and the gate of the seventeenth P-type MOS transistor is connected to the gate of the fifteenth P-type MOS transistor and the drain of the fifteenth P-type MOS transistor; an eighteenth P-type MOS transistor, wherein the source of the eighteenth P-type MOS transistor is connected to the fifth power supply voltage input terminal, and the gate of the eighteenth P-type MOS transistor is connected to the gate of the fifteenth P-type MOS transistor and the drain of the fifteenth P-type MOS transistor; a nineteenth P-type MOS transistor, wherein the gate of the nineteenth P-type MOS transistor is connected to the twelfth control input terminal, the source of the nineteenth P-type MOS transistor is connected to the drain of the sixteenth P-type MOS transistor, and the drain of the nineteenth P-type MOS transistor is connected to the third bias voltage output terminal; a twentieth P-type MOS transistor, wherein the gate of the twentieth P-type MOS transistor is connected to the thirteenth control input terminal, the source of the twentieth P-type MOS transistor is connected to the drain of the seventeenth P-type MOS transistor, and the drain of the twentieth P-type MOS transistor is connected to the third bias voltage output terminal; a twenty-first P-type MOS transistor, wherein the gate of the twenty-first P-type MOS transistor is connected to the fourteenth control input terminal, the source of the twenty-first P-type MOS transistor is connected to the drain of the eighteenth P-type MOS transistor, and the drain of the twenty-first P-type MOS transistor is connected to the third bias voltage output terminal; an eleventh N-type MOS transistor, wherein the drain of the eleventh N-type MOS transistor is connected to the drain of the twenty-first P-type MOS transistor, the source of the eleventh N-type MOS transistor is connected to the fifth ground terminal, and the gate of the eleventh N-type MOS transistor and the drain of the eleventh N-type MOS transistor are both connected to the third bias voltage output terminal; a twelfth N-type MOS transistor, wherein a source of the twelfth N-type MOS transistor is connected to the fifth ground terminal, and a gate of the twelfth N-type MOS transistor is connected to the gate of the eleventh N-type MOS transistor and the third bias voltage output terminal; a twenty-second P-type MOS transistor, wherein the source of the twenty-second P-type MOS transistor is connected to the fifth power supply voltage input terminal, the drain of the twenty-second P-type MOS transistor is connected to the gate of the twenty-second P-type MOS transistor, the drain of the twenty-second P-type MOS transistor is connected to the drain of the twelfth N-type MOS transistor and the fourth bias voltage output terminal, and the gate of the twenty-second P-type MOS transistor is connected to the drain of the twelfth N-type MOS transistor and the fourth bias voltage output terminal; The second delay unit includes a second weak pull-up P-type MOS tube, a third inverter and a fourth inverter; The source of the second weak pull-up P-type MOS transistor is connected to the sixth power supply voltage input terminal, and the drain of the second weak pull-up P-type MOS transistor is connected to the twelfth data input terminal; a third inverter, the third inverter comprising a seventh power supply voltage input terminal, a seventh ground terminal, a ninth bias voltage input terminal, a tenth bias voltage input terminal, a fifteenth data input terminal and a fifteenth data output terminal, the seventh power supply voltage input terminal being connected to the sixth power supply voltage input terminal, the seventh ground terminal being connected to the sixth ground terminal, the ninth bias voltage input terminal being connected to the seventh bias voltage input terminal, the tenth bias voltage input terminal being connected to the eighth bias voltage input terminal, the fifteenth data input terminal being connected to the twelfth data input terminal and the drain of the second weak pull-up P-type MOS tube, and the fifteenth data output terminal being connected to the gate of the second weak pull-up P-type MOS tube; A fourth inverter, the fourth inverter comprising an eighth power supply voltage input terminal, an eighth ground terminal, an eleventh bias voltage input terminal, a twelfth bias voltage input terminal, a sixteenth data input terminal and a sixteenth data output terminal, the eighth power supply voltage input terminal is connected to the sixth source voltage input terminal, the eighth ground terminal is connected to the sixth ground terminal, the eleventh bias voltage input terminal is connected to the seventh bias voltage input terminal, the twelfth bias voltage input terminal is connected to the eighth bias voltage input terminal, the sixteenth data input terminal is connected to the twelfth data output terminal and the drain of the second weak pull-up P-type MOS tube, and the sixteenth data output terminal is connected to the twelfth data output terminal.
8. The deserializer according to claim 7, characterized in that: The third inverter includes a twenty-third P-type MOS tube, a twenty-fourth P-type MOS tube, a thirteenth N-type MOS tube and a fourteenth N-type MOS tube; The source of the twenty-third P-type MOS transistor is connected to the seventh power supply voltage input terminal, and the gate of the twenty-third P-type MOS transistor is connected to the eighth bias voltage input terminal; The source of the twenty-fourth P-type MOS transistor is connected to the drain of the twenty-third P-type MOS transistor, the gate of the twenty-fourth P-type MOS transistor is connected to the fifteenth data input terminal, and the drain of the twenty-fourth P-type MOS transistor is connected to the gate of the second weak pull-up P-type MOS transistor; The drain of the thirteenth N-type MOS transistor is connected to the drain of the twenty-fourth P-type MOS transistor, and the gate of the thirteenth N-type MOS transistor is connected to the fifteenth data input terminal; The drain of the fourteenth N-type MOS transistor is connected to the source of the thirteenth N-type MOS transistor, the gate of the fourteenth N-type MOS transistor is connected to the seventh bias voltage input terminal, and the source of the gate of the fourteenth N-type MOS transistor is connected to the seventh ground terminal; The fourth inverter includes a twenty-fifth P-type MOS transistor, a twenty-sixth P-type MOS transistor, a fifteenth N-type MOS transistor and a sixteenth N-type MOS transistor; The source of the twenty-fifth P-type MOS transistor is connected to the eighth power supply voltage input terminal, and the gate of the twenty-fifth P-type MOS transistor is connected to the eighth bias voltage input terminal; The source of the twenty-sixth P-type MOS transistor is connected to the drain of the twenty-fifth P-type MOS transistor, the gate of the twenty-sixth P-type MOS transistor is connected to the gate of the second weak pull-up P-type MOS transistor, and the drain of the twenty-sixth P-type MOS transistor is connected to the fifteenth data output terminal; The drain of the fifteenth N-type MOS transistor is connected to the drain of the twenty-sixth P-type MOS transistor and the fifteenth data output terminal, and the gate of the fifteenth N-type MOS transistor is connected to the gate of the second weak pull-up P-type MOS transistor; The drain of the sixteenth N-type MOS tube is connected to the source of the fifteenth N-type MOS tube, the gate of the sixteenth N-type MOS tube is connected to the seventh bias voltage input terminal, and the source of the sixteenth N-type MOS tube is connected to the eighth ground terminal.
