Signal processing device, deserializer, chip and electronic equipment
By using multiple shift register circuits and output circuits in the deserializer to sample and delay serial signals with odd and even bits, the problems of complex circuit design and high power consumption in the prior art are solved, and the effects of simplified circuit design and reduced power consumption are achieved.
Patent Information
- Application Number
- CN202511935270.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-19
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2045-12-19
AI Technical Summary
Existing deserializer circuit designs are complex, consume a large amount of power and have a large area, and the timing library is difficult to generate accurately, which increases the design difficulty.
The system employs a first shift register circuit, a second shift register circuit, a third shift register circuit, and an output circuit. It samples the serial signal for even and odd bits using a clock signal and an inverting signal, and samples based on a delay enable signal to output a parallel signal.
It simplifies circuit design, reduces power consumption area, simplifies timing library design, and improves signal processing efficiency and accuracy.
Smart Images

Figure CN121365632A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of integrated circuits, and in particular to a signal processing device, a deserializer, a chip and an electronic device. BACKGROUND
[0002] In high-speed data transmission, in order to reduce the number of transmission channels and improve signal integrity, data is usually converted into a serial signal by a serializer at the sending end for transmission, and the serial signal is converted into a parallel signal by a deserializer at the receiving end.
[0003] The deserializer in the related art mainly uses a clock frequency division method, different frequency clocks correspond to different frequency data one-to-one sampling, and each data bit has a one-to-one sampling clock for sampling, that is, the number of sampling clock pulses is consistent with the number of data bits, avoiding missing or repeated data. However, this method requires multiple registers, clock dividers and other control logic to realize the conversion of the data stream, and the circuit design not only requires a large number of logic units, but also requires fine timing control, thereby increasing the power consumption area, and the high-speed data is clocked, which requires signal transmission between multiple clock domains, which may cause timing inconsistency problems, thereby causing timing convergence and Timing lib timing library generation problems, increasing design difficulty. SUMMARY
[0004] The present application provides a signal processing device, a deserializer, a chip and an electronic device to solve the problems of complex circuit design, large power consumption area and Timing lib in the prior art.
[0005] In a first aspect, the present application provides a signal processing device, the device comprising: a first shift register circuit, a second shift register circuit, a third shift register circuit, a first inverter and an output circuit; The first inverter is configured to input a clock signal and output an inverted signal of the clock signal. The first shift register circuit is configured to sample an input serial signal based on the clock signal to obtain an even bit signal of the serial signal, and perform shift processing on the even bit signal based on the inverted signal of the clock signal and output N first serial signals to the output circuit. The second shift register circuit is configured to sample the serial signal based on the inverted signal of the clock signal to obtain an odd bit signal of the serial signal, and perform shift processing on the odd bit signal based on the inverted signal of the clock signal and output N second serial signals to the output circuit. The third shift register circuit is configured to perform shift processing on an enable signal based on the clock signal and an inverse signal of the clock signal, delay the enable signal to obtain a delayed enable signal, and output the delayed enable signal to the output circuit. The output circuit is configured to sample the N first serial signals and the N second serial signals based on the delayed enable signal, and output a parallel signal; N is a positive integer.
[0006] In a possible implementation, the first shift register circuit includes a first D flip-flop and N second D flip-flops. An input end of the first D flip-flop is configured to input the serial signal, a clock end of the first D flip-flop is configured to input the clock signal, and an output end of the first D flip-flop is electrically connected to an input end of a first second D flip-flop in the N second D flip-flops. In the N second D flip-flops, an output end of a previous second D flip-flop is electrically connected to an input end of a subsequent second D flip-flop, an output end of each second D flip-flop is configured to output a first serial signal, and a clock end of each second D flip-flop is electrically connected to the output end of the first inverter.
[0007] In a possible implementation, the second shift register circuit includes N third D flip-flops. An input end of a first third D flip-flop in the N third D flip-flops is configured to input the serial signal, an output end of a previous third D flip-flop is electrically connected to an input end of a subsequent third D flip-flop, an output end of each third D flip-flop is configured to output a second serial signal, and a clock end of each third D flip-flop is electrically connected to the output end of the first inverter.
[0008] In a possible implementation, the third shift register circuit includes a fifth D flip-flop, a second inverter, a third inverter, and N fourth D flip-flops. An input end of a first fourth D flip-flop in the N fourth D flip-flops is configured to input the enable signal, an output end of a previous fourth D flip-flop is electrically connected to an input end of a subsequent fourth D flip-flop, an output end of a last fourth D flip-flop is electrically connected to an input end of the fifth D flip-flop, and a clock end of each fourth D flip-flop is configured to input the clock signal. An output end of the fifth D flip-flop is electrically connected to an input end of the second inverter, and a clock end of the fifth D flip-flop is electrically connected to the output end of the first inverter. An output end of the second inverter is electrically connected to an input end of the third inverter. The output end of the third inverter is configured to output the delayed enable signal.
[0009] In a possible implementation, the output circuit comprises N sixth D flip-flops and N seventh D flip-flops; An input end of each sixth D flip-flop is configured to input a first serial signal, and an output end of each sixth D flip-flop is configured to output a first parallel signal; An input end of each seventh D flip-flop is configured to input a second serial signal, and an output end of each seventh D flip-flop is configured to output a second parallel signal; A clock end of each sixth D flip-flop and a clock end of each seventh D flip-flop are configured to input the delay enable signal.
[0010] In a possible implementation, the output circuit further comprises a fourth inverter, N first selectors corresponding to the N sixth D flip-flops, and N second selectors corresponding to the N seventh D flip-flops; An input end of the fourth inverter is configured to input a mode selection signal, and an output end of the fourth inverter is electrically connected to a second input end of at least one target selector in the N first selectors and the N second selectors; In a case where the N first selectors comprise a target selector, a first input end of the target selector is electrically connected to an output end of a sixth D flip-flop corresponding to the target selector, and first input ends and second input ends of other first selectors in the N first selectors, except the target selector, are electrically connected to output ends of sixth D flip-flops corresponding to the other first selectors; In a case where the N second selectors comprise a target selector, a first input end of the target selector is electrically connected to an output end of a seventh D flip-flop corresponding to the target selector, and first input ends and second input ends of other second selectors in the N second selectors, except the target selector, are electrically connected to output ends of seventh D flip-flops corresponding to the other second selectors; A control end of each first selector and a control end of each second selector are configured to input the mode selection signal.
[0011] In a possible implementation, the output circuit further comprises an OR gate; A first input end of the OR gate is configured to input a reset signal, a second input end of the OR gate is configured to input the mode selection signal, and an output end of the OR gate is electrically connected to a reset end of at least one target D flip-flop in the N sixth D flip-flops and the N seventh D flip-flops; Reset ends of other D flip-flops in the N sixth D flip-flops and the N seventh D flip-flops, except the target D flip-flop, are configured to input the reset signal.
[0012] In a possible implementation, the reset end of each D flip-flop in the first shift register circuit, the second shift register circuit and the third shift register circuit is configured to input the reset signal.
[0013] In a second aspect, the application provides a deserializer, comprising a control module and the signal processing device according to any one of the first aspect; wherein the control module is configured to output a clock signal, an enable signal, a reset signal and a mode selection signal to the signal processing device.
[0014] In a third aspect, the application provides a chip, comprising the deserializer according to the second aspect.
[0015] In a fourth aspect, the application provides an electronic device, comprising the chip according to the third aspect.
[0016] The application has the following advantages: The application provides a signal processing device, a deserializer, a chip and an electronic device. The device comprises a first inverter configured to input a clock signal and output an inverted signal of the clock signal; a first shift register circuit configured to sample an input serial signal based on the clock signal to obtain an even bit signal of the serial signal, and perform shift processing on the even bit signal based on the inverted signal of the clock signal and output N first serial signals to an output circuit; a second shift register circuit configured to sample the serial signal based on the inverted signal of the clock signal to obtain an odd bit signal of the serial signal, and perform shift processing on the odd bit signal based on the inverted signal of the clock signal and output N second serial signals to the output circuit; a third shift register circuit configured to perform shift processing on an enable signal based on the clock signal and the inverted signal of the clock signal, delay the enable signal to obtain a delayed enable signal, and output the delayed enable signal to the output circuit; and an output circuit configured to sample the N first serial signals and the N second serial signals based on the delayed enable signal and output a parallel signal. In other words, the application samples the serial signal based on the first shift register circuit and the second shift register circuit to obtain the parallel signal, so that the circuit design is simple, the power consumption area is reduced, and the design of Timing lib is simplified. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.
[0018] Figure 1A structural schematic diagram of a signal processing device provided by an embodiment of the present application is provided. Figure 2 A timing diagram provided by an embodiment of the present application is provided. Figure 3 A structural schematic diagram of another signal processing device provided by an embodiment of the present application is provided. Figure 4 A structural schematic diagram of another signal processing device provided by an embodiment of the present application is provided. Figure 5 A structural schematic diagram of another signal processing device provided by an embodiment of the present application is provided. Figure 6 A structural schematic diagram of another signal processing device provided by an embodiment of the present application is provided. Figure 7 A structural schematic diagram of another signal processing device provided by an embodiment of the present application is provided. Figure 8 A structural schematic diagram of another signal processing device provided by an embodiment of the present application is provided. Figure 9 Another timing diagram provided by an embodiment of the present application is provided. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0020] Some technical terms related to the present application will be explained first.
[0021] 1) Timing lib (timing library): a library describing the timing characteristics of circuit elements (such as gate circuits, registers, etc.).
[0022] It should be noted that the terms "first", "second", etc. involved in the embodiments of the present application are only used for the purpose of distinguishing description, and cannot be understood as indicating or implying relative importance, nor can it be understood as indicating or implying order.
[0023] In high-speed data transmission, in order to reduce the number of transmission channels and improve signal integrity, data is usually converted into serial signals by a serializer at the sending end for transmission, and the serial signals are converted into parallel signals by a deserializer at the receiving end.
[0024] The deserializer in the related art mainly uses a clock frequency division method, different frequency clocks correspond to different frequency data one-to-one sampling, and each data bit has a one-to-one sampling clock for sampling, that is, the number of pulse of the sampling clock is consistent with the number of data bits, avoiding loss or repeated data. However, this method needs multiple registers, clock dividers and other control logic to realize the conversion of data stream, and the circuit design not only needs more logic units, but also needs fine timing control, thereby increasing power consumption area, and high-speed data needs to pass signals between multiple clock domains, which may cause timing inconsistency problem, thereby causing timing convergence and Timing lib timing library generation problems, increasing design difficulty.
[0025] The deserializer in the related art can also use a FIFO (First In, First Out) method, in the process of data writing, the received serial data is first stored in the FIFO (First In, First Out) buffer, the writing of data is controlled by a synchronous clock signal to generate a write pointer; the reading of data is controlled by another asynchronous clock signal to generate a read pointer, so that the writing and reading of data can be independently performed, reducing the synchronization problem of the clock, however, if the speed of the serial data is too fast, the FIFO buffer may be full, causing data loss or frame loss, therefore, with the increase of data amount, a larger buffer may be needed to ensure the integrity of the data, thereby causing the problems of complex circuit design and increased power consumption area.
[0026] To solve the above problems, the embodiment of the application provides a signal processing device, a deserializer, a chip and an electronic device, the signal processing device comprises a first shift register circuit, a second shift register circuit, a third shift register circuit, a first inverter and an output circuit, the first inverter is used for outputting the inverse signal of the clock signal; the first shift register circuit is used for obtaining the even bit signal of the serial signal based on the clock signal, performing shift processing on the even bit signal based on the inverse signal of the clock signal, and outputting N first serial signals; the second shift register circuit is used for obtaining the odd bit signal of the serial signal based on the inverse signal of the clock signal, and performing shift processing on the odd bit signal, and outputting N second serial signals; the output circuit is used for sampling the first serial signal and the second serial signal based on the delay enable signal output by the third shift register circuit to obtain a parallel signal, thereby making the circuit design simple, the power consumption area small, and simplifying the design of Timing lib.
[0027] As Figure 1As shown in the structure schematic diagram of the signal processing device provided by the embodiment of the application, the device comprises a first shift register circuit 101, a second shift register circuit 102, a third shift register circuit 103, a first inverter N1 and an output circuit 104. As shown in the structure schematic diagram of the signal processing device provided by the embodiment of the application, the device comprises a first shift register circuit 101, a second shift register circuit 102, a third shift register circuit 103, a first inverter N1 and an output circuit 104. Figure 2 As shown in the timing diagram provided by the embodiment of the application, the input clock signal is DQS1. In the application, the input serial signal DATA_IN is taken as an example for description, and D0, D1, D2, D3, D4, D5, D6 and D7 are taken as examples for description. It should be understood that the serial signal is taken as an example for description, which is only for the convenience of understanding the structure and principle of the application, and cannot be understood as implying or suggesting relative importance or implicitly indicating the number of bits of the input serial data, nor can it be understood as implying or suggesting relative importance or implicitly indicating the number of the N first serial signals, the N second serial signals and the parallel signal output.
[0028] The first inverter N1 is used for inputting the clock signal DQS1 and outputting the inverse signal DQS2 of the clock signal. The first shift register circuit 101 is used for sampling the input serial signal DATA_IN based on the clock signal to obtain the even bit signals of the serial signal, i.e. D0, D2, D4 and D6, and performing shift processing on the even bit signals based on the inverse signal DQS2 of the clock signal to output N first serial signals to the output circuit 104. In specific embodiments, for example, the inverse signal DQS2 of the clock signal is used to perform shift processing on the even bit signals to output four first serial signals to the output circuit, which are respectively the first serial signal 1: D0, D2, D4 and D6; the first serial signal 2: D0, D2 and D4; the first serial signal 3: D0 and D2; and the first serial signal 4: D0. Figure 2
[0029] The second shift register circuit 102 is used for sampling the input serial signal DATA_IN based on the inverse signal DQS2 of the clock signal to obtain the odd bit signals of the serial signal DATA_IN, i.e. D1, D3, D5 and D7, and performing shift processing on the odd bit signals based on the inverse signal DQS2 of the clock signal to output N second serial signals to the output circuit 104. In specific embodiments, for example, the inverse signal DQS2 of the clock signal is used to perform shift processing on the odd bit signals to output four second serial signals to the output circuit, which are respectively the second serial signal 1: D1, D3, D5 and D7; the second serial signal 2: D1, D3 and D5; the second serial signal 3: D1 and D3; and the second serial signal 4: D1. Figure 2
[0030] The third shift register circuit 103 is configured to perform shift processing on the enable signal READ EN based on the clock signal DQS1 and the inverse signal DQS2 of the clock signal, to obtain a sync_en, to perform delay on the sync_en to obtain a delay enable signal Caputer_out, and to output the delay enable signal Caputer_out to the output circuit 104. The output circuit 104 is configured to sample the N first serial signals and the N second serial signals based on the delay enable signal Caputer_out, and to output parallel signals DOUT; wherein N is a positive integer.
[0031] In specific embodiments, the delay enable signal Caputer_out is used to sample 4 first serial signals and 4 second serial signals, and the output parallel signals DOUT are D0, D1, D2, D3, D4, D5, D6, and D7, respectively. Specifically, the output parallel signal DOUT0 is D0, the output parallel signal DOUT1 is D1, the output parallel signal DOUT2 is D2, the output parallel signal DOUT3 is D3, the output parallel signal DOUT4 is D4, the output parallel signal DOUT5 is D5, the output parallel signal DOUT6 is D6, and the output parallel signal DOUT7 is D7.
[0032] Thus, the first shift register circuit 101 is used to sample the even bits of the serial signal DATA IN with the input of D0, D1, D2, D3, D4, D5, D6, and D7, to obtain even bit signals D0, D2, D4, and D6, and to perform shift processing on the even bit signals to output 4 first serial signals to the output circuit. The second shift register circuit 102 is used to sample the odd bits of the serial signal DATA IN with the input of D0, D1, D2, D3, D4, D5, D6, and D7, to obtain odd bit signals D1, D3, D5, and D7, and to perform shift processing on the odd bit signals to output 4 second serial signals to the output circuit. The third shift register circuit 103 is used to perform shift and delay processing on the enable signal READ EN to obtain the delay enable signal Caputer_out. The output circuit 104 is used to sample the 4 first serial signals and the 4 second serial signals based on the delay enable signal Caputer_out to output parallel signals, so that the circuit design is simple, the power consumption area is reduced, and the Timing lib design is simplified.
[0033] In a possible implementation, the first shift register circuit 101 comprises a first D flip-flop DFF1 and N second D flip-flops DFF2; an input end of the first D flip-flop DFF1 is configured to input a serial signal DATA_IN, a clock end of the first D flip-flop DFF1 is configured to input a clock signal DQS1, and an output end of the first D flip-flop DFF1 is electrically connected to an input end of a first second D flip-flop in the N second D flip-flops DFF2. In specific embodiments, the input end of the first D flip-flop DFF1 is configured to input the serial signal DATA_IN, and the first D flip-flop DFF1 is configured to sample the input serial signal DATA_IN to obtain an even bit signal of the serial signal under the action of the clock signal DQS1.
[0034] In the N second D flip-flops DFF2, an output end of a previous second D flip-flop is electrically connected to an input end of a subsequent second D flip-flop, and an output end of each second D flip-flop DFF2 is configured to output a first serial signal, and a clock end of each second D flip-flop DFF2 is electrically connected to the output end of the first inverter.
[0035] In specific embodiments, the N second D flip-flops DFF2 are connected in sequence and configured to perform shift processing on the even signal under the action of the inverted signal DQS2 of the clock signal, so that the output end of each second D flip-flop DFF2 outputs a first serial signal, that is, the N second D flip-flops DFF2 output N first serial signals to the output circuit 104.
[0036] Figure 3 Another signal processing device provided by the embodiments of the present application is shown in the structural schematic diagram. Figure 2 And Figure 3 For example, the first shift register circuit comprises a first D flip-flop DFF1 and four second D flip-flops DFF2, wherein the four second D flip-flops DFF2 are DFF21, DFF22, DFF23, and DFF24.
[0037] The input end of the first D flip-flop DFF1 is configured to input the serial signal DATA_IN with D0, D1, D2, D3, D4, D5, D6, and D7, and the first D flip-flop DFF1 is configured to sample the input serial signal DATA_IN to obtain the even bit signal D0, D2, D4, and D6 of the serial signal under the action of the clock signal DQS1. The first D flip-flop DFF1 outputs the even bit signal D0, D2, D4, and D6 to the first second D flip-flop DFF21 in the second D flip-flops DFF2.
[0038] The 4 second D flip-flops DFF2 are connected in sequence, and are used for shifting processing of the even number signals under the action of the inverse signal DQS2 of the clock signal, so that the output end of each second D flip-flop DFF2 outputs a first serial signal, that is, the 4 second D flip-flops DFF2 output 4 first serial signals to the output circuit 104.
[0039] Specifically, the first serial signal 1: D0, D2, D4, D6 output by the second D flip-flop DFF21 under the action of the inverse signal DQS2 of the clock signal realizes synchronization of the first serial signal and the second serial signal under the action of the inverse signal DQS2; the first serial signal 2: D0, D2, D4 output by the second D flip-flop DFF22 under the action of the inverse signal DQS2 of the clock signal; the first serial signal 3: D0, D2 output by the second D flip-flop DFF23 under the action of the inverse signal DQS2 of the clock signal; and the first serial signal 4: D0 output by the second D flip-flop DFF24 under the action of the inverse signal DQS2 of the clock signal.
[0040] In a possible implementation, the second shift register circuit 102 includes N third D flip-flops DFF3; the input end of the first third D flip-flop in the N third D flip-flops is used for inputting the serial signal DATA_IN, the output end of the previous third D flip-flop is electrically connected with the input end of the subsequent third D flip-flop, the output end of each third D flip-flop DFF3 is used for outputting a second serial signal, and the clock end of each third D flip-flop is electrically connected with the output end of the first inverter respectively.
[0041] In a specific embodiment, the input end of the first third D flip-flop in the N third D flip-flops is used for inputting the serial signal DATA_IN, and the input serial signal DATA_IN is sampled under the action of the inverse signal DQS2 of the clock signal to obtain an odd bit signal of the serial signal. The N third D flip-flops DFF3 are connected in sequence and are used for shifting processing of the odd number signals under the action of the inverse signal DQS2 of the clock signal, so that the output end of each third D flip-flop DFF3 outputs a second serial signal, that is, the N third D flip-flops DFF3 output N second serial signals to the output circuit 104.
[0042] Figure 4 Another signal processing device provided by the embodiment of the present application is shown in a structural schematic diagram. Figure 2 and Figure 4 For example, the second shift register circuit 102 includes 4 third D flip-flops DFF3, which are DFF31, DFF32, DFF33 and DFF34 respectively.
[0043] The input end of the third D flip-flop DFF31 is used for inputting the serial signal DATA_IN which is D0, D1, D2, D3, D4, D5, D6, D7, and the third D flip-flop DFF31 samples the input serial signal DATA_IN under the action of the inverted signal DQS2 of the clock signal to obtain the odd bit signals D1, D3, D5, D7 of the serial signal. The third D flip-flop DFF3 is sequentially connected, and the third D flip-flops DFF32, DFF33 and DFF34 are all used for shifting processing the odd bit signals under the action of the inverted signal DQS2 of the clock signal, so that the third D flip-flop DFF3 outputs a second serial signal, that is, the fourth D flip-flop DFF3 outputs four second serial signals to the output circuit 104.
[0044] Specifically, the second serial signal 1 output by the third D flip-flop DFF31 under the action of the inverted signal DQS2 of the clock signal is D1, D3, D5, D7; the second serial signal 2 output by the third D flip-flop DFF31 under the action of the inverted signal DQS2 of the clock signal is D1, D3, D5; the second serial signal 3 output by the third D flip-flop DFF31 under the action of the inverted signal DQS2 of the clock signal is D1, D3; and the second serial signal 4 output by the third D flip-flop DFF31 under the action of the inverted signal DQS2 of the clock signal is D1.
[0045] It can be understood that the application aligns the time sequences of the plurality of first serial signals and the plurality of second serial signals by setting the plurality of second flip-flops and the plurality of third D flip-flops, so as to facilitate sampling the plurality of first serial signals and the plurality of second serial signals based on the delay enable signal to obtain the parallel signal.
[0046] In a possible implementation, the third shift register circuit includes a fifth D flip-flop DFF5, a second inverter N2, a third inverter N3 and N fourth D flip-flops DFF4; the input end of the first fourth D flip-flop in the N fourth D flip-flops DFF4 is used for inputting the enable signal READ_EN, the output end of the previous fourth D flip-flop is electrically connected with the input end of the subsequent fourth D flip-flop, the output end of the last fourth D flip-flop is electrically connected with the input end of the fifth D flip-flop DFF5, and the clock end of each fourth D flip-flop is used for inputting the clock signal DQS1 respectively. In specific embodiments, the N fourth D flip-flops DFF4 are sequentially connected and used for shifting processing the enable signal READ_EN under the action of the clock signal DQS1 to output the signal sync_en which is processed for N times by the N fourth D flip-flops DFF4.
[0047] The output end of the fifth D flip-flop DFF5 is electrically connected with the input end of the second inverter N2, and the clock end of the fifth D flip-flop DFF5 is electrically connected with the output end of the first inverter N1; the output end of the second inverter N2 is electrically connected with the input end of the third inverter N3; and the output end of the third inverter N3 is used for outputting a delay enable signal.
[0048] The signal sync_en is input to the fifth D flip-flop DFF5 through the last fourth D flip-flop, and the clock end of the fifth D flip-flop DFF5 is electrically connected with the output end of the first inverter N1, so as to perform shift processing on the signal sync_en under the action of the inverse signal DQS2 of the clock signal, and obtain the shift-processed sync_en.
[0049] The second inverter N2 and the third inverter N3 are connected in sequence, for performing delay processing, i.e. twice inversion processing, on the shift-processed sync_en, so as to obtain the delay enable signal Caputer_out, thereby making the delay enable signal Caputer_out trigger the output circuit 104 at a preset clock phase, and enabling the data to be stably and accurately output.
[0050] Figure 5 Another signal processing device provided by the embodiment of the present application is shown in a structural schematic diagram. Figure 2 and Figure 5 For example, the third shift register circuit includes the fifth D flip-flop DFF5, the second inverter N2, the third inverter N3 and four fourth D flip-flops DFF4, wherein the four fourth D flip-flops DFF4 are DFF41, DFF42, DFF43 and DFF44.
[0051] The input end of the first fourth D flip-flop DFF41 in the fourth D flip-flop DFF4 is used for inputting an enable signal READ_EN, and the four fourth D flip-flops DFF41, DFF42, DFF43 and DFF44 are connected in sequence, for performing shift processing on the enable signal READ_EN under the action of the clock signal DQS1, and obtaining the signal sync_en which is processed four times by the four fourth D flip-flops DFF4.
[0052] The signal sync_en is input to the fifth D flip-flop DFF5, and the clock end of the fifth D flip-flop DFF5 is electrically connected with the output end of the first inverter N1, so as to perform shift processing on the signal sync_en under the action of the inverse signal DQS2 of the clock signal, and obtain the shift-processed sync_en. Then, the second inverter N2 and the third inverter N3 perform twice inversion processing on the shift-processed sync_en, and obtain the delay enable signal Caputer_out.
[0053] In a possible implementation, the output circuit includes N sixth D flip-flops DFF6 and N seventh D flip-flops DFF7; an input terminal of each sixth D flip-flop DFF6 is configured to input a first serial signal, and an output terminal of each sixth D flip-flop DFF6 is configured to output a first parallel signal; an input terminal of each seventh D flip-flop DFF7 is configured to input a second serial signal, and an output terminal of each seventh D flip-flop DFF7 is configured to output a second parallel signal; and a clock terminal of each sixth D flip-flop DFF6 and a clock terminal of each seventh D flip-flop DFF7 are configured to input the delay enable signal.
[0054] In specific embodiments, each sixth D flip-flop DFF6 is configured to sample the input first serial signal under the action of the delay enable signal Caputer_out and output the first parallel signal, and each seventh D flip-flop DFF7 is configured to sample the input second serial signal under the action of the delay enable signal Caputer_out and output the second parallel signal.
[0055] Figure 6 Another structure diagram of a signal processing apparatus provided in the embodiments of the present application is shown in FIG. 6. Figure 2 And Figure 6 For example, the output circuit includes four sixth D flip-flops DFF6 and four seventh D flip-flops DFF7, where the four sixth D flip-flops are DFF61, DFF62, DFF63, and DFF64, and the four seventh D flip-flops are DFF71, DFF72, DFF73, and DFF74.
[0056] The sixth D flip-flop DFF61 inputs the first serial signal 1: D0, D2, D4, and D6, and outputs D6 under the action of the delay enable signal Caputer_out; the sixth D flip-flop DFF62 inputs the first serial signal 2: D0, D2, D4, and outputs D4 under the action of the delay enable signal Caputer_out; the sixth D flip-flop DFF63 inputs the first serial signal 3: D0, D2, and outputs D2 under the action of the delay enable signal Caputer_out; and the sixth D flip-flop DFF64 inputs the first serial signal 4: D0, and outputs D0 under the action of the delay enable signal Caputer_out.
[0057] The input of the seventh D flip-flop DFF71 is the second serial signal 1: D1, D3, D5, D7, and the output of the seventh D flip-flop DFF71 is D7 under the action of the delay enable signal Caputer_out. The input of the seventh D flip-flop DFF72 is the second serial signal 2: D1, D3, D5, and the output of the seventh D flip-flop DFF72 is D5 under the action of the delay enable signal Caputer_out. The input of the seventh D flip-flop DFF73 is the second serial signal 3: D1, D3, and the output of the seventh D flip-flop DFF73 is D3 under the action of the delay enable signal Caputer_out. The input of the seventh D flip-flop DFF74 is the second serial signal 4: D1, and the output of the seventh D flip-flop DFF74 is D1 under the action of the delay enable signal Caputer_out.
[0058] In a possible implementation, the fourth inverter N4, the first selector A1 corresponding to each sixth D flip-flop DFF6, and the second selector A2 corresponding to each seventh D flip-flop DFF7 are included. The input end of the fourth inverter is used to input a mode selection signal 4BIT_MODE-SEL, and the output end of the fourth inverter is electrically connected to the second input end of at least one target selector of the N first selectors A1 and the N second selectors A2. The control end of each first selector and the control end of each second selector are used to input the mode selection signal 4BIT_MODE-SEL. In the case where the N first selectors A1 include the target selector, the first input end of the target selector is electrically connected to the output end of the sixth D flip-flop corresponding to the target selector. In the first selectors A1 other than the target selector, the first input end and the second input end of each of the other first selectors are electrically connected to the output end of the sixth D flip-flop corresponding to the other first selector. In specific embodiments, the first selector A1 control end inputs the mode selection signal 4BIT_MODE-SEL, and under the control of the mode selection signal 4BIT_MODE-SEL, the target selector outputs the electrical signal of the second input end when the mode selection signal 4BIT_MODE-SEL is at a high level, and the target selector outputs the electrical signal of the first input end when the mode selection signal 4BIT_MODE-SEL is at a low level. It should be noted that the electrical signal of the second input end is the mode selection signal 4BIT_MODE-SEL after reverse processing.
[0059] That is, in the case that the mode selection signal 4BIT_MODE-SEL is high, the signal output by the target selector is 0; in the case that the target selector is in the case that the mode selection signal 4BIT_MODE-SEL is low, the signal output by the target selector is the output signal of the corresponding sixth D flip-flop.
[0060] The signal output by the other first selectors is the output signal of the corresponding sixth D flip-flop.
[0061] In the case that the N second selectors A2 include a target selector, the first input end of the target selector is electrically connected with the output end of the seventh D flip-flop corresponding to the target selector; the first input end and the second input end of the other second selectors in the second selectors A2, except the target selector, are electrically connected with the output end of the seventh D flip-flop corresponding to the other second selectors.
[0062] In a specific embodiment, the second selector A2 control end inputs the mode selection signal 4BIT_MODE-SEL signal, and for the same reason, in the case that the mode selection signal 4BIT_MODE-SEL is high, the signal output by the target selector is 0; in the case that the target selector is in the case that the mode selection signal 4BIT_MODE-SEL is low, the signal output by the target selector is the output signal of the corresponding seventh D flip-flop.
[0063] The signal output by the other first selectors is the output signal of the corresponding seventh D flip-flop.
[0064] Figure 7 Another signal processing device provided by the embodiment of the present application is shown in the structural schematic diagram. Figure 2 And Figure 7 For example, four first selectors A1 and four second selectors A2 are included, wherein the four first selectors A1 are A11, A12, A13 and A14 respectively, and the four second selectors A2 are A21, A22, A23 and A24 respectively.
[0065] A13 and A14 in the first selectors A1 and A23 and A24 in the second selectors A2 are taken as target selectors, so that in the case that the mode selection signal 4BIT_MODE-SEL is high, the output parallel signal is D0, D1, D2 and D3, and in the case that the mode selection signal 4BIT_MODE-SEL is low, the output parallel signal is D0, D1, D2, D3, D4, D5, D6 and D7. Thus, according to a preset rule, a parallel signal of a target bit number can be output.
[0066] In a possible implementation, an OR gate H1 is further included. The first input of the OR gate is used to input the reset signal RESET, the second input of the OR gate is used to input the mode selection signal 4BIT_MODE-SEL, and the output of the OR gate is electrically connected to the reset terminal of at least one of the N sixth D flip-flops DFF6 and N seventh D flip-flops DFF7. The reset terminals of all D flip-flops except the target D flip-flop among the N sixth D flip-flops (DFF6) and N seventh D flip-flops (DFF7) are used to input the reset signal.
[0067] In a specific embodiment, the target D flip-flops in the N sixth D flip-flops (DFF6) are configured to correspond with the target selectors in the N first selectors (A1), and the target D flip-flops in the N seventh D flip-flops (DFF7) are configured to correspond with the target selectors in the N second selectors (A2). Therefore, when the mode selection signal 4BIT_MODE-SEL is high, the level signal output by the OR gate is high, resetting the target D flip-flops in the N sixth D flip-flops (DFF6) and the target D flip-flops in the N seventh D flip-flops (DFF7).
[0068] Figure 8 This is a schematic diagram of another signal processing device provided in an embodiment of this application. Taking A13 and A14 in the first selector A1 and A23 and A24 in the second selector A2 as target selectors, and the output of the OR gate electrically connected to the reset terminals of DFF63 and DFF64 in the sixth D flip-flop and DFF73 and DFF74 in the seventh flip-flop, as an example, this will be explained. When the mode selection signal 4BIT_MODE-SEL is high, DFF63 and DFF64 in the sixth D flip-flop and DFF73 and DFF74 in the seventh flip-flop are reset, and the output signal is 0. The final parallel signals output by the sixth and seventh D flip-flops are D0, D1, D2, and D3. When the mode selection signal 4BIT_MODE-SEL is low, the parallel signals output by the sixth and seventh D flip-flops are D0, D1, D2, D3, D4, D5, D6, and D7.
[0069] Furthermore, such as Figure 8 As shown, the reset terminal of each D flip-flop in the first shift register circuit, the second shift register circuit, and the third shift register circuit is used to input the reset signal RESET, thereby resetting the flip-flop according to the reset signal.
[0070] like Figure 9 As shown, this is another timing diagram of an embodiment of this application, which is as follows: Figure 9As shown, before receiving data, the reset signal RESET is pulled high for reset processing, and after the reset processing, the enable signal READ_EN is pulled high, so that the delay enable signal Caputer_out is obtained based on the enable signal READ_EN, and then the N first serial signals and the N second serial signals are sampled based on the delay enable signal Caputer_out, and the parallel signal DOUT is output.
[0071] The application provides a signal processing device, which comprises a first inverter for inputting a clock signal and outputting an inverted signal of the clock signal; a first shift register circuit for sampling an input serial signal based on the clock signal to obtain an even bit signal of the serial signal, and performing shift processing on the even bit signal based on the inverted signal of the clock signal to output N first serial signals to an output circuit; a second shift register circuit for sampling the serial signal based on the inverted signal of the clock signal to obtain an odd bit signal of the serial signal, and performing shift processing on the odd bit signal based on the inverted signal of the clock signal to output N second serial signals to the output circuit; a third shift register circuit for performing shift processing on an enable signal based on the clock signal and the inverted signal of the clock signal, delaying the enable signal to obtain a delay enable signal, and outputting the delay enable signal to the output circuit; and an output circuit for sampling the N first serial signals and the N second serial signals based on the delay enable signal and outputting a parallel signal. In other words, the application samples the serial signal based on the first shift register circuit and the second shift register circuit to obtain the even bit signal and the odd bit signal, respectively, and then samples the parallel signal based on the delay enable signal, so that the circuit design is simple, the power consumption area is reduced, and the design of a Timing lib is simplified.
[0072] Based on the same inventive concept, the application further provides a deserializer comprising a control module and the above signal processing device, wherein the control module is configured to output a clock signal, an enable signal, a reset signal and a mode selection signal to the signal processing device. The principle for solving the technical problem of the deserializer is the same as that of the signal processing device, and the implementation of the deserializer can refer to that of the signal processing device, and the repeated parts will not be described herein.
[0073] Based on the same inventive concept, the application further provides a chip comprising the above deserializer, and the principle for solving the technical problem of the chip is the same as that of the signal processing device, and the implementation of the chip can refer to that of the signal processing device, and the repeated parts will not be described herein.
[0074] In specific embodiments, the chip can be any one of a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a TPU (Tensor Processing Unit), a NPU (Neural network Processing Unit), a DPU (Deep learning Processing Unit), an APU (Accelerated Processing Unit), and a GPGPU (General-Purpose Graphics Processing Unit).
[0075] Based on the same inventive concept, the embodiments of the present application also provide an electronic device comprising the chip described above. The principle of solving the technical problem of the electronic device is the same as that of the signal processing device, and the implementation of the electronic device can refer to that of the signal processing device. Details are not repeated here.
[0076] The present application provides a signal processing device, a deserializer, a chip and an electronic device. In the device, a first inverter is configured to input a clock signal and output an inverted signal of the clock signal; a first shift register circuit is configured to sample an input serial signal based on the clock signal to obtain an even bit signal of the serial signal; and the even bit signal is shifted based on the inverted signal of the clock signal and output to an output circuit as N first serial signals. A second shift register circuit is configured to sample the serial signal based on the inverted signal of the clock signal to obtain an odd bit signal of the serial signal; and the odd bit signal is shifted based on the inverted signal of the clock signal and output to the output circuit as N second serial signals. A third shift register circuit is configured to delay an enable signal after shifting the enable signal based on the clock signal and the inverted signal of the clock signal to obtain a delayed enable signal, and output the delayed enable signal to the output circuit. The output circuit is configured to sample the N first serial signals and the N second serial signals based on the delayed enable signal, and output a parallel signal. In other words, the present application samples the serial signal by the first shift register circuit and the second shift register circuit to obtain the even bit signal and the odd bit signal respectively, and then samples the parallel signal based on the delayed enable signal, so as to simplify the circuit design, reduce the power consumption area, and simplify the design of Timing lib.
[0077] The computer program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other processing device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other processing device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0078] Accordingly, the present application can be embodied in hardware and / or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application can take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of the present application, a computer-usable or computer-readable medium can be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
[0079] Obviously, numerous modifications and variations of the present application are possible in light of the above teachings. It is therefore to be understood that within the scope of the claims and their equivalents, the application can be practiced otherwise than as specifically described.
Claims
1. A signal processing device, characterized by, The device comprises a first shift register circuit, a second shift register circuit, a third shift register circuit, a first inverter and an output circuit; The first inverter is configured to input a clock signal and output an inverted signal of the clock signal; The first shift register circuit is configured to sample an input serial signal based on the clock signal to obtain an even bit signal of the serial signal, and perform shift processing on the even bit signal based on the inverted signal of the clock signal to output N first serial signals to the output circuit; The second shift register circuit is configured to sample the serial signal based on the inverted signal of the clock signal to obtain an odd bit signal of the serial signal, and perform shift processing on the odd bit signal based on the inverted signal of the clock signal to output N second serial signals to the output circuit; The third shift register circuit is configured to perform shift processing on an enable signal based on the clock signal and the inverted signal of the clock signal, delay the enable signal to obtain a delayed enable signal, and output the delayed enable signal to the output circuit; The output circuit is configured to sample the N first serial signals and the N second serial signals based on the delayed enable signal, and output a parallel signal; wherein N is a positive integer.
2. The apparatus of claim 1, wherein, The first shift register circuit comprises a first D flip-flop and N second D flip-flops; An input end of the first D flip-flop is configured to input the serial signal, a clock end of the first D flip-flop is configured to input the clock signal, and an output end of the first D flip-flop is electrically connected to an input end of a first second D flip-flop among the N second D flip-flops; In the N second D flip-flops, an output end of a previous second D flip-flop is electrically connected to an input end of a subsequent second D flip-flop, an output end of each second D flip-flop is configured to output a first serial signal, and a clock end of each second D flip-flop is electrically connected to the output end of the first inverter.
3. The apparatus of claim 1, wherein, The second shift register circuit comprises N third D flip-flops; An input end of a first third D flip-flop among the N third D flip-flops is configured to input the serial signal, an output end of a previous third D flip-flop is electrically connected to an input end of a subsequent third D flip-flop, an output end of each third D flip-flop is configured to output a second serial signal, and a clock end of each third D flip-flop is electrically connected to the output end of the first inverter.
4. The apparatus of claim 1, wherein, The third shift register circuit comprises a fifth D flip-flop, a second inverter, a third inverter and N fourth D flip-flops; An input end of a first fourth D flip-flop among the N fourth D flip-flops is configured to input the enable signal, an output end of a previous fourth D flip-flop is electrically connected to an input end of a subsequent fourth D flip-flop, an output end of a last fourth D flip-flop is electrically connected to an input end of the fifth D flip-flop, and a clock end of each fourth D flip-flop is configured to input the clock signal; An output end of the fifth D flip-flop is electrically connected to an input end of the second inverter, and a clock end of the fifth D flip-flop is electrically connected to the output end of the first inverter. An output terminal of the second inverter is electrically connected with an input terminal of the third inverter; An output terminal of the third inverter is used for outputting the delay enable signal.
5. The apparatus of any one of claims 1-4, wherein, The output circuit comprises N sixth D flip-flops and N seventh D flip-flops; An input terminal of each sixth D flip-flop is used for inputting a first serial signal, and an output terminal of each sixth D flip-flop is used for outputting a first parallel signal; An input terminal of each seventh D flip-flop is used for inputting a second serial signal, and an output terminal of each seventh D flip-flop is used for outputting a second parallel signal; A clock terminal of each sixth D flip-flop and a clock terminal of each seventh D flip-flop are used for inputting the delay enable signal.
6. The apparatus of claim 5, wherein, Further comprising a fourth inverter, a first selector corresponding to each sixth D flip-flop, and a second selector corresponding to each seventh D flip-flop; An input terminal of the fourth inverter is used for inputting a mode selection signal, and an output terminal of the fourth inverter is electrically connected with a second input terminal of at least one target selector of N first selectors and N second selectors; In a case where the N first selectors comprise a target selector, a first input terminal of the target selector is electrically connected with an output terminal of a sixth D flip-flop corresponding to the target selector; and for the first selectors other than the target selector, a first input terminal and a second input terminal of each of the other first selectors are electrically connected with an output terminal of a sixth D flip-flop corresponding to the other first selector; In a case where the N second selectors comprise a target selector, a first input terminal of the target selector is electrically connected with an output terminal of a seventh D flip-flop corresponding to the target selector; and for the second selectors other than the target selector, a first input terminal and a second input terminal of each of the other second selectors are electrically connected with an output terminal of a seventh D flip-flop corresponding to the other second selector; A control terminal of each first selector and a control terminal of each second selector are used for inputting the mode selection signal.
7. The apparatus of claim 6, wherein, Further comprising an OR gate; A first input terminal of the OR gate is used for inputting a reset signal, a second input terminal of the OR gate is used for inputting the mode selection signal, and an output terminal of the OR gate is electrically connected with a reset terminal of at least one target D flip-flop of the N sixth D flip-flops and the N seventh D flip-flops; A reset terminal of each D flip-flop in the first shift register circuit, the second shift register circuit and the third shift register circuit is used for inputting the reset signal.
8. The apparatus of claim 7, wherein, The control module is used for outputting a clock signal, an enable signal, a reset signal and a mode selection signal to the signal processing device.
9. A deserializer, comprising: The deserializer comprises the signal processing device according to any one of claims 1-8.
10. A chip, characterized by The chip comprises the signal processing device according to claim 10.
11. An electronic device, comprising:
Citation Information
Patent Citations
Deserializer and deserializer module
CN101944913A
Serial-to-parallel conversion circuit, driving method thereof and display panel
CN110912549A
High-speed multichannel parallel-serial conversion circuit
CN112600567A
Parallel-serial conversion circuit
CN121116879A
Serial / Parallel converter
JP1995264076A