WO2022266959A1 - Chip test circuit and method - Google Patents

Chip test circuit and method Download PDF

Info

Publication number
WO2022266959A1
WO2022266959A1 PCT/CN2021/102190 CN2021102190W WO2022266959A1 WO 2022266959 A1 WO2022266959 A1 WO 2022266959A1 CN 2021102190 W CN2021102190 W CN 2021102190W WO 2022266959 A1 WO2022266959 A1 WO 2022266959A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
test
input data
data
chip
Prior art date
Application number
PCT/CN2021/102190
Other languages
French (fr)
Chinese (zh)
Inventor
付海涛
黄俊林
邓斌
崔昌明
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN202180095927.6A priority Critical patent/CN117120856A/en
Priority to PCT/CN2021/102190 priority patent/WO2022266959A1/en
Publication of WO2022266959A1 publication Critical patent/WO2022266959A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing

Definitions

  • the present application relates to the field of chip technology, in particular to a chip testing circuit and method.
  • the logic test of chips requires a large number of multiplexed digital input/output (input/output, I/O) resources to generate test vectors (Test Vector) required for chip testing.
  • I/O input/output
  • Test Vector test vectors
  • the embodiment of the present application provides a chip test circuit and method, based on the use of serial and deserializers to provide large-bandwidth test data streams or test buses, without restricting the subsequent test purposes of the bus, and being able to use high-speed serial test interfaces to receive
  • the high-speed test data of the test machine is converted into multi-channel input data, which liberates the test data transmission bandwidth limitation of a single channel and improves the chip test efficiency.
  • a chip test circuit in the first aspect, includes a high-speed serial test interface, a first transmission and a second transmission, the high-speed serial test interface and the test machine are interconnected based on capacitive coupling, and adopt differential transmission
  • the high-speed serial test interface is used to receive the high-speed serial input data sent by the test machine, convert the high-speed serial input data into multi-channel input data, and send the multi-channel input data to the first transmission Data; the rate of high-speed serial input data is greater than or equal to 1.25Gbps;
  • the first transmission is used to normalize the multi-channel input data into single-channel input data, and the single-channel input data is used to test the circuit to be tested, and the circuit to be tested and
  • the chip test circuit is coupled; the second transmission is used to receive single-channel output data from the circuit to be tested, convert the single-channel output data into multi-channel output data, and send the multi-channel output data to the high-speed serial test interface; wherein, the single-channel The output data corresponds to the single-
  • the transmission of high-speed serial input data and converted multi-channel input data can greatly increase the transmission rate of test data.
  • the application utilizes the high-speed serial test interface to receive high-speed serial input data and output multi-channel input data, even if the logic resources to be tested in the chip continue to increase, the I/O resources for test data transmission only take up There are fewer I/O pins on the chip (pins for high-speed serial input data, pins for high-speed serial output data, pins for multi-channel input data and pins for multi-channel output data).
  • an uplink and downlink transmission can realize the normalized integration of multi-channel input data bit width, which can increase the routing frequency of the test bus (Bus).
  • the multi-channel input data is transmitted on M channels, and M is an integer greater than 1; the first transmission is used to receive the multi-channel input data in the 1-fold frequency clock domain, and the multi-channel input data Perform bit width conversion to obtain single-channel input data; output single-channel input data in the M-multiplied clock domain; the second transmission is used to receive single-channel output data in the M-multiplied clock domain, and bit-bit the single-channel output data Wide conversion to obtain multi-channel output data; output multi-channel output data under 1 multiplied clock; wherein, the bit width occupied by single-channel input data and the bit width occupied by single-channel output data are fixed.
  • multi-channel input data is transmitted on 4 channels
  • the input terminal of the first transmission receives 4-channel input data in the 1-multiplied clock domain
  • the output terminal of the first transmission outputs a single channel in the 4-multiplied clock domain Input data.
  • the routing frequency of test data on the test bus can be increased.
  • the second transmission receives the single-channel output data at a frequency multiplied by 4
  • the rate at which the single-channel output data is fed back to the test machine is also increased, thereby improving the chip testing efficiency as a whole.
  • the first transmission includes a first buffer and a first bit width conversion circuit; the first buffer is used for buffering the multi-channel input received from the high-speed serial test interface under the 1-fold frequency clock domain Data; the first bit width conversion circuit is used to read the multi-channel input data from the first buffer according to the channel bit width of the output single-channel input data, obtain the single-channel input data, and output the single-channel in the M multiplied clock domain Input data; the second speed changer includes a second buffer and a second bit width conversion circuit; the second buffer is used to buffer the single-channel output data received under the M multiplied clock domain; the second bit width conversion circuit uses The method is to read the single-channel output data from the second buffer according to the bit width of each channel for outputting the multi-channel output data, obtain the multi-channel output data, and output the multi-channel output data in the 1-fold frequency clock domain.
  • the first transmission can buffer the multi-channel input data and then perform bit width integration and normalization by the bit width conversion component, and input the normalized single-channel input data in the M multiplier clock domain, which can improve the test data Trace frequency on the test bus.
  • the second transmission receives the single-channel output data at an M-multiplied frequency, the rate at which the single-channel output data is fed back to the testing machine is also increased, thereby improving chip testing efficiency as a whole.
  • the test circuit also includes a decoder, an encoder, a finite state machine FSM, a first flow pipeline and a second flow pipeline; both the first flow pipeline and the second flow pipeline include a multi-level storage unit; the first transmission The output end of the decoder is coupled to the input end of the decoder, and the output end of the decoder is coupled to the input end of the first stream pipeline; the output end of the first stream pipeline is coupled to the test bus of the test circuit; the input end of the second transmission is coupled to the output of the encoder The input end of the encoder is coupled to the output end of the second flow pipeline, and the input end of the second flow pipeline is coupled to the test bus; the FSM is coupled to the decoder, the encoder, the first flow pipeline and the second flow pipeline.
  • the decoder is used to perform decoding operations on single-channel input data, send the decoded test data to the first-stream pipeline, and send the decoded instructions to the FSM;
  • the FSM is used to Determining the operating state of the encoder, the first stream pipe, and the second stream pipe; the first stream pipe for transmitting test data to the test bus according to the operating state of the first stream pipe determined by the FSM; the second stream pipe for determining according to the FSM
  • the operating state of the second stream pipeline receives the test result returned through the test bus, and sends the test result to the encoder;
  • the encoder is used to encode the test result according to the operating state of the encoder determined by the FSM, to obtain single-channel output data , and send single-channel output data to the second transmission.
  • the test data input to the chip does not go through the decoding and encoding process.
  • This application can decode the received input data through the decoder to obtain the test data, and output the test data to the Test the bus.
  • Feedback test results can also be output to the encoder for encoding after hierarchical buffering in the second stream pipeline to obtain single-channel output data.
  • the FSM can determine the operating states of the encoder, the first stream pipeline and the second stream pipeline according to the decoded instruction. In this way, the present application provides a standardized chip test framework, which is applicable to the transmission of test data at various rates.
  • the test circuit further includes a gating circuit coupled to each level of storage units in the multi-level storage unit; the first stream pipeline includes a first level storage unit and a second level storage unit; the first level storage unit is used for caching The test data received from the decoder; the first-level storage unit is also used to send the first-level storage unit to the second-level storage unit when receiving the clock signal sent by the gating circuit coupled with the first-level storage unit The test data stored in the storage unit; the second-level storage unit is used to cache the test data received from the first-level storage unit. Therefore, the first stream pipeline and the second stream pipeline provided by the present application provide hierarchical cache output for input data, which can avoid the problem of increased chip overhead caused by using FIFO for data cache in the prior art.
  • the test circuit also includes a plurality of frame header aligners and channel aligners; the input end of each frame header aligner is coupled with an output port of the high-speed serial test interface, and each frame header aligner The output terminal of the channel aligner is coupled with an input terminal of the channel alignment circuit, and a plurality of output terminals of the channel aligner are coupled with a plurality of input ports of the first transmission; each frame header aligner is used for outputting from an output of the high-speed serial test interface
  • the port receives one channel input data in the multi-channel input data, and performs frame header alignment on the input data of one channel and outputs it to the channel aligner; the channel aligner is used to align the data received from multiple frame header aligners
  • the multi-channel input data is output to the first transmission after data alignment between channels is performed.
  • the frame header aligner can receive the multi-channel input data from the high-speed serial test interface
  • the data is frame header aligned, so that the input data of each channel in the multi-channel input data is sent to the channel aligner in the sequence after the frame header is aligned.
  • the data alignment between channels by the channel aligner can be understood as, due to the possible inconsistency in the transmission speed of each channel, when a data packet is divided into multiple parts and transmitted on multiple channels, each part of data is transmitted on a different channel may not reach the first transmission at the same time, therefore, the channel aligner can transmit the small data packets of the same data packet to the first transmission at the same time when transmitted on different channels.
  • each frame header aligner includes a third buffer and a frame header alignment circuit;
  • the third buffer is used for buffering one channel in the multi-channel input data received from an output port of the high-speed serial test interface Input data;
  • frame header alignment circuit used to read a channel input data from the third buffer, and sort the input data of a channel according to the frame header and then output to the channel alignment circuit;
  • the channel aligner includes a fourth buffer and a channel alignment circuit; the fourth buffer is used to buffer multiple channel input data sent from multiple channel alignment circuits; the channel alignment circuit is used to read multiple channels from the fourth buffer. The channel input data is aligned between multiple channels and then output to the first transmission.
  • the test circuit may further include a descrambler, a scrambler, a demultiplexer and a combiner.
  • the descrambler is used to descramble the single-channel output data output by the first transmission
  • the scrambler is used to scramble the single-channel output data output by the encoder and then send it to the second transmission
  • the demultiplexer is used for The single-channel input data received from the first-stream pipeline is transmitted to the combinational logic circuit of the specified output
  • the combiner is used to feed back the test results transmitted from the test bus ports with different bit widths to the first through the combiner Secondary pipeline.
  • the transmission of data in the chip test circuit is realized through the scrambler and descrambler.
  • the code stream after scrambling can be fully random, thereby improving the signal transmission outside the chip. Transmission quality in the transmission channel, etc.
  • the demultiplexer can be understood as transmitting single-channel input data to a 32-bit wide test bus port for output to the circuit to be tested, or to a 64-bit wide test bus port for output to the circuit to be tested, or to a 128-bit wide The test bus port output to the circuit to be tested and so on.
  • the implementation of the demultiplexer and then the combiner can satisfy the test data transmission in the test bus with various bit widths, so as to realize the test of the circuit to be tested.
  • a method for testing a chip includes a high-speed serial test interface, the high-speed serial test interface and the test machine are interconnected based on capacitive coupling, and the data transmitted by the test machine is received by a differential transmission method.
  • the method includes: the chip receives the high-speed serial input data sent by the testing machine through the high-speed serial test interface, and converts the high-speed serial input data into multi-channel input data; the rate of the high-speed serial input data is greater than or equal to 1.25Gbps;
  • the multi-channel input data is normalized into single-channel input data, and the single-channel input data is used to test the circuit to be tested in the chip;
  • the chip converts the single-channel output data received from the circuit to be tested into multi-channel output data, and the single-channel The output data corresponds to the single-channel input data;
  • the chip converts the multi-channel output data into high-speed serial output data through the high-speed serial test interface, and sends the high-speed serial output data to the test machine.
  • the multi-channel input data is transmitted on M channels, and M is an integer greater than 1;
  • the chip normalizes the multi-channel input data into a single-channel input data including: the chip pair is in the 1-fold frequency clock domain
  • the transmitted multi-channel input data is subjected to bit width conversion to obtain the single-channel input data transmitted under the M multiplied clock domain;
  • the chip converts the single-channel output data received from the circuit to be tested into multi-channel output data, including: the chip pair in M
  • the single-channel output data received in the multiplied clock domain is subjected to bit width conversion to obtain the multi-channel output data transmitted under the 1-multiplied clock; among them, the bit width occupied by the single-channel input data and the bit width occupied by the single-channel output data fixed.
  • the chip normalizes the multi-channel input data into single-channel input data including: the chip buffers the multi-channel input data received from the high-speed serial test interface in the 1-fold frequency clock domain; the chip outputs the single-channel input data according to the channel The bit width reads the multi-channel input data from the first buffer to obtain the single-channel input data, and outputs the single-channel input data in the M multiplied clock domain;
  • the chip converts the single-channel output data received from the circuit to be tested into multi-channel output data, including: the chip buffers the single-channel output data received under the M-multiplied clock domain; the chip outputs the multi-channel output data according to each channel
  • the bit width reads single-channel output data from the second buffer to obtain multi-channel output data, and outputs the multi-channel output data in a 1-fold frequency clock domain.
  • the method before the chip converts the single-channel output data received from the circuit to be tested into multi-channel output data, the method further includes: the chip decodes the single-channel input data to obtain decoded instructions and test data; the chip outputs the test data to the test bus in the chip after being cached by the multi-level storage unit, and transmits the test data to the circuit to be tested through the test bus; the chip performs the test returned from the circuit to be tested according to the decoded instructions
  • the results are cached by the multi-level storage unit, and the cached output test results are encoded to obtain single-channel output data.
  • the multi-level storage unit includes a first-level storage unit and a second-level storage unit; after the chip caches the test data through the multi-level storage unit and then outputs it to the test bus in the chip, it includes: controlling the first-level storage unit cache from The test data received by the decoder; control the first-level storage unit to send the test data stored in the first-level storage unit to the second-level storage unit when receiving the clock signal sent by the gate control circuit coupled with the first-level storage unit Data; control the test data received by the second-level storage single cache from the first-level storage unit.
  • the method before the chip normalizes the multi-channel input data into single-channel input data, the method further includes: the chip performs data frame header alignment on the input data of each channel in the multi-channel input data; Perform inter-channel data alignment on the multi-channel input data after frame header alignment.
  • the frame header alignment performed by the chip on the input data of each channel in the multi-channel input data includes: the chip controls the third buffer to cache the multi-channel input data received from an output port of the high-speed serial test interface One channel input data; the chip controls the frame header alignment circuit to read one channel input data from the third buffer, and sorts one channel input data according to the frame header and outputs it to the channel alignment circuit;
  • the chip performs inter-channel data alignment on the multi-channel input data after frame header alignment includes: the chip controls the fourth buffer to cache multiple channel input data sent from multiple channel alignment circuits; the chip controls the channel alignment circuit to read from the fourth buffer The input data of multiple channels is taken, and the input data of multiple channels is aligned between channels, and then output to the first transmission.
  • a communication device including at least one processor, at least one processor is coupled to a memory, and at least one processor is used to read and execute a program stored in the memory, so that the communication device performs the above-mentioned second aspect and Any one possible design of the method of the second aspect.
  • a computer-readable storage medium including computer instructions.
  • the computer instructions When the computer instructions are run on the electronic device, the electronic device is made to execute the method described in the above-mentioned second aspect and any possible design of the second aspect. .
  • FIG. 1 is a schematic diagram of a logic scale of a chip provided by an embodiment of the present application and a trend diagram of the I/O bandwidth available for Scan multiplexing;
  • FIG. 2 is a schematic diagram of a chip test design architecture provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a chip test circuit provided in an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a chip test circuit provided in an embodiment of the present application.
  • FIG. 5 is a schematic flow chart of a method for testing a chip provided in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a chip test circuit when the multi-channel is four 32-bit wide channels provided by the embodiment of the present application;
  • Fig. 7 is a schematic structural diagram of a first transmission and a second transmission provided by the embodiment of the present application.
  • FIG. 8 is a schematic diagram of an implementation of a 1-multiplied clock domain and an M-multiplied clock domain provided in an embodiment of the present application;
  • FIG. 9 is a schematic diagram of using a PLL to generate a 1-fold frequency clock domain and a 4-fold frequency clock domain in a chip test circuit provided by an embodiment of the present application;
  • FIG. 10 is a schematic diagram of a state of an FSM provided by an embodiment of the present application.
  • Fig. 11 is a schematic diagram of inputting test data to the first flow pipeline provided by the embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a chip test circuit provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a frame header alignment circuit and a channel alignment circuit provided by an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • DFT Design for testability
  • Scan test one of the important methods of digital integrated circuit testing, which can effectively screen out bad chips and improve product quality.
  • SerDes including high-speed serial-to-parallel conversion circuits, clock data recovery circuits, data codec circuits, clock correction and channel bonding circuits, etc., providing a physical layer basis for various high-speed serial data transmission protocols.
  • the TX transmitter and RX receiver of SerDes have independent functions, and both are composed of two sublayers: physical media attachment (PMA) and physical coding sublayer (PCS).
  • PMA physical media attachment
  • PCS physical coding sublayer
  • Automated tester In the semiconductor industry, it means integrated circuit (integrated circuit, IC) automatic tester, which is used to detect the integrity of integrated circuit functions, and is the final process of integrated circuit manufacturing to ensure The quality of integrated circuit manufacturing.
  • integrated circuit integrated circuit
  • High Speed Serial Test Interface It can be understood as a high-speed serial test tool, which is used to load test data inside the chip.
  • Finite state machine It is composed of state registers and combinational logic circuits. It can perform state transitions according to the preset state according to the control signal. It is the control center for coordinating related signal actions and completing specific operations.
  • Windows command prompt which is a shell program used to run the Windows control panel program or a certain DOS program under Windows NT; or a shell program used to run the control panel program under Windows CE.
  • EOP End of packet
  • Figure 1 is a schematic diagram of the digital logic scale of the chip and the transmission bandwidth available for multiplexing of the Scan test vectors.
  • the horizontal axis represents the year, and the two vertical axes represent the digital logic scale and the transmission bandwidth of the Scan test vectors respectively.
  • the test protocol based on the international standard of Institute of Electrical and Electronics Engineers (IEEE) 1149.10 describes how to use the serial-to-parallel conversion function channel of SerDes to realize the high-speed transmission of Scan data, which can be used as a chip after parallel
  • the tested Scan I/O can solve the limitation of digital I/O transmission bandwidth.
  • a single lane SerDes I/O can be used as a basic functional channel for multiplexing to provide as much Scan test bandwidth as possible.
  • the 1149.10 standard does not specify and limit the specific architecture and design of specific user manufacturers. At the same time, this technology is directly related to the SerDes used by each manufacturer.
  • the Scan test of the chip needs to reuse I/O resources to complete the expansion of logic modules (or pattern graphics).
  • the number of I/O resources required is not proportional to the I/O bandwidth resources of the actual chip, and it is urgent to expand the reusable I/O bandwidth resources.
  • the present application proposes a chip test circuit for loading and transmitting test data, which can use a high-speed serial test interface, such as HSSTI, to convert the high-speed serial input data received from the test machine into input transmitted in multiple channels Data, through the first transmission, the multi-channel input data is normalized into single-channel input data for chip testing, and the single-channel output data obtained after the test is converted into multiple-channel output data through the second transmission.
  • the high-speed serial test interface converts the output data of multiple channels into high-speed serial output data and feeds it back to the test machine.
  • the transmission of high-speed serial input data and converted multi-channel input data can greatly increase the transmission rate of test data.
  • the application utilizes the high-speed serial test interface to receive high-speed serial input data and output multi-channel input data, even if the logic resources to be tested in the chip continue to increase, the I/O resources for test data transmission only take up There are fewer I/O pins on the chip (pins for high-speed serial input data, pins for high-speed serial output data, pins for multi-channel input data and pins for multi-channel output data).
  • an uplink and downlink transmission can realize the normalized integration of multi-channel input data bit width, which can increase the routing frequency of the test bus (Bus).
  • the high-speed serial input data in this application can be understood as the serial input data whose rate is greater than or equal to 1.25 Gbps.
  • the chip test design framework of the present application can be applied to the docking scene between an automated tester equipment (ATE) and a device under test (DUT).
  • ATE automated tester equipment
  • DUT device under test
  • the DUT here can be, for example, a chip.
  • ATE can realize, for example, a single-channel high-speed code stream of 5-10Gbps, and when matching the design architecture provided by this application, it can realize test data transmission with a very large bandwidth, meet the test I/O requirements of ultra-large-scale chips, and can approximate Multiplexing resources for 100-400 ordinary low-speed 100Mhz digital I/Os.
  • the chip test circuit provided by the present application may include a high-speed serial test interface, a first transmission and a second transmission.
  • the high-speed serial test interface and the test machine are interconnected based on capacitive coupling, and the data transmitted by the test machine is received in a differential transmission mode. This coupling mode and data transmission mode are to match the high-speed serial test interface to receive high-speed serial input data from the test machine.
  • the output terminal a of the test machine is coupled to the input terminal b of the high-speed serial test interface, and multiple RX ports of the high-speed serial test interface are coupled to multiple input terminals (c, d, ...) of the first transmission, and the second
  • the output terminal e of a transmission is coupled with the test bus;
  • the input terminal f of the second transmission is coupled with the test bus, and
  • multiple output terminals (g, h, ...) of the second transmission are coupled with multiple TX terminals of the high-speed serial test interface ,
  • the output end i of the high-speed serial test interface is coupled with the input end j of the test machine.
  • the high-speed serial test interface can be used to receive the high-speed serial input data sent by the test machine, convert the high-speed serial input data into multi-channel input data, and send the multi-channel input data to the first transmission; for example, the high-speed serial data
  • the input data is 5Gbps
  • the high-speed serial test interface receives 5GGbps serial input data through a single channel (b port), and after converting the serial input data into multi-channel input data, passes through multiple RX ports of the high-speed serial test interface
  • the multi-channel input data will be output.
  • the multi-channel input data here includes test data to be tested on the circuit to be tested of the chip.
  • the first transmission is used to normalize multi-channel input data into single-channel input data
  • the single-channel input data is used to test the circuit to be tested, and the circuit to be tested is coupled with the chip test circuit.
  • the normalization here can be realized by, for example, bit width conversion. For example, 4 channels, each of which transmits 32-bit multi-channel input data, undergoes bit width conversion to obtain single-channel 32-bit input data.
  • the transmission frequency of single-channel 32-bit input data is the frequency of each of the 4 channels. 4 times the transmission frequency.
  • the second transmission is used to receive single-channel output data from the circuit to be tested, convert the single-channel output data into multi-channel output data, and send the multi-channel output data to the high-speed serial test interface; wherein, the single-channel output data and the single-channel Input data corresponding.
  • single-channel output data can be input to the second transmission at a frequency multiplied by 4, and when the second transmission converts the bit width of the single-channel output data to obtain 4-channel output data, it outputs 4-channel output data at a frequency of 1 multiplication .
  • the high-speed serial test interface is also used to convert multi-channel output data into high-speed serial output data, and send the serial output data to the test machine.
  • the 4-channel output data can be received from the second transmission through multiple TX ports of the high-speed serial test interface, and the high-speed serial test interface converts the 4-channel output data into high-speed serial output data and outputs it to the test machine.
  • the receiving rate of test data can be improved; the high-speed serial test interface receives from the second transmission In the case of channel output data and conversion to high-speed serial output data, the feedback rate of test results can be provided. Moreover, less I/O resources of the high-speed serial test interface can be used to transmit test data. Moreover, through the bit width conversion and frequency conversion of the input data and output data of the uplink and downlink transmissions, the routing frequency of the test data on the test bus can be increased.
  • the present application provides a chip test circuit as shown in FIG. 4 .
  • the chip test circuit also includes a decoder, an encoder, an FSM, a first stream pipeline and a second stream pipeline.
  • the first flow conduit and the second flow conduit include multi-level storage units.
  • the first-stream pipeline and the second-stream pipeline here can be understood as streaming pipes.
  • the output terminal e of the first transmission is coupled to the input terminal k of the decoder, and the output terminal l of the decoder is coupled to the input terminal m of the first flow pipeline; the output terminal n of the first flow pipeline is coupled to the test bus of the test circuit;
  • the input terminal f of the second transmission is coupled to the output terminal o of the encoder, the input terminal p of the encoder is coupled to the output terminal q of the second flow pipeline, and the input terminal r of the second flow pipeline is coupled to the test bus;
  • the FSMs are each coupled to a third end s of the decoder, a third end t of the encoder, a third end u of the first stream pipe and a third end v of the second stream pipe.
  • the decoder can be used to decode the single-channel input data, send the decoded test data to the first stream pipeline, and send the decoded instructions to the FSM;
  • an FSM for determining an operating state of the encoder, the first stream pipeline, and the second stream pipeline based on the decoded instructions
  • the first-stream pipeline is used to transmit the test data to the test bus according to the operating state of the first-stream pipeline determined by the FSM;
  • the second stream pipeline is used to receive the test result returned by the test bus according to the operating state of the second stream pipeline determined by the FSM, and send the test result to the encoder;
  • the encoder is used to encode the test result according to the operating state of the encoder determined by the FSM to obtain single-channel output data, and send the single-channel output data to the second transmission.
  • the present application provides a method for testing a chip, as shown in Figure 5, the method includes:
  • the chip receives the high-speed serial input data sent by the testing machine through the high-speed serial test interface, and converts the high-speed serial input data into multi-channel input data.
  • the serial input data can be understood as the code elements that make up the data and characters are transmitted bit by bit in time sequence.
  • High-speed serial input data for example, can be understood as serial input data with a transmission rate higher than 100 Mhz and a transmission bandwidth of 5-10 Gbps on a single channel.
  • Multi-channel input data can be understood as data transmitted on multiple channels, for example, a data packet transmitted on a single channel is divided into 4 parts, and input data is transmitted on 4 channels.
  • HSSTI can receive the high-speed serial input data sent by ATE, and convert the high-speed serial input data into four channels transmission to get 4-channel input data.
  • the transmission rate of high-speed serial input data is 5Gbps, and the bit width is 128 bits.
  • the 128-bit wide high-speed serial input data is switched to 4 copies and input to the first transmission in 4 channels, and the bit width of each channel is 32 bits. .
  • the chip normalizes the multi-channel input data into single-channel input data, and the single-channel input data is used to test the circuit to be tested in the chip.
  • multi-channel input data is transmitted on M channels, where M is an integer greater than 1.
  • the first transmission can be used to receive multi-channel input data in the 1-multiple frequency clock domain, perform bit width conversion on the multi-channel input data to obtain single-channel input data; and output single-channel input data in the M-multiple frequency clock domain.
  • the bit width occupied by single-channel input data is fixed.
  • the bit width of each of the M channels output by the HSSTI is usually related to the service mode, for example, it may be 16 bits, 32 bits or 40 bits.
  • the bit width shown in FIG. 6 is 32 bits.
  • the first transmission includes a first buffer and a first bit width conversion circuit
  • the first buffer is used to buffer the multi-channel input data received from the high-speed serial test interface in the 1-fold clock domain;
  • the first bit width conversion circuit is used to output the channel bit width of the single-channel input data from the first
  • the buffer reads the multi-channel input data, obtains the single-channel input data, and outputs the single-channel input data in the M multiplied clock domain;
  • the input data of the four 32-bit wide channels may be buffered in the first buffer first, and then The first bit-width conversion circuit can read input data with a 32-bit width from the first buffer, and output single-channel 32-bit-wide input data in an M-times clock domain, thereby realizing multi-channel data normalization processing.
  • the first transmission can be in the clock domain divided by 4 (CLK frequency division 4) Receive input data of four 32-bit wide channels through the first clock pin (rxoclk), and output single-channel 32-bit wide input data through the second clock pin (rxauxclk) in the clock domain divided by 1.
  • the first transmission receives input data of four 32-bit wide channels through rxoclk in the 1-fold clock domain, and outputs normalized single-channel 32-bit wide input data through rxauxclk in the 4-fold clock domain.
  • the implementation of the second transmission is similar to that of the first transmission.
  • the second transmission receives single-channel 32-bit wide output data through rxauxclk in the 4-fold clock domain, and outputs four 32-bit wide channels through rxoclk in the 1-fold clock domain.
  • Output Data may also be set in the ATE to ensure that the clock domains at both sides of the first transmission are of the same source.
  • the bit width of the single-channel input data output by the first transmission is fixed, which is the same as the bit width of the single-channel output data input to the second transmission, that is, the bit width of the single-channel output data input to the second transmission Also fixed.
  • the normalized bit width of the first transmission is defined as 32 bits by default, and the bit width input to the second transmission is also 32 bits by default. That is to say, when the bit width of each channel in the multi-channel input data input to the first transmission is any bit width such as 16 or 32 or 40, the multi-channel input data is normalized into a 32-bit fixed frame format Continue processing. This processing of data packets per frame based on a fixed frame format can form a simple and efficient transmission method.
  • the bit width of each channel in the multi-channel input data of HSSTI is generally related to the business mode.
  • the chip decodes the single-channel input data to obtain decoded instructions and test data.
  • the decoder can decode the single-channel input data to identify the frame of the input data stream Header, frame trailer, instruction and content, etc.
  • a single-channel input data can be understood as a frame of data.
  • the FSM may determine the operating states of the encoder, the first stream pipeline, and the second stream pipeline according to the decoded instruction, that is, execute step 504 .
  • the content here can be understood as test data, such as Scan test data.
  • the chip determines the operating states of the encoder, the first stream pipeline, and the second stream pipeline according to the decoded instruction.
  • the decoder sends the decoded instruction to the FSM, and the FSM can customize the corresponding state machine sequence of the encoder, the first stream pipeline, and the second stream pipeline according to the decoded command. For example, the sequence in which the encoder enters the encoding state, the sequence in which the first stream pipeline caches the test data in the multi-level storage unit, and the sequence in which the second stream pipeline caches the fed back test data in the multi-level storage unit.
  • bit width of the single-channel input data output by the first transmission is fixed, and the bit width of the single-channel output data input to the second transmission is also fixed, so FSM can be understood as an FSM based on a fixed bit width as one state, Each data frame can be defined as a state.
  • the format of the frame header can be: 8 bits of frame header + 8 bits of CMD + 16 bits of Payload (content), and the unified name is "CMD";
  • CRC Cyclic Redundancy Check
  • the format of the frame end occupies 32 bits, and the unified command is "EOP".
  • the decoder When the decoder recognizes the frame header and frame tail according to the definition requirements, and the single-channel input data between the frame header and the frame tail is a complete frame of data.
  • the type of CMD may include common CMD, CHCMD (Chselect CMD, channel selection CMD) and test CMD (ScanCMD).
  • CHCMD Choselect CMD, channel selection CMD
  • ScanCMD test CMD
  • Figure 10 is a schematic diagram of the state of the FSM.
  • the FSM can jump to the CMD state, that is, enter the state of configuring the test circuit.
  • the state of the FSM is idle state (idle)-CMD-CRC-EOP.
  • the configuration process can be understood as processing such as resetting the test circuit. That is, the test circuit must be unlocked first, and the circuit configuration is performed, such as selecting some variables in the decoder, performing the configuration of the number of storage units of the first stream pipeline and the second stream pipeline, and configuring the test bus, bit width and rate, etc. ;
  • the FSM can jump to the state of CHCMD, that is, enter the operation state of channel selection, so as to determine the test bus for transmitting test data.
  • the state of the FSM in this process may be idle-CHCMD-CH content-CRC-EOP.
  • the test bus includes buses with a bit width of 32, 64, and 128 bits.
  • the FSM When the FSM receives the decoded instruction and the test CMD in the content, the FSM can jump to the test CMD state, that is, enter the test data transmission state, so as to transmit the test data on the test bus.
  • the state of the FSM in this process may be idle-test CDM-test content-CRC-EOP.
  • the FSM recognizes a test CDM, it can instruct the decoder and first stream pipe to transmit test data to the bus.
  • the chip outputs the test data to the test bus in the chip after being buffered by the multi-level storage unit, and transmits the test data to the circuit to be tested through the test bus.
  • the first stream pipeline may perform multi-level buffering on the test data through the multi-level storage unit and then output it to the test bus.
  • the test circuit further includes a gating circuit coupled to each level of storage units in the multi-level storage unit; the first stream pipeline includes a first level storage unit and a second level storage unit;
  • the first level storage unit is used for buffering the test data received from the decoder
  • the first-level storage unit is further configured to send the test data stored in the first-level storage unit to the second-level storage unit when receiving the clock signal sent by the gate control circuit coupled with the first-level storage unit;
  • the second-level storage unit is used for buffering the test data received from the first-level storage unit.
  • FIG. 11 shows a schematic diagram of inputting test data to the first-stream pipeline.
  • the test data is input to the first-stream pipeline.
  • the first stream pipeline is a 3-level storage unit: a 1-level storage unit, a 2-level storage unit, and a 3-level storage unit, and each level of storage unit includes a plurality of storage units (the storage unit can be a register, for example, and FIG. 11 shows 32 register).
  • Each storage unit is coupled with a gate control circuit for beating test data.
  • gate control circuit A when gate control circuit A receives write enable (write_enable) signal 1, gate control circuit A can send clock signal (WCLK) 1 to level 1 storage unit, and level 1 sends the test data in the storage unit to level 2; After a period of time, when gate control circuit B receives write enable signal 2, gate control circuit B can send clock signal 2 to level 2, and level 2 sends the test data in the storage unit to level 3; after a period of time, gate When the control circuit C receives the write enable signal 3, the gate control circuit C can send the clock signal 3 to the third stage, and the third stage sends the test data in the storage unit to the test bus.
  • the write enable signal can be triggered by a counter generator in the FSM.
  • the clock signals of the gate control circuit, the decoder and the FSM can be from the same source, that is, they all come from the same main clock (main clock).
  • the first stream pipe may transmit test data to the test bus according to the operating state of the first stream pipe determined by the FSM (received multiple enable signals).
  • the chip caches the test result returned from the circuit to be tested through the multi-level storage unit, and encodes the cached output test result to obtain single-channel output data.
  • the internal structure of the second flow pipeline is similar to that of the first flow pipeline shown in Figure 11, that is, the test result
  • the second stream pipeline receives the test result returned through the test bus according to the operating state of the second stream pipeline determined by the FSM, and returns the test result to the encoder through the multi-level storage unit in the second stream pipeline .
  • the encoder then encodes the test results to obtain single-channel output data.
  • the operating states of the encoder, the first stream pipeline and the second stream pipeline determined by the FSM should coincide with the timing of data processing by the encoder, the first stream pipeline and the second stream pipeline, so as to realize the state and data Seamlessly.
  • the seamless connection between the state and data can be realized by FSM determining the number of storage units that cache data in the first stream pipeline and the second stream pipeline, that is, the number of storage units through the streaming pipe accomplish. That is to say, the number of stages of the storage units of the first stream pipeline and the second stream pipeline is consistent: the FSM triggers the encoder to enter the state of encoding the single-channel response data, which is consistent with the moment when the single-channel response data is returned to the encoder.
  • the number of stages of storage units in the first stream pipeline and the number of stages of storage units in the second stream pipeline can be used to determine the waiting time for the encoder to start encoding the test results. That is, after the test data is sent out, after the number of storage units in the first stream pipeline and the number of storage units in the second stream pipeline, when the test result reaches the encoder for compilation, at this time, the FSM just triggers the encoder to enter the encoding state , which matches the timing when the test results are returned to the encoder, enabling pipelined test data transmission without delay.
  • This implementation method does not require any FIFO to cache test data and test results, and realizes the complete pipeline processing of test data input and test result output through fixed frame FSM, which is less difficult and expensive to implement, and is more friendly to physical implementation and timing.
  • the chip converts the single-channel output data received from the circuit to be tested into multi-channel output data, and the single-channel output data corresponds to the single-channel input data.
  • the encoder can send the obtained single-channel output data to the second transmission, and the second transmission is used to receive the single-channel output data in the M multiplied clock domain, perform bit width conversion on the single-channel output data, and obtain multi-channel output data ; Output multi-channel output data at 1 multiplier clock.
  • the second transmission includes a second buffer and a second bit width conversion circuit
  • the second buffer is used to buffer the single-channel output data received under the M-multiplied clock domain; the second bit width conversion circuit is used to transfer from the second buffer according to the bit width of each channel of output multi-channel output data Read single-channel output data, obtain multi-channel output data, and output multi-channel output data in the 1-fold frequency clock domain.
  • the implementation of the second transmission is similar to that of the first transmission.
  • the multi-channel output data is four 32-bit wide output data
  • the single-channel 32-bit wide output data is received under the domain, and after buffering in the second buffer of the second transmission, the single-channel 32-bit wide output data is converted into output data of four 32-bit wide channels by the second bit-width conversion circuit , output the output data of four 32-bit wide channels to a high-speed serial test interface in a 1-fold clock domain, for example, to multiple TX ports of HSSTI.
  • the chip converts the multi-channel output data into high-speed serial output data through the high-speed serial test interface, and sends the serial output data to the test machine.
  • the 4-channel output data can be converted into high-speed serial output data, and the high-speed serial output data can be sent to the test machine through a single channel, so that The test machine can determine whether the circuit to be tested of the chip is normal through the received high-speed serial output data.
  • the receiving rate of test data can be improved; the high-speed serial test interface receives from the second transmission In the case of channel output data and conversion to high-speed serial output data, the feedback rate of test results can be provided, and overall, the chip test efficiency is improved. Moreover, less I/O resources of the high-speed serial test interface can be used to transmit test data. Moreover, through the bit width conversion and frequency conversion of the input data and output data of the uplink and downlink transmissions, the routing frequency of the test data on the test bus can be increased.
  • this application can normalize the bit width based on the first transmission and the second transmission, and complete the chip test based on the normalized fixed bit width fixed frame state machine, encoder, decoder and streaming pipe, HSSTI peripheral
  • the encoding and decoding circuit structure of the chip is simple, and no cache structure such as FIFO is required, which reduces the chip footprint.
  • This chip test circuit comprises outside the circuit structure in Fig. 4, as shown in Fig. 12, also comprises a plurality of frame header alignment (framer) device, pass to alignment (Bonding) device, descrambler, scrambler, multiplexer Distributor (demultiplexer, DEMUX) and combiner (MUX).
  • framer frame header alignment
  • Onding pass to alignment
  • descrambler descrambler
  • scrambler multiplexer Distributor
  • MUX multiplexer Distributor
  • MUX combiner
  • multi-channel input data is shown by taking four 32-bit channel input data as an example.
  • the example of high-speed serial test interface is HSSTI, and the example of test machine is ATE.
  • a plurality of input ends (s, t, ...) of a plurality of frame header aligners are coupled with a plurality of output ports of a high-speed serial test interface, and a plurality of output ends of a plurality of frame header aligners are coupled with a plurality of output ports of a channel alignment circuit Input terminals (v, w, ...) are coupled. That is, the input end of each frame header aligner is coupled to an output port of the high-speed serial test interface, and the output end of each frame header aligner is coupled to an input end of the channel aligner. Multiple outputs of the channel aligner are coupled to multiple inputs (c, d, . . . ) of the first transmission.
  • the input end of the descrambler is coupled with the output end e of the first transmission, the output end x of the descrambler is coupled with the input end k of the decoder; the output end n of the first stream pipeline is coupled with the input end y of the demultiplexer, The output end of the demultiplexer is coupled with the test bus; the input end of the combiner is coupled with the test bus, and the output end of the combiner is coupled with the input end r of the second stream pipeline; the input end of the scrambler is coupled with the encoder
  • the output terminal o is coupled, and the output terminal A of the scrambler is coupled to the input terminal f of the second transmission.
  • each frame header aligner is used to input data from one channel of the multi-channel input data from one output port of the high-speed serial test interface, and perform data framing on the input data of this one channel After the header is aligned, it is output to the channel aligner.
  • the frame header aligner corresponding to each channel may include a third buffer and a frame header alignment circuit, and the third buffer may be used to output RX from a high-speed serial test interface.
  • the input data of one channel in the received multi-channel input data is buffered, and the frame header alignment circuit can read the multiple input data transmitted by the channel from the third buffer, and perform multiple input data according to the sequence of the frame header output after sorting.
  • the channel aligner is configured to perform inter-channel data alignment on the multi-channel input data received from multiple frame header alignment circuits, and then output the data to the first transmission.
  • the channel aligner may include a fourth buffer and a channel alignment circuit.
  • the fourth buffer may be used to buffer the received input data sent by multiple channel alignment circuits.
  • the channel alignment The circuit can read input data corresponding to multiple channel alignment circuits from the fourth buffer, and perform channel alignment on multiple input data according to multiple copies of the same data packet, so that the multiple data transmission rates of the same data packet Consistent, the first derailleur can be reached at the same time.
  • the input data packets may be out of order, so the framer can receive the four 32-bit wide channels received from HSSTI
  • the input data is frame-head aligned, so that the input data of each of the 4 channels is sent to the channel aligner in the sequence after the frame header is aligned.
  • the data alignment between channels by the channel aligner can be understood as, due to the possible inconsistency in the transmission speed of each channel, when a data packet is divided into 4 parts and transmitted on 4 channels, each part of data is transmitted on a different channel may not reach the first transmission at the same time, therefore, the channel aligner can transmit the small data packets of the same data packet to the first transmission at the same time when transmitted on different channels.
  • the descrambler is used to descramble the single-channel input data, that is, the input data sent by the ATE is scrambled. Similarly, when the single-channel output data is to be output, the single-channel output data also needs to be scrambled by a scrambler.
  • a demultiplexer can be understood as a combinational logic circuit that transfers a single-channel input data to a designated output.
  • the demultiplexer transmits single-channel input data to a 32-bit wide test bus port for output to the circuit under test, or to a 64-bit wide test bus port for output to the circuit under test, or to a 128-bit wide test bus The port outputs to the circuit to be tested, etc.
  • the combiner can be understood as feeding back the test results transmitted from the test bus ports with different bit widths to the second stream pipeline through the combiner.
  • the scrambler is used to scramble the single-channel output data and then output it to the second transmission.
  • the first transmission when the first transmission receives the multi-channel input data sent by the framer, the first transmission can send a read start trigger signal (trigger the read operation) to the second transmission to instruct the second transmission to start working.
  • the HSSTI, frame header aligner, first transmission, and second transmission in Figure 12 form a closed-loop system, which is similar to the remote parallel loopback mode of SerDes and becomes a Deterministic system.
  • the remote parallel loopback mode of the SerDes can be understood as a path through which the parallel data converted by the SerDes is directly looped back to the TX port of the SerDes without unpacking.
  • the Deterministic system can be understood as a deterministic system, which is used to delay the input data sent by the RX of the SerDes through the deterministic whole deterministic system, and the deterministic expected data can be observed on the TX side of the SerDes.
  • RX and TX form a relatively stable phase relationship
  • the first upstream transmission (write side) and the second downstream transmission (reading side) form an internal self-driven synchronous response mode, which maintains the accuracy of the chip test circuit. knowledge and uniqueness.
  • the Deterministic system is conducive to docking with the waveform generation language (waveform generation language, WGL/Standard for extensions to Standard Test Interface Language, STIL) format vector of the traditional test machine to complete the corresponding chip test.
  • waveform generation language waveform generation language, WGL/Standard for extensions to Standard Test Interface Language, STIL
  • STIL Standard Test Interface Language
  • the embodiment of the present application also provides a chip 14, which can be any chip to be tested.
  • the chip 14 may include a chip test circuit, a circuit to be tested, a test bus, and the like.
  • the chip test circuit is coupled with the test machine.
  • the chip testing circuit and internal structure of the chip may be any circuit structure as shown in FIGS. 3 to 13 of the present application.
  • the circuit to be tested can be a logic module in the chip.
  • the test bus is used to receive test data from the chip test circuit. The test data is processed by the circuit to be tested and fed back to the test result. The test result is returned to the chip test circuit through the test bus.
  • test machine in this application can also be a system level test (System Level Test, SLT) or even other test machines or lead-in boards.
  • SLT System Level Test
  • the chip provided by the application includes the above-mentioned test circuit, can multiplex the I/O resources of RX and TX in a small part of the high-speed serial test interface as a test data loading channel, transmit high-speed serial input data, and perform serial After conversion, it is sent to the first transmission, and the feedback test results are multi-channel output to the high-speed serial test interface through the second transmission, which can solve the limitation of the I/O transmission bandwidth used for chip testing and avoid internal logic resources of the chip.
  • this application does not need to use FIFO to cache test data, but uses streaming pipe to cache test data. Compared with FIFO, the occupied chip area is smaller.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be Incorporation or may be integrated into another device, or some features may be omitted, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: various media that can store program codes such as U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk.

Abstract

A chip test circuit and method, which relate to the technical field of chips, and by means of which high-rate test data of a test machine can be received and converted into multi-channel input data by using a high-speed serial test interface, thereby eliminating the limitations on a test data transmission bandwidth of a single channel, and improving the chip test efficiency. The chip test circuit comprises: a high-speed serial test interface, which is used for receiving high-speed serial input data sent by a test machine, converting the high-speed serial input data into multi-channel input data, and sending the multi-channel input data to a first speed changer; the first speed changer, which is used for normalizing the multi-channel input data into single-channel input data so as to test a circuit to be tested; and a second speed changer, which is used for receiving single-channel output data from the circuit to be tested, converting the single-channel output data into multi-channel output data, and outputting the multi-channel output data to the high-speed serial test interface, wherein the high-speed serial test interface is further used for converting the multi-channel output data into high-speed serial output data, and sending same to the test machine.

Description

一种芯片测试电路和方法A chip testing circuit and method 技术领域technical field
本申请涉及芯片技术领域,尤其涉及一种芯片测试电路和方法。The present application relates to the field of chip technology, in particular to a chip testing circuit and method.
背景技术Background technique
基于芯片的大规模生产,芯片的逻辑测试需要大量复用数字输入/输出(input/output,I/O)资源生成芯片测试所需的测试向量(Test Vector)。随着摩尔定律发展,逻辑模式的逻辑模块增长趋势与芯片的I/O资源增长极不同步,即用于芯片测试的Scan测试技术中,虽然逻辑模块的规模增长,但是由于I/O资源的限制,逻辑模块的并行测试率降低,会导致Scan测试串行化,且同一个I/O资源分配给更多的逻辑模块使用时,会导致I/O资源与Scan链(chain)的压缩比上升,使得Scan测试效率降低。Based on the large-scale production of chips, the logic test of chips requires a large number of multiplexed digital input/output (input/output, I/O) resources to generate test vectors (Test Vector) required for chip testing. With the development of Moore's Law, the growth trend of logic modules in logic mode is very out of sync with the growth of chip I/O resources. Limitation, the parallel test rate of the logic module is reduced, which will lead to the serialization of the Scan test, and when the same I/O resource is allocated to more logic modules, it will lead to the compression ratio of the I/O resource and the Scan chain (chain) Rising, making the Scan test efficiency decrease.
为了提升Scan的测试效率,如何获取到Scan可复用的I/O资源,成为了当前的瓶颈问题。过去,针对SerDes I/O资源在Scan测试时是直接复用为低速(25~100Mhz)的数字I/O资源实现的,而复用为低速的数字I/O资源能提升的测试数据的传输带宽非常有限,并不能持续获得更大的Scan测试数据传输带宽,不能满足芯片的实际量产需求,Scan测试效率较低。目前的国际标准测试协议中,描述了如何使用串行和解串行器(Serializer and DeSerializar,SerDes)的串并转换功能实现Scan数据的高速传输,并行后充当芯片测试的Scan I/O,可以解决I/O传输带宽的限制问题。Scan I/O是其一种典型形态,芯片的测试加载也需要考虑到其他大带宽测试数据流。In order to improve the test efficiency of Scan, how to obtain the reusable I/O resources of Scan has become the current bottleneck problem. In the past, SerDes I/O resources were directly multiplexed as low-speed (25-100Mhz) digital I/O resources during the Scan test, and multiplexing low-speed digital I/O resources can improve the transmission of test data The bandwidth is very limited, and it cannot continue to obtain a larger Scan test data transmission bandwidth, which cannot meet the actual mass production requirements of the chip, and the Scan test efficiency is low. The current international standard test protocol describes how to use the serial-to-parallel conversion function of the serializer and deserializer (SerDes) to realize the high-speed transmission of Scan data. The limitation of I/O transmission bandwidth. Scan I/O is a typical form, and the test loading of the chip also needs to take into account other large-bandwidth test data streams.
发明内容Contents of the invention
本申请实施例提供一种芯片测试电路和方法,立足于利用串行和解串行器提供大带宽的测试数据流或测试总线,不约束该总线的后续测试用途,能够利用高速串行测试接口接收测试机台的高速率测试数据并转换为多通道输入数据,解放单个通道的测试数据传输带宽限制,提升芯片测试效率。The embodiment of the present application provides a chip test circuit and method, based on the use of serial and deserializers to provide large-bandwidth test data streams or test buses, without restricting the subsequent test purposes of the bus, and being able to use high-speed serial test interfaces to receive The high-speed test data of the test machine is converted into multi-channel input data, which liberates the test data transmission bandwidth limitation of a single channel and improves the chip test efficiency.
为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
第一方面,提供一种芯片测试电路,该芯片测试电路包括高速串行测试接口、第一变速器和第二变速器,高速串行测试接口与测试机台基于电容耦合方式互连,且采用差分传输方式接收测试机台传输的数据;高速串行测试接口,用于接收测试机台发送的高速串行输入数据,将高速串行输入数据转换为多通道输入数据,向第一变速器发送多通道输入数据;高速串行输入数据的速率大于或等于1.25Gbps;第一变速器,用于将多通道输入数据归一为单通道输入数据,单通道输入数据用于对待测试电路进行测试,待测试电路与芯片测试电路耦合;第二变速器,用于从待测试电路接收单通道输出数据,将单通道输出数据转换为多通道输出数据,并向高速串行测试接口发送多通道输出数据;其中,单通道输出数据与单通道输入数据对应;高速串行测试接口,还用于将多通道输出数据转换为高速串行输出数据,向测试机台发送高速串行输出数据。In the first aspect, a chip test circuit is provided, the chip test circuit includes a high-speed serial test interface, a first transmission and a second transmission, the high-speed serial test interface and the test machine are interconnected based on capacitive coupling, and adopt differential transmission The high-speed serial test interface is used to receive the high-speed serial input data sent by the test machine, convert the high-speed serial input data into multi-channel input data, and send the multi-channel input data to the first transmission Data; the rate of high-speed serial input data is greater than or equal to 1.25Gbps; the first transmission is used to normalize the multi-channel input data into single-channel input data, and the single-channel input data is used to test the circuit to be tested, and the circuit to be tested and The chip test circuit is coupled; the second transmission is used to receive single-channel output data from the circuit to be tested, convert the single-channel output data into multi-channel output data, and send the multi-channel output data to the high-speed serial test interface; wherein, the single-channel The output data corresponds to the single-channel input data; the high-speed serial test interface is also used to convert the multi-channel output data into high-speed serial output data, and send the high-speed serial output data to the test machine.
这样,在高速串行测试接口接收高速串行数据并转换为多通道输入数据的情况下,高速串行输入数据和转换后的多通道输入数据的传输可以大幅提升测试数据的传输速率。其次,本申请利用高速串行测试接口接收高速串行输入数据和输出多通道输入数据的情况下,即使芯片内要测试的逻辑资源不断增加,用于测试数据传输的I/O资源也只占用了芯片较少的I/O管脚(高速串行输入数据的管脚、高速串行输出数据的管脚、多通道的输入数据的管脚和多通道的输出数据的管脚)。而且,经过上下行的变速器(Gearbox,其输入端和输出端的位宽与频率会进行变化)可实现多通道输入数据的位宽归一整合,可提升测试总线(Bus)的走线频率。In this way, when the high-speed serial test interface receives high-speed serial data and converts it into multi-channel input data, the transmission of high-speed serial input data and converted multi-channel input data can greatly increase the transmission rate of test data. Secondly, when the application utilizes the high-speed serial test interface to receive high-speed serial input data and output multi-channel input data, even if the logic resources to be tested in the chip continue to increase, the I/O resources for test data transmission only take up There are fewer I/O pins on the chip (pins for high-speed serial input data, pins for high-speed serial output data, pins for multi-channel input data and pins for multi-channel output data). Moreover, through an uplink and downlink transmission (Gearbox, the bit width and frequency of its input and output terminals will change) can realize the normalized integration of multi-channel input data bit width, which can increase the routing frequency of the test bus (Bus).
在一种可能的设计中,多通道输入数据在M个通道上传输,M为大于1的整数;第一变速器,用于在1倍频时钟域下接收多通道输入数据,对多通道输入数据进行位宽转换,得到单通道输入数据;在M倍频时钟域下输出单通道输入数据;第二变速器,用于在M倍频时钟域下接收单通道输出数据,对单通道输出数据进行位宽转换,得到多通道输出数据;在1倍频时钟下输出多通道输出数据;其中,单通道输入数据占用的位宽和单通道输出数据占用的位宽固定。In a possible design, the multi-channel input data is transmitted on M channels, and M is an integer greater than 1; the first transmission is used to receive the multi-channel input data in the 1-fold frequency clock domain, and the multi-channel input data Perform bit width conversion to obtain single-channel input data; output single-channel input data in the M-multiplied clock domain; the second transmission is used to receive single-channel output data in the M-multiplied clock domain, and bit-bit the single-channel output data Wide conversion to obtain multi-channel output data; output multi-channel output data under 1 multiplied clock; wherein, the bit width occupied by single-channel input data and the bit width occupied by single-channel output data are fixed.
举例来说,多通道输入数据在4个通道上传输,第一变速器的输入端在1倍频时钟域下接收4通道输入数据,第一变速器的输出端在4倍频时钟域下输出单通道输入数据。这样,通过将多通道输入数据进行位宽整合归一,以4倍频输入数据,可提升测试数据在测试总线的走线频率。类似的,当第二变速器以4倍频接收单通道输出数据,也提升了单通道输出数据反馈给测试机台的速率,从而总体提升了芯片测试效率。For example, multi-channel input data is transmitted on 4 channels, the input terminal of the first transmission receives 4-channel input data in the 1-multiplied clock domain, and the output terminal of the first transmission outputs a single channel in the 4-multiplied clock domain Input data. In this way, by integrating and normalizing the bit width of multi-channel input data, and inputting data at a 4-fold frequency, the routing frequency of test data on the test bus can be increased. Similarly, when the second transmission receives the single-channel output data at a frequency multiplied by 4, the rate at which the single-channel output data is fed back to the test machine is also increased, thereby improving the chip testing efficiency as a whole.
在一种可能的设计中,第一变速器包括第一缓存器和第一位宽转换电路;第一缓存器,用于缓存在1倍频时钟域下从高速串行测试接口接收的多通道输入数据;第一位宽转换电路,用于按照输出单通道输入数据的通道位宽从第一缓存器读取多通道输入数据,得到单通道输入数据,并在M倍频时钟域下输出单通道输入数据;第二变速器包括第二缓存器和第二位宽转换电路;第二缓存器,用于缓存在M倍频时钟域下接收到的单通道输出数据;第二位宽转换电路,用于按照输出多通道输出数据的每个通道的位宽从第二缓存器读取单通道输出数据,得到多通道输出数据,并在1倍频时钟域下输出多通道输出数据。In a possible design, the first transmission includes a first buffer and a first bit width conversion circuit; the first buffer is used for buffering the multi-channel input received from the high-speed serial test interface under the 1-fold frequency clock domain Data; the first bit width conversion circuit is used to read the multi-channel input data from the first buffer according to the channel bit width of the output single-channel input data, obtain the single-channel input data, and output the single-channel in the M multiplied clock domain Input data; the second speed changer includes a second buffer and a second bit width conversion circuit; the second buffer is used to buffer the single-channel output data received under the M multiplied clock domain; the second bit width conversion circuit uses The method is to read the single-channel output data from the second buffer according to the bit width of each channel for outputting the multi-channel output data, obtain the multi-channel output data, and output the multi-channel output data in the 1-fold frequency clock domain.
这样一来,第一变速器可以通过将多通道输入数据进行缓存后由位宽转换部件进行位宽整合归一,在M倍频时钟域下输入归一后的单通道输入数据,可提升测试数据在测试总线的走线频率。类似的,当第二变速器以M倍频接收单通道输出数据,也提升了单通道输出数据反馈给测试机台的速率,从而总体提升了芯片测试效率。In this way, the first transmission can buffer the multi-channel input data and then perform bit width integration and normalization by the bit width conversion component, and input the normalized single-channel input data in the M multiplier clock domain, which can improve the test data Trace frequency on the test bus. Similarly, when the second transmission receives the single-channel output data at an M-multiplied frequency, the rate at which the single-channel output data is fed back to the testing machine is also increased, thereby improving chip testing efficiency as a whole.
在一种可能的设计中,测试电路还包括解码器、编码器、有限状态机FSM、第一流管道和第二流管道;第一流管道和第二流管道均包括多级存储单元;第一变速器的输出端与解码器的输入端耦合,解码器的输出端与第一流管道的输入端耦合;第一流管道的输出端与测试电路的测试总线耦合;第二变速器的输入端与编码器的输出端耦合,编码器的输入端与第二流管道的输出端耦合,第二流管道的输入端与测试总线耦合;FSM均与解码器、编码器、第一流管道和第二流管道耦合。In a possible design, the test circuit also includes a decoder, an encoder, a finite state machine FSM, a first flow pipeline and a second flow pipeline; both the first flow pipeline and the second flow pipeline include a multi-level storage unit; the first transmission The output end of the decoder is coupled to the input end of the decoder, and the output end of the decoder is coupled to the input end of the first stream pipeline; the output end of the first stream pipeline is coupled to the test bus of the test circuit; the input end of the second transmission is coupled to the output of the encoder The input end of the encoder is coupled to the output end of the second flow pipeline, and the input end of the second flow pipeline is coupled to the test bus; the FSM is coupled to the decoder, the encoder, the first flow pipeline and the second flow pipeline.
在一种可能的设计中,解码器,用于对单通道输入数据进行解码操作,将解码的测试数据发送给第一流管道,并将解码的指令发送给FSM;FSM,用于根据解码的指 令确定编码器、第一流管道和第二流管道的操作状态;第一流管道,用于根据FSM确定的第一流管道的操作状态将测试数据传输至测试总线;第二流管道,用于根据FSM确定的第二流管道的操作状态接收通过测试总线返回的测试结果,将测试结果发送给编码器;编码器,用于根据FSM确定的编码器的操作状态对测试结果进行编码,得到单通道输出数据,并向第二变速器发送单通道输出数据。In a possible design, the decoder is used to perform decoding operations on single-channel input data, send the decoded test data to the first-stream pipeline, and send the decoded instructions to the FSM; the FSM is used to Determining the operating state of the encoder, the first stream pipe, and the second stream pipe; the first stream pipe for transmitting test data to the test bus according to the operating state of the first stream pipe determined by the FSM; the second stream pipe for determining according to the FSM The operating state of the second stream pipeline receives the test result returned through the test bus, and sends the test result to the encoder; the encoder is used to encode the test result according to the operating state of the encoder determined by the FSM, to obtain single-channel output data , and send single-channel output data to the second transmission.
现有的芯片测试中,输入给芯片的测试数据不经过解码和编码流程,本申请通过解码器可以对接收到的输入数据进行解码得到测试数据,将测试数据通过第一流管道分级缓存后输出至测试总线。反馈的测试结果还可以经过第二流管道分级缓存后输出给编码器进行编码,得到单通道输出数据。其中,FSM根据解码得到的指令可以确定编码器、第一流管道和第二流管道的操作状态。这样一来,本申请提供了一种规范的芯片测试架构,可以适用于多种速率的测试数据的传输。In the existing chip test, the test data input to the chip does not go through the decoding and encoding process. This application can decode the received input data through the decoder to obtain the test data, and output the test data to the Test the bus. Feedback test results can also be output to the encoder for encoding after hierarchical buffering in the second stream pipeline to obtain single-channel output data. Wherein, the FSM can determine the operating states of the encoder, the first stream pipeline and the second stream pipeline according to the decoded instruction. In this way, the present application provides a standardized chip test framework, which is applicable to the transmission of test data at various rates.
示例性的,测试电路还包括与多级存储单元中的每级存储单元耦合的门控电路;第一流管道包括第一级存储单元和第二级存储单元;第一级存储单元,用于缓存从解码器接收到的测试数据;第一级存储单元,还用于在接收到与第一级存储单元耦合的门控电路发送的时钟信号时,向第二级存储单元发送第一级存储单元中存储的测试数据;第二级存储单元,用于缓存从第一级存储单元接收到的测试数据。由此,本申请提供的第一流管道和第二流管道对输入数据的分级缓存输出,可以避免现有技术中利用FIFO进行数据缓存带来的芯片开销增大的问题。Exemplarily, the test circuit further includes a gating circuit coupled to each level of storage units in the multi-level storage unit; the first stream pipeline includes a first level storage unit and a second level storage unit; the first level storage unit is used for caching The test data received from the decoder; the first-level storage unit is also used to send the first-level storage unit to the second-level storage unit when receiving the clock signal sent by the gating circuit coupled with the first-level storage unit The test data stored in the storage unit; the second-level storage unit is used to cache the test data received from the first-level storage unit. Therefore, the first stream pipeline and the second stream pipeline provided by the present application provide hierarchical cache output for input data, which can avoid the problem of increased chip overhead caused by using FIFO for data cache in the prior art.
在一种可能的设计中,测试电路还包括多个帧头对齐器和通道对齐器;每个帧头对齐器的输入端与高速串行测试接口的一个输出端口耦合,每个帧头对齐器的输出端与通道对齐电路的一个输入端耦合,通道对齐器的多个输出端与第一变速器的多个输入端口耦合;每个帧头对齐器,用于从高速串行测试接口的一个输出端口接收多通道输入数据中的一个通道输入数据,并对一个通道的输入数据进行数据的帧头对齐后输出给通道对齐器;通道对齐器,用于对从多个帧头对齐器接收到的多通道输入数据进行通道间数据对齐后输出给第一变速器。In a possible design, the test circuit also includes a plurality of frame header aligners and channel aligners; the input end of each frame header aligner is coupled with an output port of the high-speed serial test interface, and each frame header aligner The output terminal of the channel aligner is coupled with an input terminal of the channel alignment circuit, and a plurality of output terminals of the channel aligner are coupled with a plurality of input ports of the first transmission; each frame header aligner is used for outputting from an output of the high-speed serial test interface The port receives one channel input data in the multi-channel input data, and performs frame header alignment on the input data of one channel and outputs it to the channel aligner; the channel aligner is used to align the data received from multiple frame header aligners The multi-channel input data is output to the first transmission after data alignment between channels is performed.
这是由于高速串行测试接口输出的多通道输入数据输入到第一变速器时,输入的数据包可能发生乱序,因此,帧头对齐器可以将从高速串行测试接口接收到的多通道输入数据进行帧头对齐,以将多通道输入数据中每个通道的输入数据按照帧头对齐后的顺序发送至通道对齐器。This is because when the multi-channel input data output by the high-speed serial test interface is input to the first transmission, the input data packets may be out of sequence, therefore, the frame header aligner can receive the multi-channel input data from the high-speed serial test interface The data is frame header aligned, so that the input data of each channel in the multi-channel input data is sent to the channel aligner in the sequence after the frame header is aligned.
通道对齐器进行通道间数据对齐可以理解为,由于每个通道传输数据的速度可能存在不一致,一个数据包被切分为多份在多个通道上传输时,每份数据在不同的通道上传输时可能不能同时到达第一变速器,因此,通道对齐器可以将同一个数据包切分后的小数据包在不同通道上传输时同时达到第一变速器。The data alignment between channels by the channel aligner can be understood as, due to the possible inconsistency in the transmission speed of each channel, when a data packet is divided into multiple parts and transmitted on multiple channels, each part of data is transmitted on a different channel may not reach the first transmission at the same time, therefore, the channel aligner can transmit the small data packets of the same data packet to the first transmission at the same time when transmitted on different channels.
示例性的,每个帧头对齐器包括第三缓存器和帧头对齐电路;第三缓存器,用于缓存从高速串行测试接口的一个输出端口接收到的多通道输入数据中的一个通道输入数据;帧头对齐电路,用于从第三缓存器中读取一个通道输入数据,并对一个通道输入数据按照帧头进行排序后输出给通道对齐电路;Exemplarily, each frame header aligner includes a third buffer and a frame header alignment circuit; the third buffer is used for buffering one channel in the multi-channel input data received from an output port of the high-speed serial test interface Input data; frame header alignment circuit, used to read a channel input data from the third buffer, and sort the input data of a channel according to the frame header and then output to the channel alignment circuit;
通道对齐器包括第四缓存器和通道对齐电路;第四缓存器,用于缓存从多个通道对齐电路发送的多个通道输入数据;通道对齐电路,用于从第四缓存器读取多个通道 输入数据,对多个通道输入数据进行通道间对齐后输出给第一变速器。The channel aligner includes a fourth buffer and a channel alignment circuit; the fourth buffer is used to buffer multiple channel input data sent from multiple channel alignment circuits; the channel alignment circuit is used to read multiple channels from the fourth buffer. The channel input data is aligned between multiple channels and then output to the first transmission.
在一种可能的设计中,该测试电路还可以包括解扰器、扰码器、多路分配器和合路器。其中,解扰器用于对第一变速器输出的单通道输出数据进行解扰;扰码器用于对编码器输出的单通道输出数据进行加扰后发送给第二变速器;多路分配器,用于对从第一流管道接收到的单通道输入数据传输送到指定输出端的组合逻辑电路了;合路器,用于将从不同位宽的测试总线端口传输的测试结果均通过合路器反馈给第二流管道。In a possible design, the test circuit may further include a descrambler, a scrambler, a demultiplexer and a combiner. Among them, the descrambler is used to descramble the single-channel output data output by the first transmission; the scrambler is used to scramble the single-channel output data output by the encoder and then send it to the second transmission; the demultiplexer is used for The single-channel input data received from the first-stream pipeline is transmitted to the combinational logic circuit of the specified output; the combiner is used to feed back the test results transmitted from the test bus ports with different bit widths to the first through the combiner Secondary pipeline.
这样,通过扰码器和解扰器实现数据在芯片测试电路中的传输,只要扰码器的级数选择适当,则经扰码以后的码流则可以是充分随机的,从而改善信号在片外传输信道中的传输质量等。In this way, the transmission of data in the chip test circuit is realized through the scrambler and descrambler. As long as the number of stages of the scrambler is selected properly, the code stream after scrambling can be fully random, thereby improving the signal transmission outside the chip. Transmission quality in the transmission channel, etc.
而多路分配器可以理解为将单通道输入数据传输至32位宽的测试总线端口输出给待测试电路,或传输至64位宽的测试总线端口输出给待测试电路,或传输至128位宽的测试总线端口输出给待测试电路等。这种通过多路分配器而后合路器的实现方式可以满足测试数据在多种位宽的测试总线中传输,以实现对待测电路的测试。The demultiplexer can be understood as transmitting single-channel input data to a 32-bit wide test bus port for output to the circuit to be tested, or to a 64-bit wide test bus port for output to the circuit to be tested, or to a 128-bit wide The test bus port output to the circuit to be tested and so on. The implementation of the demultiplexer and then the combiner can satisfy the test data transmission in the test bus with various bit widths, so as to realize the test of the circuit to be tested.
第二方面,提供一种测试芯片的方法,芯片包括高速串行测试接口,高速串行测试接口与测试机台基于电容耦合方式互连,且采用差分传输方式接收测试机台传输的数据,该方法包括:芯片通过高速串行测试接口接收测试机台发送的高速串行输入数据,将高速串行输入数据转换为多通道输入数据;高速串行输入数据的速率大于或等于1.25Gbps;芯片将多通道输入数据归一为单通道输入数据,单通道输入数据用于对芯片内的待测试电路进行测试;芯片将从待测试电路接收到的单通道输出数据转换为多通道输出数据,单通道输出数据与单通道输入数据对应;芯片通过高速串行测试接口将多通道输出数据转换为高速串行输出数据,向测试机台发送高速串行输出数据。In the second aspect, a method for testing a chip is provided, the chip includes a high-speed serial test interface, the high-speed serial test interface and the test machine are interconnected based on capacitive coupling, and the data transmitted by the test machine is received by a differential transmission method. The method includes: the chip receives the high-speed serial input data sent by the testing machine through the high-speed serial test interface, and converts the high-speed serial input data into multi-channel input data; the rate of the high-speed serial input data is greater than or equal to 1.25Gbps; The multi-channel input data is normalized into single-channel input data, and the single-channel input data is used to test the circuit to be tested in the chip; the chip converts the single-channel output data received from the circuit to be tested into multi-channel output data, and the single-channel The output data corresponds to the single-channel input data; the chip converts the multi-channel output data into high-speed serial output data through the high-speed serial test interface, and sends the high-speed serial output data to the test machine.
第二方面的有益效果可以参见第一方面的说明,此处不再赘述。For the beneficial effects of the second aspect, reference may be made to the description of the first aspect, which will not be repeated here.
在一种可能的设计中,多通道输入数据在M个通道上传输,M为大于1的整数;芯片将多通道输入数据归一为单通道输入数据包括:芯片对在1倍频时钟域下传输的多通道输入数据进行位宽转换,得到M倍频时钟域下传输的单通道输入数据;芯片将从待测试电路接收到的单通道输出数据转换为多通道输出数据包括:芯片对在M倍频时钟域下接收到的单通道输出数据进行位宽转换,得到在1倍频时钟下传输的多通道输出数据;其中,单通道输入数据占用的位宽和单通道输出数据占用的位宽固定。In a possible design, the multi-channel input data is transmitted on M channels, and M is an integer greater than 1; the chip normalizes the multi-channel input data into a single-channel input data including: the chip pair is in the 1-fold frequency clock domain The transmitted multi-channel input data is subjected to bit width conversion to obtain the single-channel input data transmitted under the M multiplied clock domain; the chip converts the single-channel output data received from the circuit to be tested into multi-channel output data, including: the chip pair in M The single-channel output data received in the multiplied clock domain is subjected to bit width conversion to obtain the multi-channel output data transmitted under the 1-multiplied clock; among them, the bit width occupied by the single-channel input data and the bit width occupied by the single-channel output data fixed.
示例性的,芯片将多通道输入数据归一为单通道输入数据包括:芯片缓存在1倍频时钟域下从高速串行测试接口接收的多通道输入数据;芯片按照输出单通道输入数据的通道位宽从第一缓存器读取多通道输入数据,得到单通道输入数据,并在M倍频时钟域下输出单通道输入数据;Exemplarily, the chip normalizes the multi-channel input data into single-channel input data including: the chip buffers the multi-channel input data received from the high-speed serial test interface in the 1-fold frequency clock domain; the chip outputs the single-channel input data according to the channel The bit width reads the multi-channel input data from the first buffer to obtain the single-channel input data, and outputs the single-channel input data in the M multiplied clock domain;
芯片将从待测试电路接收到的单通道输出数据转换为多通道输出数据包括:芯片缓存在M倍频时钟域下接收到的单通道输出数据;芯片按照输出多通道输出数据的每个通道的位宽从第二缓存器读取单通道输出数据,得到多通道输出数据,并在1倍频时钟域下输出多通道输出数据。The chip converts the single-channel output data received from the circuit to be tested into multi-channel output data, including: the chip buffers the single-channel output data received under the M-multiplied clock domain; the chip outputs the multi-channel output data according to each channel The bit width reads single-channel output data from the second buffer to obtain multi-channel output data, and outputs the multi-channel output data in a 1-fold frequency clock domain.
在一种可能的设计中,在芯片将从待测试电路接收到的单通道输出数据转换为多通道输出数据之前,该方法还包括:芯片对单通道输入数据进行解码操作,以获取解 码的指令和测试数据;芯片将测试数据经过多级存储单元进行缓存后输出给芯片内的测试总线,通过测试总线将测试数据传输给待测试电路;芯片根据解码的指令,对从待测试电路返回的测试结果经过多级存储单元进行缓存,并对缓存后输出的测试结果进行编码,得到单通道输出数据。In a possible design, before the chip converts the single-channel output data received from the circuit to be tested into multi-channel output data, the method further includes: the chip decodes the single-channel input data to obtain decoded instructions and test data; the chip outputs the test data to the test bus in the chip after being cached by the multi-level storage unit, and transmits the test data to the circuit to be tested through the test bus; the chip performs the test returned from the circuit to be tested according to the decoded instructions The results are cached by the multi-level storage unit, and the cached output test results are encoded to obtain single-channel output data.
示例性的,多级存储单元包括第一级存储单元和第二级存储单元;芯片将测试数据经过多级存储单元进行缓存后输出给芯片内的测试总线包括:控制第一级存储单元缓存从解码器接收到的测试数据;控制第一级存储单元在接收到与第一级存储单元耦合的门控电路发送的时钟信号时,向第二级存储单元发送第一级存储单元中存储的测试数据;控制第二级存储单缓存从第一级存储单元接收到的测试数据。Exemplarily, the multi-level storage unit includes a first-level storage unit and a second-level storage unit; after the chip caches the test data through the multi-level storage unit and then outputs it to the test bus in the chip, it includes: controlling the first-level storage unit cache from The test data received by the decoder; control the first-level storage unit to send the test data stored in the first-level storage unit to the second-level storage unit when receiving the clock signal sent by the gate control circuit coupled with the first-level storage unit Data; control the test data received by the second-level storage single cache from the first-level storage unit.
在一种可能的设计中,在芯片将多通道输入数据归一为单通道输入数据之前,该方法还包括:芯片对多通道输入数据中每个通道的输入数据进行数据的帧头对齐;芯片对帧头对齐后的多通道输入数据进行通道间数据对齐。In a possible design, before the chip normalizes the multi-channel input data into single-channel input data, the method further includes: the chip performs data frame header alignment on the input data of each channel in the multi-channel input data; Perform inter-channel data alignment on the multi-channel input data after frame header alignment.
示例性的,芯片对多通道输入数据中每个通道的输入数据进行数据的帧头对齐包括:芯片控制第三缓存器缓存从高速串行测试接口的一个输出端口接收到的多通道输入数据中的一个通道输入数据;芯片控制帧头对齐电路从第三缓存器中读取一个通道输入数据,并对一个通道输入数据按照帧头进行排序后输出给通道对齐电路;Exemplarily, the frame header alignment performed by the chip on the input data of each channel in the multi-channel input data includes: the chip controls the third buffer to cache the multi-channel input data received from an output port of the high-speed serial test interface One channel input data; the chip controls the frame header alignment circuit to read one channel input data from the third buffer, and sorts one channel input data according to the frame header and outputs it to the channel alignment circuit;
芯片对帧头对齐后的多通道输入数据进行通道间数据对齐包括:芯片控制第四缓存器缓存从多个通道对齐电路发送的多个通道输入数据;芯片控制通道对齐电路从第四缓存器读取多个通道输入数据,对多个通道输入数据进行通道间对齐后输出给第一变速器。The chip performs inter-channel data alignment on the multi-channel input data after frame header alignment includes: the chip controls the fourth buffer to cache multiple channel input data sent from multiple channel alignment circuits; the chip controls the channel alignment circuit to read from the fourth buffer The input data of multiple channels is taken, and the input data of multiple channels is aligned between channels, and then output to the first transmission.
第三方面,提供一种通信装置,包括至少一个处理器,至少一个处理器与存储器耦合,至少一个处理器用于读取并执行存储器中存储的程序,以使得通信装置执行如上述第二方面以及第二方面的任一种可能的设计所述的方法。In a third aspect, a communication device is provided, including at least one processor, at least one processor is coupled to a memory, and at least one processor is used to read and execute a program stored in the memory, so that the communication device performs the above-mentioned second aspect and Any one possible design of the method of the second aspect.
第四方面,提供一种计算机可读存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述第二方面以及第二方面的任一种可能的设计所述的方法。In a fourth aspect, there is provided a computer-readable storage medium, including computer instructions. When the computer instructions are run on the electronic device, the electronic device is made to execute the method described in the above-mentioned second aspect and any possible design of the second aspect. .
附图说明Description of drawings
图1为本申请实施例提供的一种芯片的逻辑规模和可供Scan复用的I/O带宽的趋势示意图;FIG. 1 is a schematic diagram of a logic scale of a chip provided by an embodiment of the present application and a trend diagram of the I/O bandwidth available for Scan multiplexing;
图2为本申请实施例提供的一种芯片测试设计架构示意图;FIG. 2 is a schematic diagram of a chip test design architecture provided by an embodiment of the present application;
图3为本申请实施例提供的一种芯片测试电路的结构示意图;FIG. 3 is a schematic structural diagram of a chip test circuit provided in an embodiment of the present application;
图4为本申请实施例提供的一种芯片测试电路的结构示意图;FIG. 4 is a schematic structural diagram of a chip test circuit provided in an embodiment of the present application;
图5为本申请实施例提供的一种测试芯片的方法流程示意图;FIG. 5 is a schematic flow chart of a method for testing a chip provided in an embodiment of the present application;
图6为本申请实施例提供的一种多通道为4个32位宽通道时的芯片测试电路的结构示意图;6 is a schematic structural diagram of a chip test circuit when the multi-channel is four 32-bit wide channels provided by the embodiment of the present application;
图7为本申请实施例提供的一种第一变速器和第二变速器的结构示意图;Fig. 7 is a schematic structural diagram of a first transmission and a second transmission provided by the embodiment of the present application;
图8为本申请实施例提供的一种1倍频时钟域和M倍频时钟域的实现方式示意图;FIG. 8 is a schematic diagram of an implementation of a 1-multiplied clock domain and an M-multiplied clock domain provided in an embodiment of the present application;
图9为本申请实施例提供的一种芯片测试电路中采用PLL来生成1倍频时钟域和4倍频时钟域的示意图;9 is a schematic diagram of using a PLL to generate a 1-fold frequency clock domain and a 4-fold frequency clock domain in a chip test circuit provided by an embodiment of the present application;
图10为本申请实施例提供的一种FSM的状态示意图;FIG. 10 is a schematic diagram of a state of an FSM provided by an embodiment of the present application;
图11为本申请实施例提供的一种测试数据输入给第一流管道的示意图;Fig. 11 is a schematic diagram of inputting test data to the first flow pipeline provided by the embodiment of the present application;
图12为本申请实施例提供的一种芯片测试电路的结构示意图;FIG. 12 is a schematic structural diagram of a chip test circuit provided by an embodiment of the present application;
图13为本申请实施例提供的一种帧头对齐电路和通道对齐电路的结构示意图;FIG. 13 is a schematic structural diagram of a frame header alignment circuit and a channel alignment circuit provided by an embodiment of the present application;
图14为本申请实施例提供的一种芯片的结构示意图。FIG. 14 is a schematic structural diagram of a chip provided by an embodiment of the present application.
具体实施方式detailed description
为了便于理解,示例的给出了部分与本申请实施例相关概念的说明以供参考。如下所示:For ease of understanding, some descriptions of concepts related to the embodiments of the present application are given by way of example for reference. As follows:
可测性设计(design for testability,DFT):一种集成电路设计技术,可以将一些特殊结构在设计阶段植入电路,以便设计完成后对电路进行测试。Design for testability (DFT): An integrated circuit design technique that can implant some special structures into the circuit during the design stage so that the circuit can be tested after the design is completed.
Scan测试:数字集成电路测试的重要方法之一,可以有效的筛选出坏片,提高产品质量。Scan test: one of the important methods of digital integrated circuit testing, which can effectively screen out bad chips and improve product quality.
SerDes:包括高速串并转换电路、时钟数据恢复电路、数据编解码电路、时钟纠正和通道绑定电路等,为各种高速串行数据传输协议提供了物理层基础。SerDes的TX发送端和RX接收端功能独立,而且均由物理媒介适配层(physical media attachment,PMA)和物理编码子层(physical coding sublayer,PCS)两个子层组成。SerDes: including high-speed serial-to-parallel conversion circuits, clock data recovery circuits, data codec circuits, clock correction and channel bonding circuits, etc., providing a physical layer basis for various high-speed serial data transmission protocols. The TX transmitter and RX receiver of SerDes have independent functions, and both are composed of two sublayers: physical media attachment (PMA) and physical coding sublayer (PCS).
自动化测试机台(Automotive Tester Equipment,ATE):在半导体产业中意指集成电路(integrated circuit,IC)自动测试机,用于检测集成电路功能的完整性,为集成电路生产制造的最后流程,以确保集成电路生产制造的品质。Automated tester (Automotive Tester Equipment, ATE): In the semiconductor industry, it means integrated circuit (integrated circuit, IC) automatic tester, which is used to detect the integrity of integrated circuit functions, and is the final process of integrated circuit manufacturing to ensure The quality of integrated circuit manufacturing.
高速测试接口(High Speed Serial Test Interface,HSSTI):可以理解为高速串行测试工具,用于对芯片内部进行测试数据加载。High Speed Serial Test Interface (HSSTI): It can be understood as a high-speed serial test tool, which is used to load test data inside the chip.
有限同步状态机(Finite state machine,FSM):由状态寄存器和组合逻辑电路构成,能够根据控制信号按照预先设定的状态进行状态转移,是协调相关信号动作、完成特定操作的控制中心。Finite state machine (FSM): It is composed of state registers and combinational logic circuits. It can perform state transitions according to the preset state according to the control signal. It is the control center for coordinating related signal actions and completing specific operations.
CMD:Windows命令提示符,是Windows NT下的一个用于运行Windows控制面板程序或某DOS程序的shell程序;或在Windows CE下用于运行控制面板程序的外壳程序。CMD: Windows command prompt, which is a shell program used to run the Windows control panel program or a certain DOS program under Windows NT; or a shell program used to run the control panel program under Windows CE.
包结束(end of packet,EOP):数据流中的最后一个数据包的指令。end of packet (EOP): An instruction for the last packet in a data stream.
随着芯片的测试模块数量增多,同一个I/O资源可以分配给更多的逻辑资源使用,即芯片中的逻辑模块虽然增长,但是I/O资源并未随之增长,芯片的测试效率较低。如图1所示为芯片的数字逻辑规模和可供Scan测试向量复用的传输带宽的趋势示意图,横轴表示年份,两个纵轴分别表示数字逻辑规模和Scan测试向量的传输带宽。可以看出,随着时间的推进,表示芯片的逻辑规模的两条曲线:曲线1示出的网络工程(X-network project)逻辑规模和曲线2示出的终端工程(Terminal project)的逻辑规模增长迅速;但是,数字管脚总带宽的2条曲线中,曲线3和曲线4示出的是:随着X-network project中I/O资源的访问频率8Gbps到10Gbps的增长,以及Terminal project中I/O资源的访问频率6.4Gbps到8Gbps的增长,其I/O资源的管脚总带宽(I/O数量ⅹ访问频率)增长缓慢。As the number of test modules of the chip increases, the same I/O resource can be allocated to more logic resources. That is, although the number of logic modules in the chip increases, the I/O resources do not increase accordingly, and the test efficiency of the chip is lower. Low. Figure 1 is a schematic diagram of the digital logic scale of the chip and the transmission bandwidth available for multiplexing of the Scan test vectors. The horizontal axis represents the year, and the two vertical axes represent the digital logic scale and the transmission bandwidth of the Scan test vectors respectively. It can be seen that as time progresses, there are two curves representing the logical scale of the chip: the logical scale of the network project (X-network project) shown by curve 1 and the logical scale of the terminal project (Terminal project) shown by curve 2 Rapid growth; however, among the 2 curves of the total bandwidth of digital pins, curve 3 and curve 4 show that: with the increase of the access frequency of I/O resources in the X-network project from 8Gbps to 10Gbps, and in the Terminal project As the access frequency of I/O resources increases from 6.4Gbps to 8Gbps, the total pin bandwidth of I/O resources (I/O quantityⅹaccess frequency) increases slowly.
目前,基于电气和电子工程师协会(Institute of Electrical and Electronics Engineers, IEEE)1149.10的国际标准的测试协议,描述了如何使用SerDes的串并转换功能通道来实现Scan数据的高速传输,并行后可充当芯片测试的Scan I/O,可以解决数字I/O传输带宽的限制问题。例如,可以使用单通道(single lane)的SerDes I/O作为基本功能通道来复用,提供尽可能多的Scan测试带宽。但是,1149.10标准并未规定和限定具体用户厂商的具体架构和设计,同时该技术也与各厂商使用的SerDes直接相关,暂无成熟的Scan数据的高速传输设计架构,即技术成熟度低,只有相关的包(Packets)协议部分,并未规范其电路架构和实现方式,需要从设计、验证、测试向量、诊断等一系列的生态系统支撑。而且,各大厂商都选择在串并转换后的编解码电路内部构造出了两个复杂的先进先出(First In First Output,FIFO)来实现Scan测试带宽,内部存在较大的开销。At present, the test protocol based on the international standard of Institute of Electrical and Electronics Engineers (IEEE) 1149.10 describes how to use the serial-to-parallel conversion function channel of SerDes to realize the high-speed transmission of Scan data, which can be used as a chip after parallel The tested Scan I/O can solve the limitation of digital I/O transmission bandwidth. For example, a single lane SerDes I/O can be used as a basic functional channel for multiplexing to provide as much Scan test bandwidth as possible. However, the 1149.10 standard does not specify and limit the specific architecture and design of specific user manufacturers. At the same time, this technology is directly related to the SerDes used by each manufacturer. There is no mature design architecture for high-speed transmission of Scan data, that is, the technology maturity is low. Only The relevant package (Packets) protocol part does not regulate its circuit architecture and implementation method, and requires a series of ecosystem support from design, verification, test vectors, and diagnosis. Moreover, major manufacturers choose to construct two complex first-in-first-out (First In First Output, FIFO) inside the codec circuit after serial-to-parallel conversion to realize the Scan test bandwidth, and there is a large internal overhead.
综上所述,芯片的Scan测试需要复用I/O资源来完成逻辑模块(或者pattern图形)扩展。但是随着工艺的深入,逻辑规模的增长,所需要的I/O资源数量与实际芯片的I/O带宽资源不成正比增长,亟需扩充可复用的I/O带宽资源。To sum up, the Scan test of the chip needs to reuse I/O resources to complete the expansion of logic modules (or pattern graphics). However, with the deepening of the process and the increase of the logic scale, the number of I/O resources required is not proportional to the I/O bandwidth resources of the actual chip, and it is urgent to expand the reusable I/O bandwidth resources.
对此,本申请提出一种测试数据加载传输的芯片测试电路,可以利用高速串行测试接口,例如HSSTI,将从测试机台接收到的高速串行输入数据转换成在多个通道传输的输入数据,通过第一变速器将多通道的输入数据再归一为单通道的输入数据进行芯片测试,并将测试后得到的单通道的输出数据通过第二变速器转换为多个通道的输出数据,通过该高速串行测试接口将多个通道的输出数据转换为高速串行输出数据反馈给测试机台。这样,在高速串行测试接口接收高速串行输入数据并转换为多通道输入数据的情况下,高速串行输入数据和转换后的多通道输入数据的传输可以大幅提升测试数据的传输速率。其次,本申请利用高速串行测试接口接收高速串行输入数据和输出多通道输入数据的情况下,即使芯片内要测试的逻辑资源不断增加,用于测试数据传输的I/O资源也只占用了芯片较少的I/O管脚(高速串行输入数据的管脚、高速串行输出数据的管脚、多通道的输入数据的管脚和多通道的输出数据的管脚)。而且,经过上下行的变速器(Gearbox,其输入端和输出端的位宽与频率会进行变化)可实现多通道输入数据的位宽归一整合,可提升测试总线(Bus)的走线频率。In this regard, the present application proposes a chip test circuit for loading and transmitting test data, which can use a high-speed serial test interface, such as HSSTI, to convert the high-speed serial input data received from the test machine into input transmitted in multiple channels Data, through the first transmission, the multi-channel input data is normalized into single-channel input data for chip testing, and the single-channel output data obtained after the test is converted into multiple-channel output data through the second transmission. The high-speed serial test interface converts the output data of multiple channels into high-speed serial output data and feeds it back to the test machine. In this way, when the high-speed serial test interface receives high-speed serial input data and converts it into multi-channel input data, the transmission of high-speed serial input data and converted multi-channel input data can greatly increase the transmission rate of test data. Secondly, when the application utilizes the high-speed serial test interface to receive high-speed serial input data and output multi-channel input data, even if the logic resources to be tested in the chip continue to increase, the I/O resources for test data transmission only take up There are fewer I/O pins on the chip (pins for high-speed serial input data, pins for high-speed serial output data, pins for multi-channel input data and pins for multi-channel output data). Moreover, through an uplink and downlink transmission (Gearbox, the bit width and frequency of its input and output terminals will change) can realize the normalized integration of multi-channel input data bit width, which can increase the routing frequency of the test bus (Bus).
本申请中的高速串行输入数据可以理解为速率大于或等于1.25Gbps的串行输入数据。The high-speed serial input data in this application can be understood as the serial input data whose rate is greater than or equal to 1.25 Gbps.
如图2所示,本申请的芯片测试设计架构可以应用于自动化测试机台(automotive tester equipment,ATE)与被测设备(device under test,DUT)的对接场景中。这里的DUT例如可以为芯片。As shown in FIG. 2 , the chip test design framework of the present application can be applied to the docking scene between an automated tester equipment (ATE) and a device under test (DUT). The DUT here can be, for example, a chip.
示例性的,ATE可以实现例如5~10Gbps单通道的高速码流,匹配本申请提供的设计架构时,可以实现极大带宽的测试数据传输,满足超大规模芯片的测试I/O需求,可以近似于100~400个普通低速100Mhz数字I/O的复用资源。Exemplarily, ATE can realize, for example, a single-channel high-speed code stream of 5-10Gbps, and when matching the design architecture provided by this application, it can realize test data transmission with a very large bandwidth, meet the test I/O requirements of ultra-large-scale chips, and can approximate Multiplexing resources for 100-400 ordinary low-speed 100Mhz digital I/Os.
例如,如图3所示,在芯片中,本申请提供的芯片测试电路可以包括高速串行测试接口、第一变速器和第二变速器。高速串行测试接口与测试机台基于电容耦合方式互连,且采用差分传输方式接收所述测试机台传输的数据。这种耦合方式和数据的传输方式是为了匹配高速串行测试接口从测试机台接收高速串行输入数据。For example, as shown in FIG. 3 , in the chip, the chip test circuit provided by the present application may include a high-speed serial test interface, a first transmission and a second transmission. The high-speed serial test interface and the test machine are interconnected based on capacitive coupling, and the data transmitted by the test machine is received in a differential transmission mode. This coupling mode and data transmission mode are to match the high-speed serial test interface to receive high-speed serial input data from the test machine.
其中,测试机台的输出端a与高速串行测试接口的输入端b耦合,高速串行测试 接口的多个RX端口与第一变速器的多个输入端(c、d、…)耦合,第一变速器的输出端e与测试总线耦合;第二变速器的输入端f与测试总线耦合,第二变速器的多个输出端(g、h、…)与高速串行测试接口的多个TX端耦合,高速串行测试接口的输出端i与测试机台的输入端j耦合。Wherein, the output terminal a of the test machine is coupled to the input terminal b of the high-speed serial test interface, and multiple RX ports of the high-speed serial test interface are coupled to multiple input terminals (c, d, ...) of the first transmission, and the second The output terminal e of a transmission is coupled with the test bus; the input terminal f of the second transmission is coupled with the test bus, and multiple output terminals (g, h, ...) of the second transmission are coupled with multiple TX terminals of the high-speed serial test interface , the output end i of the high-speed serial test interface is coupled with the input end j of the test machine.
高速串行测试接口,可以用于接收测试机台发送的高速串行输入数据,将高速串行输入数据转换为多通道输入数据,并向第一变速器发送多通道输入数据;例如高速串行数输入数据为5Gbps,高速串行测试接口通过单个通道(b端口)接收5GGbps的串行输入数据,将该串行输入数据转换为多通道输入数据后,通过高速串行测试接口的多个RX端口将输出该多通道输入数据。这里的多通道输入数据包括要对芯片的待测试电路进行测试的测试数据。The high-speed serial test interface can be used to receive the high-speed serial input data sent by the test machine, convert the high-speed serial input data into multi-channel input data, and send the multi-channel input data to the first transmission; for example, the high-speed serial data The input data is 5Gbps, the high-speed serial test interface receives 5GGbps serial input data through a single channel (b port), and after converting the serial input data into multi-channel input data, passes through multiple RX ports of the high-speed serial test interface The multi-channel input data will be output. The multi-channel input data here includes test data to be tested on the circuit to be tested of the chip.
第一变速器,用于将多通道输入数据归一为单通道输入数据,单通道输入数据用于对待测试电路进行测试,待测试电路与芯片测试电路耦合。这里的归一例如可以通过位宽转换方式实现。例如将4个通道,每个通道传输32位的多通道输入数据经过位宽转换,得到单通道的32位输入数据,单通道的32位输入数据的传输频率是4个通道中每个通道的传输频率的4倍。The first transmission is used to normalize multi-channel input data into single-channel input data, the single-channel input data is used to test the circuit to be tested, and the circuit to be tested is coupled with the chip test circuit. The normalization here can be realized by, for example, bit width conversion. For example, 4 channels, each of which transmits 32-bit multi-channel input data, undergoes bit width conversion to obtain single-channel 32-bit input data. The transmission frequency of single-channel 32-bit input data is the frequency of each of the 4 channels. 4 times the transmission frequency.
第二变速器,用于从待测试电路接收单通道输出数据,将单通道输出数据转换为多通道输出数据,并向高速串行测试接口发送多通道输出数据;其中,单通道输出数据与单通道输入数据对应。例如单通道输出数据可以在以4倍频的频率下输入至第二变速器,第二变速器对单通道输出数据进行位宽转换得到4通道输出数据时,以1倍频的频率输出4通道输出数据。The second transmission is used to receive single-channel output data from the circuit to be tested, convert the single-channel output data into multi-channel output data, and send the multi-channel output data to the high-speed serial test interface; wherein, the single-channel output data and the single-channel Input data corresponding. For example, single-channel output data can be input to the second transmission at a frequency multiplied by 4, and when the second transmission converts the bit width of the single-channel output data to obtain 4-channel output data, it outputs 4-channel output data at a frequency of 1 multiplication .
高速串行测试接口,还用于将多通道输出数据转换为高速串行输出数据,向测试机台发送串行输出数据。例如,可通过高速串行测试接口的多个TX端口从第二变速器接收4通道输出数据,高速串行测试接口将4通道输出数据再转换为高速串行输出数据输出给测试机台。The high-speed serial test interface is also used to convert multi-channel output data into high-speed serial output data, and send the serial output data to the test machine. For example, the 4-channel output data can be received from the second transmission through multiple TX ports of the high-speed serial test interface, and the high-speed serial test interface converts the 4-channel output data into high-speed serial output data and outputs it to the test machine.
由此,本申请利用高速串行测试接口从测试机台接收高速串行数据并转换为多通道输入数据传输的情况下,可提升测试数据的接收速率;高速串行测试接口从第二变速器接收到通道输出数据并转换为高速串行输出数据的情况下,可提供测试结果的反馈速率。而且,可占用高速串行测试接口较少的I/O资源传输测试数据。并且,通过上下行的变速器的为输入数据和输出数据的位宽转换和频率转换,可提升测试数据在测试总线的走线频率。Thus, when the application utilizes the high-speed serial test interface to receive high-speed serial data from the test machine and convert it into multi-channel input data transmission, the receiving rate of test data can be improved; the high-speed serial test interface receives from the second transmission In the case of channel output data and conversion to high-speed serial output data, the feedback rate of test results can be provided. Moreover, less I/O resources of the high-speed serial test interface can be used to transmit test data. Moreover, through the bit width conversion and frequency conversion of the input data and output data of the uplink and downlink transmissions, the routing frequency of the test data on the test bus can be increased.
应用图3示出的芯片测试电路,本申请提供一种如图4所示的芯片测试电路。该芯片测试电路还包括解码器、编码器、FSM、第一流管道和第二流管道。第一流管道和第二流管道包括多级存储单元。这里的第一流管道和第二流管道可以理解为streaming pipe。Using the chip test circuit shown in FIG. 3 , the present application provides a chip test circuit as shown in FIG. 4 . The chip test circuit also includes a decoder, an encoder, an FSM, a first stream pipeline and a second stream pipeline. The first flow conduit and the second flow conduit include multi-level storage units. The first-stream pipeline and the second-stream pipeline here can be understood as streaming pipes.
第一变速器的输出端e与解码器的输入端k耦合,解码器的输出端l与第一流管道的输入端m耦合;第一流管道的输出端n与测试电路的测试总线耦合;The output terminal e of the first transmission is coupled to the input terminal k of the decoder, and the output terminal l of the decoder is coupled to the input terminal m of the first flow pipeline; the output terminal n of the first flow pipeline is coupled to the test bus of the test circuit;
第二变速器的输入端f与编码器的输出端o耦合,编码器的输入端p与第二流管道的输出端q耦合,第二流管道的输入端r与测试总线耦合;The input terminal f of the second transmission is coupled to the output terminal o of the encoder, the input terminal p of the encoder is coupled to the output terminal q of the second flow pipeline, and the input terminal r of the second flow pipeline is coupled to the test bus;
FSM均与解码器的第三端s、编码器的第三端t、第一流管道的第三端u和第二流 管道的第三端v耦合。The FSMs are each coupled to a third end s of the decoder, a third end t of the encoder, a third end u of the first stream pipe and a third end v of the second stream pipe.
应用图4示出的芯片测试电路,该解码器,可以用于对单通道输入数据进行解码操作,将解码的测试数据发送给第一流管道,并将解码的指令发送给FSM;Using the chip test circuit shown in Figure 4, the decoder can be used to decode the single-channel input data, send the decoded test data to the first stream pipeline, and send the decoded instructions to the FSM;
FSM,用于根据解码的指令确定编码器、第一流管道和第二流管道的操作状态;an FSM for determining an operating state of the encoder, the first stream pipeline, and the second stream pipeline based on the decoded instructions;
第一流管道,用于根据FSM确定的第一流管道的操作状态将测试数据传输至测试总线;The first-stream pipeline is used to transmit the test data to the test bus according to the operating state of the first-stream pipeline determined by the FSM;
第二流管道,用于根据FSM确定的第二流管道的操作状态接收通过测试总线返回的测试结果,将测试结果发送给所述编码器;The second stream pipeline is used to receive the test result returned by the test bus according to the operating state of the second stream pipeline determined by the FSM, and send the test result to the encoder;
编码器,用于根据FSM确定的编码器的操作状态对测试结果进行编码,得到单通道输出数据,并向第二变速器发送单通道输出数据。The encoder is used to encode the test result according to the operating state of the encoder determined by the FSM to obtain single-channel output data, and send the single-channel output data to the second transmission.
应用图4示出的芯片测试电路,本申请提供一种测试芯片的方法,如图5所示,该方法包括:Using the chip test circuit shown in Figure 4, the present application provides a method for testing a chip, as shown in Figure 5, the method includes:
501、芯片通过高速串行测试接口接收测试机台发送的高速串行输入数据,将高速串行输入数据转换为多通道输入数据。501. The chip receives the high-speed serial input data sent by the testing machine through the high-speed serial test interface, and converts the high-speed serial input data into multi-channel input data.
其中,串行输入数据可以理解为将组成数据和字符的码元,按时序逐位予以传输。高速串行输入数据例如可以理解为在单个通道上传输速率高于100Mhz,且传输带宽为5~10Gbps的串行输入数据。多通道输入数据可以理解为在多个通道上传输的数据,例如将单个通道上传输的一个数据包切分为4份,在4个通道上传输输入数据。Among them, the serial input data can be understood as the code elements that make up the data and characters are transmitted bit by bit in time sequence. High-speed serial input data, for example, can be understood as serial input data with a transmission rate higher than 100 Mhz and a transmission bandwidth of 5-10 Gbps on a single channel. Multi-channel input data can be understood as data transmitted on multiple channels, for example, a data packet transmitted on a single channel is divided into 4 parts, and input data is transmitted on 4 channels.
示例性的,测试机台为ATE,高速串行测试接口为HSSTI时,如图6所示,HSSTI可以接收ATE发送的高速串行输入数据,将高速串行输入数据转换为在4个通道上传输,得到4通道输入数据。高速串行输入数据的传输速率为5Gbps,位宽为128位,将128位宽的高速串行输入数据切换为4份在4个通道输入至第一变速器,每个通道的位宽为32位。Exemplarily, when the test machine is ATE, and the high-speed serial test interface is HSSTI, as shown in Figure 6, HSSTI can receive the high-speed serial input data sent by ATE, and convert the high-speed serial input data into four channels transmission to get 4-channel input data. The transmission rate of high-speed serial input data is 5Gbps, and the bit width is 128 bits. The 128-bit wide high-speed serial input data is switched to 4 copies and input to the first transmission in 4 channels, and the bit width of each channel is 32 bits. .
502、芯片将多通道输入数据归一为单通道输入数据,单通道输入数据用于对芯片内的待测试电路进行测试。502. The chip normalizes the multi-channel input data into single-channel input data, and the single-channel input data is used to test the circuit to be tested in the chip.
在一些实施例中,假设多通道输入数据在M个通道上传输,M为大于1的整数。第一变速器,可以用于在1倍频时钟域下接收多通道输入数据,对多通道输入数据进行位宽转换,得到单通道输入数据;在M倍频时钟域下输出单通道输入数据。其中,单通道输入数据占用的位宽固定。In some embodiments, it is assumed that multi-channel input data is transmitted on M channels, where M is an integer greater than 1. The first transmission can be used to receive multi-channel input data in the 1-multiple frequency clock domain, perform bit width conversion on the multi-channel input data to obtain single-channel input data; and output single-channel input data in the M-multiple frequency clock domain. Wherein, the bit width occupied by single-channel input data is fixed.
其中,HSSTI输出的M个通道中每个通道的位宽通常与业务模式有关,例如可以为16位、32位或40位等。图6中示出的是32位的位宽。Wherein, the bit width of each of the M channels output by the HSSTI is usually related to the service mode, for example, it may be 16 bits, 32 bits or 40 bits. The bit width shown in FIG. 6 is 32 bits.
在一些实施例中,如图7所示(以4个32位宽通道示例),第一变速器包括第一缓存器和第一位宽转换电路;In some embodiments, as shown in FIG. 7 (taking four 32-bit wide channels as an example), the first transmission includes a first buffer and a first bit width conversion circuit;
第一缓存器,用于缓存在1倍频时钟域下从高速串行测试接口接收的多通道输入数据;第一位宽转换电路,用于按照输出单通道输入数据的通道位宽从第一缓存器读取多通道输入数据,得到单通道输入数据,并在M倍频时钟域下输出单通道输入数据;The first buffer is used to buffer the multi-channel input data received from the high-speed serial test interface in the 1-fold clock domain; the first bit width conversion circuit is used to output the channel bit width of the single-channel input data from the first The buffer reads the multi-channel input data, obtains the single-channel input data, and outputs the single-channel input data in the M multiplied clock domain;
示例性的,当第一变速器在1倍频时钟域下接收到4个32位宽通道的输入数据时,可以将这4个32位宽通道的输入数据先缓存在第一缓存器中,而后第一位宽转换电路可以从第一缓存器中以32位宽读取输入数据,并在M倍时钟域下输出单通道的32位 宽输入数据,实现多通道数据归一化处理。Exemplarily, when the first transmission receives input data of four 32-bit wide channels in the 1-fold clock domain, the input data of the four 32-bit wide channels may be buffered in the first buffer first, and then The first bit-width conversion circuit can read input data with a 32-bit width from the first buffer, and output single-channel 32-bit-wide input data in an M-times clock domain, thereby realizing multi-channel data normalization processing.
其中,这里的1倍频时钟域和M倍频时钟域的实现方式可以有多种。举例来说,如图8所示,假设M为4,第一变速器的两侧存在同源无频偏的时钟源在HSSTI中,第一变速器可以在以4分频的时钟域(CLK分频4)下通过第一时钟管脚(rxoclk)接收4个32位宽通道的输入数据,并在1分频的时钟域下通过第二时钟管脚(rxauxclk)输出单通道32位宽输入数据。换句话说,第一变速器在1倍频时钟域下通过rxoclk接收4个32位宽通道的输入数据,在4倍频时钟域下通过rxauxclk输出归一后的单通道32位宽输入数据。第二变速器的实现方式与第一变速器类似,第二变速器在4倍频时钟域下通过rxauxclk接收单通道32位宽输出数据,在1倍频时钟域下通过rxoclk输出4个32位宽通道的输出数据。在另一些方式中,也可以采用在ATE中设置同源无频偏的时钟域来保证第一变速器两侧时钟域同源。Wherein, there may be multiple implementation manners for the 1-multiplied clock domain and the M-multiplied clock domain here. For example, as shown in Figure 8, assuming that M is 4, there are clock sources with the same source and no frequency offset on both sides of the first transmission. In HSSTI, the first transmission can be in the clock domain divided by 4 (CLK frequency division 4) Receive input data of four 32-bit wide channels through the first clock pin (rxoclk), and output single-channel 32-bit wide input data through the second clock pin (rxauxclk) in the clock domain divided by 1. In other words, the first transmission receives input data of four 32-bit wide channels through rxoclk in the 1-fold clock domain, and outputs normalized single-channel 32-bit wide input data through rxauxclk in the 4-fold clock domain. The implementation of the second transmission is similar to that of the first transmission. The second transmission receives single-channel 32-bit wide output data through rxauxclk in the 4-fold clock domain, and outputs four 32-bit wide channels through rxoclk in the 1-fold clock domain. Output Data. In some other manners, clock domains with the same source and no frequency offset may also be set in the ATE to ensure that the clock domains at both sides of the first transmission are of the same source.
再举例来说,如图9所示,如果HSSTI不能内部分频产生1分频和4分频时钟域时,又或者HSSTI 4分频的时钟并没有输出到该模块的管脚上,可以考虑在HSSTI外,利用1分频的第二时钟管脚,例化一个CLK分频4的时钟,第一变速器可以用该时钟接收4个32位宽通道的输入数据。注意,此时的输入数据是来源于HSSTI内部原第一时钟管脚时钟域的,这里需要确保接收的输入数据时钟域与CLK4之间进行相应的同步处理。For another example, as shown in Figure 9, if HSSTI cannot internally divide the frequency to generate 1-frequency division and 4-frequency division clock domains, or the HSSTI 4-frequency division clock is not output to the pins of the module, you can consider Outside the HSSTI, use the second clock pin divided by 1 to instantiate a CLK divided by 4, and the first transmission can use this clock to receive input data from four 32-bit wide channels. Note that the input data at this time comes from the clock domain of the original first clock pin inside the HSSTI, and it is necessary to ensure that the corresponding synchronization process is performed between the clock domain of the received input data and CLK4.
在一些实施例中,第一变速器输出的单通道输入数据的位宽固定,与向第二变速器输入的单通道输出数据的位宽相同,即向第二变速器输入的单通道输出数据的位宽也固定。例如在图6的示例中,第一变速器归一后的位宽默认定义为32位,向第二变速器输入的位宽也默认为32位。也就是说,向第一变速器输入的多通道输入数据中每个通道的位宽为16或32或40等任何位宽时,都将该多通道输入数据归一为32位的固定帧格式之后再继续进行处理。这种基于固定帧格式来处理每帧数据包可以形成简单高效的传输方式。这里HSSTI的多通道输入数据中每个通道的位宽通常与业务模式有关。In some embodiments, the bit width of the single-channel input data output by the first transmission is fixed, which is the same as the bit width of the single-channel output data input to the second transmission, that is, the bit width of the single-channel output data input to the second transmission Also fixed. For example, in the example shown in FIG. 6 , the normalized bit width of the first transmission is defined as 32 bits by default, and the bit width input to the second transmission is also 32 bits by default. That is to say, when the bit width of each channel in the multi-channel input data input to the first transmission is any bit width such as 16 or 32 or 40, the multi-channel input data is normalized into a 32-bit fixed frame format Continue processing. This processing of data packets per frame based on a fixed frame format can form a simple and efficient transmission method. Here, the bit width of each channel in the multi-channel input data of HSSTI is generally related to the business mode.
503、芯片对单通道输入数据进行解码操作,以获取解码的指令和测试数据。503. The chip decodes the single-channel input data to obtain decoded instructions and test data.
示例性的,当第一变速器采用上述变速器的位宽归一化输出32位宽的单通道输入数据给解码器时,解码器可以对单通道输入数据进行解码,以识别到输入数据流的帧头、帧尾、指令和内容等。其中,一个单通道输入数据可以理解为一帧数据。FSM可以根据解码得到的指令确定编码器、第一流管道和第二流管道的操作状态,即执行步骤504。这里的内容可以理解为测试数据,例如为Scan测试数据。Exemplarily, when the first transmission uses the bit width normalization of the above transmission to output 32-bit wide single-channel input data to the decoder, the decoder can decode the single-channel input data to identify the frame of the input data stream Header, frame trailer, instruction and content, etc. Among them, a single-channel input data can be understood as a frame of data. The FSM may determine the operating states of the encoder, the first stream pipeline, and the second stream pipeline according to the decoded instruction, that is, execute step 504 . The content here can be understood as test data, such as Scan test data.
504、芯片根据解码的指令确定编码器、第一流管道和第二流管道的操作状态。504. The chip determines the operating states of the encoder, the first stream pipeline, and the second stream pipeline according to the decoded instruction.
也可以理解为,解码器将解码得到的指令发送给FSM,FSM可以根据解码的指令,定制出编码器、第一流管道和第二流管道相应的状态机序列。例如,编码器进入编码状态的序列,第一流管道对测试数据在多级存储单元中进行缓存的序列,以及第二流管道对反馈的测试数据在多级存储单元中进行缓存的序列。It can also be understood that the decoder sends the decoded instruction to the FSM, and the FSM can customize the corresponding state machine sequence of the encoder, the first stream pipeline, and the second stream pipeline according to the decoded command. For example, the sequence in which the encoder enters the encoding state, the sequence in which the first stream pipeline caches the test data in the multi-level storage unit, and the sequence in which the second stream pipeline caches the fed back test data in the multi-level storage unit.
上文已说明,第一变速器输出的单通道输入数据的位宽固定,向第二变速器输入的单通道输出数据的位宽也固定,那么FSM可以理解为基于固定位宽为一个状态的FSM,每一数据帧可以被定义为一个状态。It has been explained above that the bit width of the single-channel input data output by the first transmission is fixed, and the bit width of the single-channel output data input to the second transmission is also fixed, so FSM can be understood as an FSM based on a fixed bit width as one state, Each data frame can be defined as a state.
示例性的,根据IEEE 1149.10协议的定义要求,单通道输入数据的数据流中:Exemplarily, according to the definition requirements of the IEEE 1149.10 protocol, in the data stream of single-channel input data:
帧头的格式可以为:帧头8位+CMD8位+16位Payload(内容),统一命名为“CMD”;The format of the frame header can be: 8 bits of frame header + 8 bits of CMD + 16 bits of Payload (content), and the unified name is "CMD";
循环冗余校验(Cyclic Redundancy Check,CRC)的格式占用32位,统一命名为“CRC”;用于对单通道输入数据进行校验;The format of cyclic redundancy check (Cyclic Redundancy Check, CRC) occupies 32 bits, and is named "CRC" uniformly; it is used to check the single-channel input data;
帧尾的格式占用32位,统一命令为“EOP”。The format of the frame end occupies 32 bits, and the unified command is "EOP".
当解码器根据该定义要求识别到帧头和帧尾,以及帧头和帧尾中间的单通道输入数据即为一帧完整的数据。When the decoder recognizes the frame header and frame tail according to the definition requirements, and the single-channel input data between the frame header and the frame tail is a complete frame of data.
其中,CMD的类型可以包括普通CMD、CHCMD(Chselect CMD,通道选择CMD)和测试CMD(ScanCMD)。当解码器识别到这3种CMD并发送给FSM时,FSM可以根据这3种CMD进入3种状态。Wherein, the type of CMD may include common CMD, CHCMD (Chselect CMD, channel selection CMD) and test CMD (ScanCMD). When the decoder recognizes these 3 CMDs and sends them to the FSM, the FSM can enter 3 states according to the 3 CMDs.
如图10所示为FSM的状态示意图。当FSM接收到解码的指令中的普通CMD时,FSM可以跳转到CMD的状态,即进入对测试电路进行配置的状态。配置的过程中,FSM的状态为空闲态(idle)-CMD-CRC-EOP。该配置过程例如可以理解为对测试电路进行复位等处理。即先要解锁测试电路,进行电路配置,例如选择解码器中的一些变量,执行对第一流管道和第二流管道的存储单元的级数配置,以及对测试总线、位宽和速率的配置等;Figure 10 is a schematic diagram of the state of the FSM. When the FSM receives the normal CMD in the decoded command, the FSM can jump to the CMD state, that is, enter the state of configuring the test circuit. During the configuration process, the state of the FSM is idle state (idle)-CMD-CRC-EOP. For example, the configuration process can be understood as processing such as resetting the test circuit. That is, the test circuit must be unlocked first, and the circuit configuration is performed, such as selecting some variables in the decoder, performing the configuration of the number of storage units of the first stream pipeline and the second stream pipeline, and configuring the test bus, bit width and rate, etc. ;
当FSM接收到解码的指令中的CHCMD时,FSM可以跳转到CHCMD的状态,即进入通道选择的操作状态,以确定传输测试数据的测试总线。该过程中FSM的状态可以为idle-CHCMD-CH内容-CRC-EOP。例如测试总线包括位宽为32、64以及128位的总线,CHCMD指令后的内容(Chselect content,CH内容)指示选择32位位宽的测试总线时,FSM便指示第一流管道传输的测试数据在32位位宽的测试总线上进入芯片内部。When the FSM receives CHCMD in the decoded command, the FSM can jump to the state of CHCMD, that is, enter the operation state of channel selection, so as to determine the test bus for transmitting test data. The state of the FSM in this process may be idle-CHCMD-CH content-CRC-EOP. For example, the test bus includes buses with a bit width of 32, 64, and 128 bits. When the content (Chselect content, CH content) after the CHCMD instruction indicates that the test bus with a 32-bit bit width is selected, the FSM will indicate that the test data transmitted by the first-stream pipeline is in the The 32-bit wide test bus enters the chip.
当FSM接收到解码的指令和内容中的测试CMD时,FSM可以跳转到测试CMD的状态,即进入测试数据的传输状态,以在测试总线上传输测试数据。该过程中FSM的状态可以为idle-测试CDM-测试内容-CRC-EOP。当FSM识别到测试CDM时,可以指示解码器和第一流管道传输测试数据至总线。When the FSM receives the decoded instruction and the test CMD in the content, the FSM can jump to the test CMD state, that is, enter the test data transmission state, so as to transmit the test data on the test bus. The state of the FSM in this process may be idle-test CDM-test content-CRC-EOP. When the FSM recognizes a test CDM, it can instruct the decoder and first stream pipe to transmit test data to the bus.
505、芯片将测试数据经过多级存储单元进行缓存后输出给芯片内的测试总线,通过测试总线将测试数据传输给待测试电路。505. The chip outputs the test data to the test bus in the chip after being buffered by the multi-level storage unit, and transmits the test data to the circuit to be tested through the test bus.
也就是说,当第一流管道从解码器接收到测试数据时,第一流管道可以通过多级存储单元对测试数据进行多级缓存后输出至测试总线。That is to say, when the first stream pipeline receives the test data from the decoder, the first stream pipeline may perform multi-level buffering on the test data through the multi-level storage unit and then output it to the test bus.
在一些实施例中,该测试电路还包括与多级存储单元中的每级存储单元耦合的门控电路;第一流管道包括第一级存储单元和第二级存储单元;In some embodiments, the test circuit further includes a gating circuit coupled to each level of storage units in the multi-level storage unit; the first stream pipeline includes a first level storage unit and a second level storage unit;
第一级存储单元,用于缓存从解码器接收到的测试数据;The first level storage unit is used for buffering the test data received from the decoder;
第一级存储单元,还用于在接收到与第一级存储单元耦合的门控电路发送的时钟信号时,向第二级存储单元发送第一级存储单元中存储的测试数据;The first-level storage unit is further configured to send the test data stored in the first-level storage unit to the second-level storage unit when receiving the clock signal sent by the gate control circuit coupled with the first-level storage unit;
第二级存储单元,用于缓存从第一级存储单元接收到的测试数据。The second-level storage unit is used for buffering the test data received from the first-level storage unit.
示例性的,图11示出的是测试数据输入给第一流管道的示意图,当解码器对单通道输入数据进行解码得到测试数据时,测试数据输入给第一流管道。其中,第一流管道为3级存储单元:1级存储单元、2级存储单元和3级存储单元,每级存储单元包括 多个存储单元(存储单元例如可以为寄存器,图11示出了32个寄存器)。每级存储单元耦合有一个门控电路,用于对测试数据进行打拍。例如当门控电路A接收到写使能(write_enable)信号1时,门控电路A可以向1级存储单元发送时钟信号(WCLK)1,1级将存储单元中的测试数据发送给2级;在一段时间后,门控电路B接收到写使能信号2时,门控电路B可以向2级发送时钟信号2,2级将存储单元中的测试数据发送给3级;一段时间后,门控电路C接收到写使能信号3时,门控电路C可以向3级发送时钟信号3,3级将存储单元中的测试数据发送至测试总线。写使能信号可以由FSM中的计数器(counter generator)触发。Exemplarily, FIG. 11 shows a schematic diagram of inputting test data to the first-stream pipeline. When the decoder decodes single-channel input data to obtain test data, the test data is input to the first-stream pipeline. Wherein, the first stream pipeline is a 3-level storage unit: a 1-level storage unit, a 2-level storage unit, and a 3-level storage unit, and each level of storage unit includes a plurality of storage units (the storage unit can be a register, for example, and FIG. 11 shows 32 register). Each storage unit is coupled with a gate control circuit for beating test data. For example, when gate control circuit A receives write enable (write_enable) signal 1, gate control circuit A can send clock signal (WCLK) 1 to level 1 storage unit, and level 1 sends the test data in the storage unit to level 2; After a period of time, when gate control circuit B receives write enable signal 2, gate control circuit B can send clock signal 2 to level 2, and level 2 sends the test data in the storage unit to level 3; after a period of time, gate When the control circuit C receives the write enable signal 3, the gate control circuit C can send the clock signal 3 to the third stage, and the third stage sends the test data in the storage unit to the test bus. The write enable signal can be triggered by a counter generator in the FSM.
需要说明的是,门控电路和解码器以及FSM的时钟信号可以同源,即均来自同一个主时钟(main clock)。第一流管道可以根据FSM确定的第一流管道的操作状态(接收到的多个使能信号)将测试数据传输至测试总线。It should be noted that the clock signals of the gate control circuit, the decoder and the FSM can be from the same source, that is, they all come from the same main clock (main clock). The first stream pipe may transmit test data to the test bus according to the operating state of the first stream pipe determined by the FSM (received multiple enable signals).
506、芯片根据解码的指令,对从待测试电路返回的测试结果经过多级存储单元进行缓存,并对缓存后输出的测试结果进行编码,得到单通道输出数据。506. According to the decoded instruction, the chip caches the test result returned from the circuit to be tested through the multi-level storage unit, and encodes the cached output test result to obtain single-channel output data.
当测试数据在芯片内部经过多种时序转换和多种接口传输得到测试结果返回至第二流管道时,第二流管道的内部结构与图11示出的第一流管道的结构类似,即测试结果返回至第二流管道时,第二流管道根据FSM确定的第二流管道的操作状态接收通过测试总线返回的测试结果,经过第二流管道中的多级存储单元将测试结果返回给编码器。编码器再对测试结果进行编码,得到单通道输出数据。When the test data is returned to the second flow pipeline through various timing conversions and various interface transmissions in the chip, the internal structure of the second flow pipeline is similar to that of the first flow pipeline shown in Figure 11, that is, the test result When returning to the second stream pipeline, the second stream pipeline receives the test result returned through the test bus according to the operating state of the second stream pipeline determined by the FSM, and returns the test result to the encoder through the multi-level storage unit in the second stream pipeline . The encoder then encodes the test results to obtain single-channel output data.
可以理解,本申请中,FSM确定的编码器、第一流管道和第二流管道的操作状态应与编码器、第一流管道和第二流管道对数据处理的时机吻合,以实现状态和数据的无缝衔接。It can be understood that in this application, the operating states of the encoder, the first stream pipeline and the second stream pipeline determined by the FSM should coincide with the timing of data processing by the encoder, the first stream pipeline and the second stream pipeline, so as to realize the state and data Seamlessly.
在本申请实施例中,这种状态和数据的无缝衔接可以通过FSM确定第一流管道和第二流管道对数据进行缓存的存储单元的级数实现,即通过streaming pipe的存储单元的级数实现。也就是说,第一流管道和第二流管道的存储单元的级数符合:FSM触发编码器进入对单通道响应数据进行编码的状态,与单通道响应数据返回至编码器的时刻一致。In the embodiment of the present application, the seamless connection between the state and data can be realized by FSM determining the number of storage units that cache data in the first stream pipeline and the second stream pipeline, that is, the number of storage units through the streaming pipe accomplish. That is to say, the number of stages of the storage units of the first stream pipeline and the second stream pipeline is consistent: the FSM triggers the encoder to enter the state of encoding the single-channel response data, which is consistent with the moment when the single-channel response data is returned to the encoder.
也就是说,第一流管道中的存储单元的级数和第二流管道中的存储单元的级数,可以用于确定编码器对测试结果进入编码的等待时间。即当测试数据发出后,经过第一流管道的存储单元的级数和第二流管道的存储单元的级数后,当测试结果到达编码器编译时,此时,FSM刚好触发编码器进入编码状态,与测试结果返回至编码器的时机匹配,可实现无延迟的流水型测试数据传输。这种实现方式不需要任何FIFO缓存测试数据和测试结果,通过固定帧FSM实现了测试数据输入和测试结果输出的完全流水处理,实现难度和代价较低,对物理实现和时序较为友好。That is to say, the number of stages of storage units in the first stream pipeline and the number of stages of storage units in the second stream pipeline can be used to determine the waiting time for the encoder to start encoding the test results. That is, after the test data is sent out, after the number of storage units in the first stream pipeline and the number of storage units in the second stream pipeline, when the test result reaches the encoder for compilation, at this time, the FSM just triggers the encoder to enter the encoding state , which matches the timing when the test results are returned to the encoder, enabling pipelined test data transmission without delay. This implementation method does not require any FIFO to cache test data and test results, and realizes the complete pipeline processing of test data input and test result output through fixed frame FSM, which is less difficult and expensive to implement, and is more friendly to physical implementation and timing.
507、芯片将从待测试电路接收到的单通道输出数据转换为多通道输出数据,单通道输出数据与单通道输入数据对应。507. The chip converts the single-channel output data received from the circuit to be tested into multi-channel output data, and the single-channel output data corresponds to the single-channel input data.
编码器可以将得到的单通道输出数据发送给第二变速器,第二变速器,用于在M倍频时钟域下接收单通道输出数据,对单通道输出数据进行位宽转换,得到多通道输出数据;在1倍频时钟下输出多通道输出数据。The encoder can send the obtained single-channel output data to the second transmission, and the second transmission is used to receive the single-channel output data in the M multiplied clock domain, perform bit width conversion on the single-channel output data, and obtain multi-channel output data ; Output multi-channel output data at 1 multiplier clock.
在一些实施例中,第二变速器包括第二缓存器和第二位宽转换电路;In some embodiments, the second transmission includes a second buffer and a second bit width conversion circuit;
第二缓存器,用于缓存在M倍频时钟域下接收到的单通道输出数据;第二位宽转换电路,用于按照输出多通道输出数据的每个通道的位宽从第二缓存器读取单通道输出数据,得到多通道输出数据,并在1倍频时钟域下输出多通道输出数据。The second buffer is used to buffer the single-channel output data received under the M-multiplied clock domain; the second bit width conversion circuit is used to transfer from the second buffer according to the bit width of each channel of output multi-channel output data Read single-channel output data, obtain multi-channel output data, and output multi-channel output data in the 1-fold frequency clock domain.
可以理解,第二变速器的实现与第一变速器类似,假设多通道输出数据为4个32位宽的输出数据时,也可以通过类似图8或图9示出的电路结果实现在4倍频时钟域下接收单通道32位宽输出数据,在第二变速器的第二缓存器中缓存后,经过第二位宽转换电路将单通道32位宽输出数据转换为4个32位宽通道的输出数据,将4个32位宽通道的输出数据在1倍频时钟域下输出至高速串行测试接口,例如输出至HSSTI的多个TX端口。It can be understood that the implementation of the second transmission is similar to that of the first transmission. Assuming that the multi-channel output data is four 32-bit wide output data, it can also be realized by a circuit result similar to that shown in FIG. 8 or FIG. The single-channel 32-bit wide output data is received under the domain, and after buffering in the second buffer of the second transmission, the single-channel 32-bit wide output data is converted into output data of four 32-bit wide channels by the second bit-width conversion circuit , output the output data of four 32-bit wide channels to a high-speed serial test interface in a 1-fold clock domain, for example, to multiple TX ports of HSSTI.
508、芯片通过高速串行测试接口将多通道输出数据转换为高速串行输出数据,向测试机台发送串行输出数据。508. The chip converts the multi-channel output data into high-speed serial output data through the high-speed serial test interface, and sends the serial output data to the test machine.
示例性的,当HSSTI的多个TX端接收到4通道输出数据时,可以将4通道输出数据转换为高速串行输出数据,并通过单通道将高速串行输出数据发送给测试机台,以便测试机台可以通过接收到的高速串行输出数据确定芯片的待测试电路是否正常。Exemplarily, when multiple TX terminals of the HSSTI receive 4-channel output data, the 4-channel output data can be converted into high-speed serial output data, and the high-speed serial output data can be sent to the test machine through a single channel, so that The test machine can determine whether the circuit to be tested of the chip is normal through the received high-speed serial output data.
可以理解,本申请利用高速串行测试接口从测试机台接收高速串行数据并转换为多通道输入数据传输的情况下,可提升测试数据的接收速率;高速串行测试接口从第二变速器接收到通道输出数据并转换为高速串行输出数据的情况下,可提供测试结果的反馈速率,总体来说,提升了芯片测试效率。而且,可占用高速串行测试接口较少的I/O资源传输测试数据。并且,通过上下行的变速器的为输入数据和输出数据的位宽转换和频率转换,可提升测试数据在测试总线的走线频率。It can be understood that when the application utilizes the high-speed serial test interface to receive high-speed serial data from the test machine and convert it into multi-channel input data transmission, the receiving rate of test data can be improved; the high-speed serial test interface receives from the second transmission In the case of channel output data and conversion to high-speed serial output data, the feedback rate of test results can be provided, and overall, the chip test efficiency is improved. Moreover, less I/O resources of the high-speed serial test interface can be used to transmit test data. Moreover, through the bit width conversion and frequency conversion of the input data and output data of the uplink and downlink transmissions, the routing frequency of the test data on the test bus can be increased.
并且,本申请可以基于第一变速器和第二变速器将位宽归一化,并基于归一化后的固定位宽的固定帧状态机、编码器、解码器以及streaming pipe完成芯片测试,HSSTI外围的编解码电路架构简单,也不需要FIFO等缓存结构,降低了芯片占用面积。Moreover, this application can normalize the bit width based on the first transmission and the second transmission, and complete the chip test based on the normalized fixed bit width fixed frame state machine, encoder, decoder and streaming pipe, HSSTI peripheral The encoding and decoding circuit structure of the chip is simple, and no cache structure such as FIFO is required, which reduces the chip footprint.
基于上述图5对应的测试芯片的方法,本申请还提供一种芯片测试电路。该芯片测试电路包括如图4中的电路结构以外,如图12所示,还包括多个帧头对齐(framer)器、通到对齐(Bonding)器、解扰器、扰码器、多路分配器(demultiplexer,DEMUX)以及合路器(MUX)。图12中,多通道输入数据是以4个32位通道输入数据为例示出的。高速串行测试接口以HSSTI示例的,测试机台以ATE示例的。Based on the above method for testing a chip corresponding to FIG. 5 , the present application further provides a chip testing circuit. This chip test circuit comprises outside the circuit structure in Fig. 4, as shown in Fig. 12, also comprises a plurality of frame header alignment (framer) device, pass to alignment (Bonding) device, descrambler, scrambler, multiplexer Distributor (demultiplexer, DEMUX) and combiner (MUX). In FIG. 12 , multi-channel input data is shown by taking four 32-bit channel input data as an example. The example of high-speed serial test interface is HSSTI, and the example of test machine is ATE.
其中,多个帧头对齐器的多个输入端(s、t、…)与高速串行测试接口的多个输出端口耦合,多个帧头对齐器的多个输出端与通道对齐电路的多个输入端(v、w、…)耦合。也即每个帧头对齐器的输入端与高速串行测试接口的一个输出端口耦合,每个帧头对齐器的输出端与通道对齐器的一个输入端耦合。通道对齐器的多个输出端与第一变速器的多个输入端(c、d、…)耦合。解扰器的输入端与第一变速器的输出端e耦合,解扰器的输出端x与解码器的输入端k耦合;第一流管道的输出端n与多路分配器的输入端y耦合,多路分配器的输出端与测试总线耦合;合路器的输入端与测试总线耦合,合路器的输出端与第二流管道的输入端r耦合;扰码器的输入端与编码器的输出端o耦合,扰码器的输出端A与第二变速器的输入端f耦合。Wherein, a plurality of input ends (s, t, ...) of a plurality of frame header aligners are coupled with a plurality of output ports of a high-speed serial test interface, and a plurality of output ends of a plurality of frame header aligners are coupled with a plurality of output ports of a channel alignment circuit Input terminals (v, w, ...) are coupled. That is, the input end of each frame header aligner is coupled to an output port of the high-speed serial test interface, and the output end of each frame header aligner is coupled to an input end of the channel aligner. Multiple outputs of the channel aligner are coupled to multiple inputs (c, d, . . . ) of the first transmission. The input end of the descrambler is coupled with the output end e of the first transmission, the output end x of the descrambler is coupled with the input end k of the decoder; the output end n of the first stream pipeline is coupled with the input end y of the demultiplexer, The output end of the demultiplexer is coupled with the test bus; the input end of the combiner is coupled with the test bus, and the output end of the combiner is coupled with the input end r of the second stream pipeline; the input end of the scrambler is coupled with the encoder The output terminal o is coupled, and the output terminal A of the scrambler is coupled to the input terminal f of the second transmission.
在一些实施例中,每个帧头对齐器,用于从高速串行测试接口的一个输出端口所述多通道输入数据中的一个通道输入数据,并对这一个通道的输入数据进行数据的帧 头对齐后输出给通道对齐器。示例性的,如图13所示,每个通道对应的帧头对齐器可以包括第三缓存器和帧头对齐电路,第三缓存器可以用于对从高速串行测试接口的一个输出端RX接收到的多通道输入数据中的一个通道输入数据进行缓存,帧头对齐电路可以从第三缓存器中读取该通道传输的多个输入数据,并对多个输入数据按照帧头的顺序进行排序后输出。In some embodiments, each frame header aligner is used to input data from one channel of the multi-channel input data from one output port of the high-speed serial test interface, and perform data framing on the input data of this one channel After the header is aligned, it is output to the channel aligner. Exemplarily, as shown in FIG. 13 , the frame header aligner corresponding to each channel may include a third buffer and a frame header alignment circuit, and the third buffer may be used to output RX from a high-speed serial test interface. The input data of one channel in the received multi-channel input data is buffered, and the frame header alignment circuit can read the multiple input data transmitted by the channel from the third buffer, and perform multiple input data according to the sequence of the frame header output after sorting.
通道对齐器,用于对从多个帧头对齐电路接收到的多通道输入数据进行通道间数据对齐后输出给第一变速器。示例性的,如图13所示,该通道对齐器可以包括第四缓存器和通道对齐电路,第四缓存器可以用于对接收到的多个通道对齐电路发送的输入数据进行缓存,通道对齐电路可以从第四缓存器中读取多个通道对齐电路对应的输入数据,并对多个输入数据按照同一个数据包的多份数据进行通道对齐,使得同一个数据包的多份数据传输速率一致,可同时到达第一变速器。The channel aligner is configured to perform inter-channel data alignment on the multi-channel input data received from multiple frame header alignment circuits, and then output the data to the first transmission. Exemplarily, as shown in FIG. 13, the channel aligner may include a fourth buffer and a channel alignment circuit. The fourth buffer may be used to buffer the received input data sent by multiple channel alignment circuits. The channel alignment The circuit can read input data corresponding to multiple channel alignment circuits from the fourth buffer, and perform channel alignment on multiple input data according to multiple copies of the same data packet, so that the multiple data transmission rates of the same data packet Consistent, the first derailleur can be reached at the same time.
可以理解为,从HSSTI输出的4个32位宽通道的输入数据输入到第一变速器时,输入的数据包可能发生乱序,因此,framer可以将从HSSTI接收到的4个32位宽通道的输入数据进行帧头对齐,以将4个通道中每个通道的输入数据按照帧头对齐后的顺序发送至通道对齐器。通道对齐器进行通道间数据对齐可以理解为,由于每个通道传输数据的速度可能存在不一致,一个数据包被切分为4份在4个通道上传输时,每份数据在不同的通道上传输时可能不能同时到达第一变速器,因此,通道对齐器可以将同一个数据包切分后的小数据包在不同通道上传输时同时达到第一变速器。It can be understood that when the input data of the four 32-bit wide channels output from HSSTI is input to the first transmission, the input data packets may be out of order, so the framer can receive the four 32-bit wide channels received from HSSTI The input data is frame-head aligned, so that the input data of each of the 4 channels is sent to the channel aligner in the sequence after the frame header is aligned. The data alignment between channels by the channel aligner can be understood as, due to the possible inconsistency in the transmission speed of each channel, when a data packet is divided into 4 parts and transmitted on 4 channels, each part of data is transmitted on a different channel may not reach the first transmission at the same time, therefore, the channel aligner can transmit the small data packets of the same data packet to the first transmission at the same time when transmitted on different channels.
解扰器用于对单通道输入数据进行解扰,也就是说,ATE发送的输入数据是经过加扰的。类似的,当要输出单通道输出数据时,也需要通过加扰器对单通道输出数据进行加扰。The descrambler is used to descramble the single-channel input data, that is, the input data sent by the ATE is scrambled. Similarly, when the single-channel output data is to be output, the single-channel output data also needs to be scrambled by a scrambler.
多路分配器,可以理解将单通道输入数据传输送到指定输出端的组合逻辑电路。例如多路分配器将单通道输入数据传输至32位宽的测试总线端口输出给待测试电路,或传输至64位宽的测试总线端口输出给待测试电路,或传输至128位宽的测试总线端口输出给待测试电路等。A demultiplexer can be understood as a combinational logic circuit that transfers a single-channel input data to a designated output. For example, the demultiplexer transmits single-channel input data to a 32-bit wide test bus port for output to the circuit under test, or to a 64-bit wide test bus port for output to the circuit under test, or to a 128-bit wide test bus The port outputs to the circuit to be tested, etc.
合路器,可以理解为将从不同位宽的测试总线端口传输的测试结果均通过合路器反馈给第二流管道。The combiner can be understood as feeding back the test results transmitted from the test bus ports with different bit widths to the second stream pipeline through the combiner.
当编码器对测试结果进行编码得到单通道输出数据时,扰码器用于对单通道输出数据进行加扰后输出给第二变速器。When the encoder encodes the test result to obtain single-channel output data, the scrambler is used to scramble the single-channel output data and then output it to the second transmission.
此外,当第一变速器接收到framer发送的多通道输入数据时,第一变速器可以向第二变速器发送读启动触发信号(trigger the read operation),用于指示第二变速器开始工作。这时,图12中HSSTI、帧头对齐器、第一变速器以及第二变速器形成了一个闭环系统,近似于SerDes的远端并行环回模式,成为Deterministic系统。该SerDes的远端并行环回模式可以理解为SerDes进行串并转换后的并行数据不经过解包直接环回给SerDes的TX端口的通路。Deterministic系统可以理解为确知型系统,用于将SerDes的RX发送的输入数据经过确定的整个确知型系统延时后,存在确定的期望数据在SerDes的TX侧可以观测到。该闭环系统中,RX和TX构成相对稳定的相位关系,上行的第一变速器(写侧)与下行的第二变速器(读侧)形成了内部自驱动同步的响应方式,保持了芯片测试电路的确知性和唯一性。In addition, when the first transmission receives the multi-channel input data sent by the framer, the first transmission can send a read start trigger signal (trigger the read operation) to the second transmission to instruct the second transmission to start working. At this time, the HSSTI, frame header aligner, first transmission, and second transmission in Figure 12 form a closed-loop system, which is similar to the remote parallel loopback mode of SerDes and becomes a Deterministic system. The remote parallel loopback mode of the SerDes can be understood as a path through which the parallel data converted by the SerDes is directly looped back to the TX port of the SerDes without unpacking. The Deterministic system can be understood as a deterministic system, which is used to delay the input data sent by the RX of the SerDes through the deterministic whole deterministic system, and the deterministic expected data can be observed on the TX side of the SerDes. In this closed-loop system, RX and TX form a relatively stable phase relationship, and the first upstream transmission (write side) and the second downstream transmission (reading side) form an internal self-driven synchronous response mode, which maintains the accuracy of the chip test circuit. knowledge and uniqueness.
可以理解,Deterministic系统有利于与传统的测试机台的波形生成语言(waveform generation language,WGL/标准测试接口语言(Standard for extensions to Standard Test Interface Language,STIL)格式向量对接,完成相应的芯片测试,降低了对测试机台的硬件和软件的标准要求,有利于测试机台量产的大规模实现。It can be understood that the Deterministic system is conducive to docking with the waveform generation language (waveform generation language, WGL/Standard for extensions to Standard Test Interface Language, STIL) format vector of the traditional test machine to complete the corresponding chip test. The standard requirements for the hardware and software of the test machine are reduced, which is conducive to the large-scale realization of the mass production of the test machine.
本申请实施例还提供一种芯片14,该芯片14可以为任何待测试芯片。The embodiment of the present application also provides a chip 14, which can be any chip to be tested.
在一些实施例中,如图14所示,该芯片14可以包括芯片测试电路、待测试电路和测试总线等。芯片测试电路与测试机台耦合。该芯片中的芯片测试电路以及内部结构可以为如本申请图3~图13所示的任一种电路结构。待测试电路可以为芯片内的逻辑模块,测试总线用于从芯片测试电路接收测试数据,该测试数据经过待测试电路处理后反馈测试结果,测试结果通过测试总线返回至芯片测试电路。In some embodiments, as shown in FIG. 14 , the chip 14 may include a chip test circuit, a circuit to be tested, a test bus, and the like. The chip test circuit is coupled with the test machine. The chip testing circuit and internal structure of the chip may be any circuit structure as shown in FIGS. 3 to 13 of the present application. The circuit to be tested can be a logic module in the chip. The test bus is used to receive test data from the chip test circuit. The test data is processed by the circuit to be tested and fed back to the test result. The test result is returned to the chip test circuit through the test bus.
需要说明的是,本申请的测试机台为ATE以外,还可以为系统级测试(System Level Test,SLT)甚至其他的测试机台或导入板。It should be noted that, besides ATE, the test machine in this application can also be a system level test (System Level Test, SLT) or even other test machines or lead-in boards.
由此,本申请提供的芯片在包括上述测试电路,可以复用高速串行测试接口较少部分的RX和TX的I/O资源作为测试数据加载通道,传输高速串行输入数据,并进行串并转换后发送至第一变速器,并且通过第二变速器对反馈的测试结果进行多通道输出给高速串行测试接口,可以解决用于芯片测试的I/O传输带宽的限制,避免芯片内部逻辑资源增加造成的芯片量产的测试效率低下问题。并且,本申请不需要使用FIFO进行测试数据缓存,而是使用streaming pipe实现对测试数据的缓存,相对FIFO来说,占用的芯片面积较小。Thus, the chip provided by the application includes the above-mentioned test circuit, can multiplex the I/O resources of RX and TX in a small part of the high-speed serial test interface as a test data loading channel, transmit high-speed serial input data, and perform serial After conversion, it is sent to the first transmission, and the feedback test results are multi-channel output to the high-speed serial test interface through the second transmission, which can solve the limitation of the I/O transmission bandwidth used for chip testing and avoid internal logic resources of the chip. The problem of low test efficiency caused by the increase in mass production of chips. Moreover, this application does not need to use FIFO to cache test data, but uses streaming pipe to cache test data. Compared with FIFO, the occupied chip area is smaller.
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be assigned by different Completion of functional modules means that the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation or may be integrated into another device, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的 形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes such as U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk.
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above content is only the specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application, and should covered within the scope of protection of this application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (17)

  1. 一种芯片测试电路,其特征在于,所述芯片测试电路包括高速串行测试接口、第一变速器和第二变速器,所述高速串行测试接口与测试机台基于电容耦合方式互连,且采用差分传输方式接收所述测试机台传输的数据;A chip test circuit, characterized in that the chip test circuit includes a high-speed serial test interface, a first transmission and a second transmission, the high-speed serial test interface and the test machine are interconnected based on capacitive coupling, and adopt Receive the data transmitted by the test machine in a differential transmission mode;
    所述高速串行测试接口,用于接收所述测试机台发送的高速串行输入数据,将所述高速串行输入数据转换为多通道输入数据,向所述第一变速器发送所述多通道输入数据;The high-speed serial test interface is used to receive the high-speed serial input data sent by the test machine, convert the high-speed serial input data into multi-channel input data, and send the multi-channel input data to the first transmission Input data;
    所述第一变速器,用于将所述多通道输入数据归一为单通道输入数据,所述单通道输入数据用于对待测试电路进行测试,所述待测试电路与所述芯片测试电路耦合;The first transmission is used to normalize the multi-channel input data into single-channel input data, the single-channel input data is used to test the circuit to be tested, and the circuit to be tested is coupled to the chip test circuit;
    所述第二变速器,用于从所述待测试电路接收单通道输出数据,将所述单通道输出数据转换为多通道输出数据,并向所述高速串行测试接口发送所述多通道输出数据,其中所述单通道输出数据与所述单通道输入数据对应;The second transmission is used to receive single-channel output data from the circuit to be tested, convert the single-channel output data into multi-channel output data, and send the multi-channel output data to the high-speed serial test interface , wherein the single-channel output data corresponds to the single-channel input data;
    所述高速串行测试接口,还用于将所述多通道输出数据转换为高速串行输出数据,向所述测试机台发送所述高速串行输出数据。The high-speed serial test interface is also used to convert the multi-channel output data into high-speed serial output data, and send the high-speed serial output data to the test machine.
  2. 根据权利要求1所述的测试电路,其特征在于,所述多通道输入数据在M个通道上传输,M为大于1的整数;The test circuit according to claim 1, wherein the multi-channel input data is transmitted on M channels, and M is an integer greater than 1;
    所述第一变速器,用于在1倍频时钟域下接收所述多通道输入数据,对所述多通道输入数据进行位宽转换,得到所述单通道输入数据;在M倍频时钟域下输出所述单通道输入数据;The first transmission is configured to receive the multi-channel input data in the 1-multiple frequency clock domain, perform bit width conversion on the multi-channel input data, and obtain the single-channel input data; in the M-multiple frequency clock domain outputting the single-channel input data;
    所述第二变速器,用于在M倍频时钟域下接收所述单通道输出数据,对所述单通道输出数据进行位宽转换,得到所述多通道输出数据;在1倍频时钟下输出所述多通道输出数据;The second transmission is used to receive the single-channel output data in the M-multiplied clock domain, perform bit width conversion on the single-channel output data, and obtain the multi-channel output data; output under the 1-multiplied clock The multi-channel output data;
    其中,所述单通道输入数据占用的位宽和所述单通道输出数据占用的位宽固定。Wherein, the bit width occupied by the single-channel input data and the bit width occupied by the single-channel output data are fixed.
  3. 根据权利要求2所述的测试电路,其特征在于,The test circuit according to claim 2, characterized in that,
    所述第一变速器包括第一缓存器和第一位宽转换电路;The first transmission includes a first buffer and a first bit width conversion circuit;
    所述第一缓存器,用于缓存在所述1倍频时钟域下从所述高速串行测试接口接收的所述多通道输入数据;所述第一位宽转换电路,用于按照输出所述单通道输入数据的通道位宽从所述第一缓存器读取所述多通道输入数据,得到所述单通道输入数据,并在所述M倍频时钟域下输出所述单通道输入数据;The first buffer is used for buffering the multi-channel input data received from the high-speed serial test interface under the 1-fold frequency clock domain; the first bit width conversion circuit is used for outputting according to the The channel bit width of the single-channel input data reads the multi-channel input data from the first buffer to obtain the single-channel input data, and outputs the single-channel input data under the M multiplied clock domain ;
    所述第二变速器包括第二缓存器和第二位宽转换电路;The second transmission includes a second buffer and a second bit width conversion circuit;
    所述第二缓存器,用于缓存在所述M倍频时钟域下接收到的所述单通道输出数据;所述第二位宽转换电路,用于按照输出所述多通道输出数据的每个通道的位宽从所述第二缓存器读取所述单通道输出数据,得到所述多通道输出数据,并在所述1倍频时钟域下输出所述多通道输出数据。The second buffer is configured to buffer the single-channel output data received in the M-multiplied clock domain; the second bit width conversion circuit is configured to output the multi-channel output data according to each Read the single-channel output data from the second buffer with a bit width of two channels to obtain the multi-channel output data, and output the multi-channel output data in the 1-fold frequency clock domain.
  4. 根据权利要求1-3任一项所述的测试电路,其特征在于,所述测试电路还包括解码器、编码器、有限状态机FSM、第一流管道和第二流管道;所述第一流管道和所述第二流管道均包括多级存储单元;The test circuit according to any one of claims 1-3, wherein the test circuit further comprises a decoder, an encoder, a finite state machine (FSM), a first flow pipeline and a second flow pipeline; the first flow pipeline and said second flow conduit each comprising a multi-level storage unit;
    所述第一变速器的输出端与所述解码器的输入端耦合,所述解码器的输出端与所述第一流管道的输入端耦合;所述第一流管道的输出端与所述测试电路的测试总线耦 合;The output end of the first transmission is coupled to the input end of the decoder, and the output end of the decoder is coupled to the input end of the first flow pipeline; the output end of the first flow pipeline is coupled to the test circuit Test bus coupling;
    所述第二变速器的输入端与所述编码器的输出端耦合,所述编码器的输入端与所述第二流管道的输出端耦合,所述第二流管道的输入端与所述测试总线耦合;The input of the second transmission is coupled to the output of the encoder, the input of the encoder is coupled to the output of the second flow conduit, the input of the second flow conduit is coupled to the test bus coupling;
    所述FSM均与所述解码器、所述编码器、所述第一流管道和所述第二流管道耦合。The FSMs are each coupled to the decoder, the encoder, the first stream pipe, and the second stream pipe.
  5. 根据权利要求4所述的测试电路,其特征在于,The test circuit according to claim 4, characterized in that,
    所述解码器,用于对所述单通道输入数据进行解码操作,将解码的测试数据发送给所述第一流管道,并将解码的指令发送给所述FSM;The decoder is configured to perform a decoding operation on the single-channel input data, send the decoded test data to the first stream pipeline, and send the decoded instruction to the FSM;
    所述FSM,用于根据所述解码的指令确定所述编码器、所述第一流管道和所述第二流管道的操作状态;the FSM is configured to determine an operating state of the encoder, the first stream pipeline, and the second stream pipeline based on the decoded instructions;
    所述第一流管道,用于根据所述FSM确定的所述第一流管道的操作状态将所述测试数据传输至所述测试总线;the first stream pipe, configured to transmit the test data to the test bus according to the operating state of the first stream pipe determined by the FSM;
    所述第二流管道,用于根据所述FSM确定的所述第二流管道的操作状态接收通过所述测试总线返回的测试结果,将所述测试结果发送给所述编码器;The second stream pipeline is configured to receive a test result returned through the test bus according to the operating state of the second stream pipeline determined by the FSM, and send the test result to the encoder;
    所述编码器,用于根据所述FSM确定的所述编码器的操作状态对所述测试结果进行编码,得到所述单通道输出数据,并向所述第二变速器发送所述单通道输出数据。The encoder is configured to encode the test result according to the operating state of the encoder determined by the FSM, obtain the single-channel output data, and send the single-channel output data to the second transmission .
  6. 根据权利要求5所述的测试电路,其特征在于,所述测试电路还包括与所述多级存储单元中的每级存储单元耦合的门控电路;所述第一流管道包括第一级存储单元和第二级存储单元;The test circuit according to claim 5, wherein the test circuit further comprises a gating circuit coupled to each level of storage units in the multi-level storage units; the first stream pipeline comprises a first level of storage units and secondary storage units;
    所述第一级存储单元,用于缓存从所述解码器接收到的所述测试数据;The first-level storage unit is configured to buffer the test data received from the decoder;
    所述第一级存储单元,还用于在接收到与所述第一级存储单元耦合的门控电路发送的时钟信号时,向所述第二级存储单元发送所述第一级存储单元中存储的所述测试数据;The first-level storage unit is further configured to send the clock signal in the first-level storage unit to the second-level storage unit when receiving a clock signal sent by a gating circuit coupled to the first-level storage unit. said test data stored;
    所述第二级存储单元,用于缓存从所述第一级存储单元接收到的所述测试数据。The second-level storage unit is configured to cache the test data received from the first-level storage unit.
  7. 根据权利要求1-6任一项所述的测试电路,其特征在于,所述测试电路还包括多个帧头对齐器和通道对齐器;每个帧头对齐器的输入端与所述高速串行测试接口的一个输出端口耦合,所述每个帧头对齐器的输出端与所述通道对齐器的一个输入端耦合,所述通道对齐器的多个输出端与所述第一变速器的多个输入端口耦合;The test circuit according to any one of claims 1-6, wherein the test circuit also includes a plurality of frame header aligners and channel aligners; the input end of each frame header aligner is connected to the high-speed serial One output port of the row test interface is coupled, the output end of each frame header aligner is coupled with one input end of the channel aligner, and the multiple output ends of the channel aligner are coupled with the multiple output terminals of the first transmission input port coupling;
    所述每个帧头对齐器,用于从所述高速串行测试接口的一个输出端口接收所述多通道输入数据中的一个通道输入数据,并对所述一个通道的输入数据进行数据的帧头对齐后输出给所述通道对齐器;Each frame header aligner is used to receive one channel input data in the multi-channel input data from an output port of the high-speed serial test interface, and perform data frame on the input data of the one channel After the head is aligned, it is output to the channel aligner;
    所述通道对齐器,用于对从所述多个帧头对齐器接收到的多通道输入数据进行通道间数据对齐后输出给所述第一变速器。The channel aligner is configured to perform inter-channel data alignment on the multi-channel input data received from the plurality of frame header aligners, and then output the data to the first transmission.
  8. 根据权利要求7所述的测试电路,其特征在于,The test circuit according to claim 7, characterized in that,
    所述每个帧头对齐器包括第三缓存器和帧头对齐电路;Each frame header aligner includes a third buffer and a frame header alignment circuit;
    所述第三缓存器,用于缓存从所述高速串行测试接口的一个输出端口接收到的所述多通道输入数据中的一个通道输入数据;所述帧头对齐电路,用于从所述第三缓存器中读取所述一个通道输入数据,并对所述一个通道输入数据按照帧头进行排序后输出给所述通道对齐电路;The third buffer is used for buffering one channel input data in the multi-channel input data received from an output port of the high-speed serial test interface; the frame header alignment circuit is used for Reading the input data of the one channel in the third buffer, and sorting the input data of the one channel according to the frame header and outputting it to the channel alignment circuit;
    所述通道对齐器包括第四缓存器和通道对齐电路;The channel aligner includes a fourth buffer and a channel alignment circuit;
    所述第四缓存器,用于缓存从所述多个通道对齐电路发送的多个通道输入数据;所述通道对齐电路,用于从所述第四缓存器读取所述多个通道输入数据,对所述多个通道输入数据进行通道间对齐后输出给所述第一变速器。The fourth buffer is used to buffer multiple channel input data sent from the multiple channel alignment circuits; the channel alignment circuit is used to read the multiple channel input data from the fourth buffer , performing channel-to-channel alignment on the multiple channel input data and outputting it to the first transmission.
  9. 一种测试芯片的方法,其特征在于,所述芯片包括高速串行测试接口,所述高速串行测试接口与测试机台基于电容耦合方式互连,且采用差分传输方式接收所述测试机台传输的数据,所述方法包括:A method for testing a chip, characterized in that the chip includes a high-speed serial test interface, the high-speed serial test interface is interconnected with a test machine based on a capacitive coupling method, and the test machine is received by a differential transmission method The data transmitted, the method includes:
    所述芯片通过所述高速串行测试接口接收所述测试机台发送的高速串行输入数据,将所述高速串行输入数据转换为多通道输入数据;The chip receives the high-speed serial input data sent by the test machine through the high-speed serial test interface, and converts the high-speed serial input data into multi-channel input data;
    所述芯片将所述多通道输入数据归一为单通道输入数据,所述单通道输入数据用于对芯片内的待测试电路进行测试;The chip normalizes the multi-channel input data into single-channel input data, and the single-channel input data is used to test the circuit to be tested in the chip;
    所述芯片将从所述待测试电路接收到的单通道输出数据转换为多通道输出数据,所述单通道输出数据与所述单通道输入数据对应;The chip converts the single-channel output data received from the circuit to be tested into multi-channel output data, and the single-channel output data corresponds to the single-channel input data;
    所述芯片通过所述高速串行测试接口将所述多通道输出数据转换为高速串行输出数据,向所述测试机台发送所述高速串行输出数据。The chip converts the multi-channel output data into high-speed serial output data through the high-speed serial test interface, and sends the high-speed serial output data to the test machine.
  10. 根据权利要求9所述的方法,其特征在于,所述多通道输入数据在M个通道上传输,M为大于1的整数;The method according to claim 9, wherein the multi-channel input data is transmitted on M channels, and M is an integer greater than 1;
    所述芯片将所述多通道输入数据归一为单通道输入数据包括:所述芯片对在1倍频时钟域下传输的所述多通道输入数据进行位宽转换,得到M倍频时钟域下传输的所述单通道输入数据;The chip normalizing the multi-channel input data into single-channel input data includes: the chip performs bit width conversion on the multi-channel input data transmitted in the 1-fold frequency clock domain to obtain the M-multiple frequency clock domain. said single-channel input data transmitted;
    所述芯片将从所述待测试电路接收到的单通道输出数据转换为多通道输出数据包括:所述芯片对在M倍频时钟域下接收到的所述单通道输出数据进行位宽转换,得到在1倍频时钟下传输的所述多通道输出数据;The chip converting the single-channel output data received from the circuit to be tested into multi-channel output data includes: the chip performs bit width conversion on the single-channel output data received under the M frequency multiplied clock domain, Obtain the multi-channel output data transmitted under 1 multiplied clock;
    其中,所述单通道输入数据占用的位宽和所述单通道输出数据占用的位宽固定。Wherein, the bit width occupied by the single-channel input data and the bit width occupied by the single-channel output data are fixed.
  11. 根据权利要求10所述的方法,其特征在于,The method according to claim 10, characterized in that,
    所述芯片将所述多通道输入数据归一为单通道输入数据包括:The chip normalizing the multi-channel input data into single-channel input data includes:
    所述芯片缓存在所述1倍频时钟域下从所述高速串行测试接口接收的所述多通道输入数据;所述芯片控按照输出所述单通道输入数据的通道位宽从第一缓存器读取所述多通道输入数据,得到所述单通道输入数据,并在所述M倍频时钟域下输出所述单通道输入数据;The chip buffers the multi-channel input data received from the high-speed serial test interface under the 1-fold frequency clock domain; the chip controller outputs the channel bit width of the single-channel input data from the first buffer The device reads the multi-channel input data, obtains the single-channel input data, and outputs the single-channel input data under the M frequency multiplied clock domain;
    所述芯片将从所述待测试电路接收到的单通道输出数据转换为多通道输出数据包括:The chip converting the single-channel output data received from the circuit to be tested into multi-channel output data includes:
    所述芯片缓存在所述M倍频时钟域下接收到的所述单通道输出数据;所述芯片按照输出所述多通道输出数据的每个通道的位宽从第二缓存器读取所述单通道输出数据,得到所述多通道输出数据,并在所述1倍频时钟域下输出所述多通道输出数据。The chip buffers the single-channel output data received under the M-multiplied clock domain; the chip reads the multi-channel output data from the second buffer according to the bit width of each channel that outputs the multi-channel output data Single-channel output data, obtaining the multi-channel output data, and outputting the multi-channel output data in the 1-multiplied clock domain.
  12. 根据权利要求9-11任一项所述的方法,其特征在于,在所述芯片将从所述待测试电路接收到的单通道输出数据转换为多通道输出数据之前,所述方法还包括:The method according to any one of claims 9-11, wherein before the chip converts the single-channel output data received from the circuit to be tested into multi-channel output data, the method further comprises:
    所述芯片对所述单通道输入数据进行解码操作,以获取解码的指令和测试数据;The chip performs a decoding operation on the single-channel input data to obtain decoded instructions and test data;
    所述芯片将所述测试数据经过多级存储单元进行缓存后输出给所述芯片内的测试总线,通过所述测试总线将所述测试数据传输给所述待测试电路;The chip outputs the test data to a test bus in the chip after buffering the test data through a multi-level storage unit, and transmits the test data to the circuit to be tested through the test bus;
    所述芯片根据所述解码的指令,对从所述待测试电路返回的测试结果经过多级存储单元进行缓存,并对缓存后输出的所述测试结果进行编码,得到所述单通道输出数据。According to the decoded instructions, the chip caches the test results returned from the circuit to be tested through multi-level storage units, and encodes the cached and outputted test results to obtain the single-channel output data.
  13. 根据权利要求12所述的方法,其特征在于,所述多级存储单元包括第一级存储单元和第二级存储单元;所述芯片将所述测试数据经过多级存储单元进行缓存后输出给所述芯片内的测试总线包括:The method according to claim 12, wherein the multi-level storage unit includes a first-level storage unit and a second-level storage unit; the chip outputs the test data to the The test bus in the chip includes:
    控制所述第一级存储单元缓存从所述解码器接收到的所述测试数据;controlling the first-level storage unit to cache the test data received from the decoder;
    控制所述第一级存储单元在接收到与所述第一级存储单元耦合的门控电路发送的时钟信号时,向所述第二级存储单元发送所述第一级存储单元中存储的所述测试数据;controlling the first-level storage unit to send all the data stored in the first-level storage unit to the second-level storage unit when receiving a clock signal sent by a gating circuit coupled to the first-level storage unit; The above test data;
    控制所述第二级存储单缓存从所述第一级存储单元接收到的所述测试数据。and controlling the second-level storage to single-buffer the test data received from the first-level storage unit.
  14. 根据权利要求9-13任一项所述的方法,其特征在于,在所述芯片将所述多通道输入数据归一为单通道输入数据之前,所述方法还包括:The method according to any one of claims 9-13, wherein before the chip normalizes the multi-channel input data into single-channel input data, the method further comprises:
    所述芯片对所述多通道输入数据中每个通道的输入数据进行数据的帧头对齐;The chip performs data frame header alignment on the input data of each channel in the multi-channel input data;
    所述芯片对帧头对齐后的所述多通道输入数据进行通道间数据对齐。The chip performs inter-channel data alignment on the multi-channel input data after frame header alignment.
  15. 根据权利要求14所述的方法,其特征在于,所述芯片对所述多通道输入数据中每个通道的输入数据进行数据的帧头对齐包括:The method according to claim 14, wherein the frame header alignment performed by the chip on the input data of each channel in the multi-channel input data comprises:
    所述芯片控制第三缓存器缓存从所述高速串行测试接口的一个输出端口接收到的所述多通道输入数据中的一个通道输入数据;所述芯片控制帧头对齐电路从所述第三缓存器中读取所述一个通道输入数据,并对所述一个通道输入数据按照帧头进行排序后输出给所述通道对齐电路;The chip controls the third buffer to cache one channel input data in the multi-channel input data received from an output port of the high-speed serial test interface; the chip controls the frame header alignment circuit from the third Reading the input data of the one channel from the buffer, sorting the input data of the one channel according to the frame header and outputting it to the channel alignment circuit;
    所述芯片对帧头对齐后的所述多通道输入数据进行通道间数据对齐包括:The chip performing data alignment between channels on the multi-channel input data after frame header alignment includes:
    所述芯片控制第四缓存器缓存从所述多个通道对齐电路发送的多个通道输入数据;所述芯片控制通道对齐电路从所述第四缓存器读取所述多个通道输入数据,对所述多个通道输入数据进行通道间对齐后输出给所述第一变速器。The chip controls the fourth buffer to cache multiple channel input data sent from the multiple channel alignment circuits; the chip controls the channel alignment circuit to read the multiple channel input data from the fourth buffer, and The input data of the multiple channels is aligned between channels and then output to the first transmission.
  16. 一种通信装置,其特征在于,包括至少一个处理器,所述至少一个处理器与存储器耦合,所述至少一个处理器用于读取并执行所述存储器中存储的程序,以使得所述通信装置执行如上述权利要求9-15中的任一项所述的方法。A communication device, characterized in that it includes at least one processor, the at least one processor is coupled to a memory, and the at least one processor is used to read and execute a program stored in the memory, so that the communication device Performing a method as claimed in any one of claims 9-15 above.
  17. 一种计算机可读存储介质,其特征在于,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述权利要求9-15中的任一项所述的方法。A computer-readable storage medium is characterized by comprising computer instructions, and when the computer instructions are run on the electronic device, the electronic device is made to execute the method described in any one of claims 9-15.
PCT/CN2021/102190 2021-06-24 2021-06-24 Chip test circuit and method WO2022266959A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202180095927.6A CN117120856A (en) 2021-06-24 2021-06-24 Chip test circuit and method
PCT/CN2021/102190 WO2022266959A1 (en) 2021-06-24 2021-06-24 Chip test circuit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/102190 WO2022266959A1 (en) 2021-06-24 2021-06-24 Chip test circuit and method

Publications (1)

Publication Number Publication Date
WO2022266959A1 true WO2022266959A1 (en) 2022-12-29

Family

ID=84543988

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/102190 WO2022266959A1 (en) 2021-06-24 2021-06-24 Chip test circuit and method

Country Status (2)

Country Link
CN (1) CN117120856A (en)
WO (1) WO2022266959A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116488779A (en) * 2023-06-15 2023-07-25 无锡麟聚半导体科技有限公司 Test method and system for data stream transmission verification based on randomly generated data source

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050079822A1 (en) * 2003-10-10 2005-04-14 Texas Instruments Incorporated Automated test of receiver sensitivity and receiver jitter tolerance of an integrated circuit
US7428678B1 (en) * 2004-09-22 2008-09-23 Cypress Semiconductor Corporation Scan testing of integrated circuits with high-speed serial interface
CN101404609A (en) * 2008-11-12 2009-04-08 华为技术有限公司 Data exchange method, apparatus and system
CN102685091A (en) * 2011-11-28 2012-09-19 曙光信息产业(北京)有限公司 10G Ethernet gearbox first in first out (Fifo) read-write control and fault tolerance system
CN107391322A (en) * 2016-05-17 2017-11-24 三星电子株式会社 Test equipment based on binary vector
US10038450B1 (en) * 2015-12-10 2018-07-31 Xilinx, Inc. Circuits for and methods of transmitting data in an integrated circuit
CN113132662A (en) * 2021-04-14 2021-07-16 深圳市视显光电技术有限公司 Method and device for realizing HDMI2.1 interface data transmission based on FPGA and conversion box

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050079822A1 (en) * 2003-10-10 2005-04-14 Texas Instruments Incorporated Automated test of receiver sensitivity and receiver jitter tolerance of an integrated circuit
US7428678B1 (en) * 2004-09-22 2008-09-23 Cypress Semiconductor Corporation Scan testing of integrated circuits with high-speed serial interface
CN101404609A (en) * 2008-11-12 2009-04-08 华为技术有限公司 Data exchange method, apparatus and system
CN102685091A (en) * 2011-11-28 2012-09-19 曙光信息产业(北京)有限公司 10G Ethernet gearbox first in first out (Fifo) read-write control and fault tolerance system
US10038450B1 (en) * 2015-12-10 2018-07-31 Xilinx, Inc. Circuits for and methods of transmitting data in an integrated circuit
CN107391322A (en) * 2016-05-17 2017-11-24 三星电子株式会社 Test equipment based on binary vector
CN113132662A (en) * 2021-04-14 2021-07-16 深圳市视显光电技术有限公司 Method and device for realizing HDMI2.1 interface data transmission based on FPGA and conversion box

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHANG QIN, YING YANG, CANMEI YANG, FUJIANG LIN: "A novel kind of the gearbox design of physical coding sublayer in 10GBASE-KR", INFORMATION AND NETWORK SECURITY, no. 13, 10 July 2016 (2016-07-10), XP093016386, ISSN: 2096-5133, DOI: 10.19358/j.issn.1674-7720.2016.13.010 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116488779A (en) * 2023-06-15 2023-07-25 无锡麟聚半导体科技有限公司 Test method and system for data stream transmission verification based on randomly generated data source
CN116488779B (en) * 2023-06-15 2023-09-15 无锡麟聚半导体科技有限公司 Test method and system for data stream transmission verification based on randomly generated data source

Also Published As

Publication number Publication date
CN117120856A (en) 2023-11-24

Similar Documents

Publication Publication Date Title
CN112260689B (en) Sampling calibration method for self-adaptive delay compensation serial ADC sampling system
US7843216B2 (en) Techniques for optimizing design of a hard intellectual property block for data transmission
US7257655B1 (en) Embedded PCI-Express implementation
US7936809B2 (en) Economical, scalable transceiver jitter test
US7152136B1 (en) Implementation of PCI express
US7590911B1 (en) Apparatus and method for testing and debugging an integrated circuit
JP4279672B2 (en) Parallel data communication with data valid indicator and skew intolerant data group
CN112394281B (en) Test signal parallel loading conversion circuit and system-on-chip
JP2004520778A (en) Parallel data communication with skew-tolerant data groups
US20100257293A1 (en) Route Lookup System, Ternary Content Addressable Memory, and Network Processor
CN108683536B (en) Configurable dual-mode converged communication method of asynchronous network on chip and interface thereof
CN110515879B (en) Asynchronous transmission device and transmission method thereof
CN108462620B (en) Gilbert-level SpaceWire bus system
US20200349988A1 (en) Data transmission code and interface
WO2022266959A1 (en) Chip test circuit and method
CN112543158A (en) Serdes architecture for 64B/66B conversion
US10417171B1 (en) Circuits for and methods of enabling the communication of serialized data in a communication link associated with a communication network
US20230117385A1 (en) Low latency retimer and low latency control method
CN101599808B (en) Method and system for testing cross board
US7000158B2 (en) Simplifying verification of an SFI converter by data format adjustment
US10049067B2 (en) Controller-PHY connection using intra-chip SerDes
US7165196B1 (en) Method for testing serializers/de-serializers
US7657804B2 (en) Plesiochronous transmit pin with synchronous mode for testing on ATE
WO2023104210A1 (en) Data transmission chip and electronic device
CN113676310B (en) Data transmission device for radar system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21946455

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE