System-on-chip, testing method thereof and electronic equipment

By designing reusable test circuits in system-level chips, the problem of low test efficiency of complex clock networks and functional modules is solved, efficient chip testing is achieved, cost and area are reduced, and product time to market is shortened.

CN118780240APending Publication Date: 2024-10-15HAINING ESWIN IC DESIGN CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410814764.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In system-level chip design, how to efficiently test complex clock networks and functional modules, improve test efficiency, reduce chip area and cost, and shorten product time to market.

Method used

Design a system-on-chip that includes multiple intellectual property cores and test circuits. The test circuit can select target signals among multiple intellectual property cores and transmit them to pins. Signals are transmitted and preprocessed through dedicated and general-purpose pins. To achieve signal detection, the design of the test circuit allows reuse, reducing chip area and cost, and improving test flexibility and efficiency.

Benefits of technology

It improves the test efficiency after chip recycling, shortens the time to market, reduces chip costs, improves chip integration, and makes the test process more flexible.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780240A_ABST
    Figure CN118780240A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a system-on-chip, a testing method thereof and electronic equipment. The system-on-chip comprises a plurality of intellectual property cores, a test circuit and a plurality of pins, the plurality of intellectual property cores are connected with the input end of the test circuit, and the plurality of pins are connected with the output end of the test circuit; and the test circuit is configured to select a target intellectual property core from the plurality of intellectual property cores and transmit a plurality of target signals of the target intellectual property core to the plurality of pins.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to but is not limited to a system-level chip and a testing method thereof, and an electronic device. Background Art

[0002] With the rapid development of chip manufacturing process and design technology, the functions implemented by System on a Chip (SoC) design are becoming more and more complex and the performance is getting higher and higher. The clock network distribution of each functional module and IP core inside the corresponding SoC chip is also more complex. Therefore, how to test the chip efficiently has become an important issue. Summary of the invention

[0003] In view of this, the embodiments of the present application provide a system-level chip and a test method thereof, and an electronic device, which can improve the test efficiency after the chip is returned.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] An embodiment of the present application provides a system-level chip, including: multiple intellectual property cores, a test circuit, and multiple pins; the multiple intellectual property cores are connected to the input end of the test circuit, and the multiple pins are connected to the output end of the test circuit; the test circuit is configured to select a target intellectual property core from the multiple intellectual property cores and transmit multiple target signals of the target intellectual property core to the multiple pins.

[0006] In a possible implementation, the plurality of pins include: at least one dedicated pin; and the test circuit is further configured to transmit each of the target signals to a corresponding one of the dedicated pins.

[0007] In a possible implementation, the plurality of pins further include: at least one general pin; the test circuit is further configured to preprocess the plurality of target signals in sequence to obtain a plurality of preprocessed signals, and transmit the plurality of preprocessed signals to the general pin.

[0008] In a possible implementation, the test circuit includes: a first selector, a first transmission path, a second transmission path and a second selector; the first selector is connected to a plurality of the intellectual property cores, and is configured to select the target intellectual property core from the plurality of the intellectual property cores, and output a plurality of the target signals of the target intellectual property core; the input ends of the first transmission path and the second transmission path are both connected to the first selector; the output ends of the first transmission path and the second transmission path are both connected to the second selector; wherein a preprocessing module is provided on the first transmission path; the preprocessing module is configured to generate a plurality of the preprocessing signals; the second transmission path is configured to transmit a plurality of the target signals directly to the second selector; the second selector is configured to select one from the first transmission path and the second transmission path, and transmit the corresponding signal to the pin.

[0009] In a possible implementation manner, a priority for selecting the second transmission path is higher than a priority for selecting the first transmission path.

[0010] In a possible implementation, the preprocessing module includes: a third selector, a third transmission path, a fourth transmission path and a fourth selector; the third selector is connected to the output end of the first selector and is configured to select a first target signal from multiple target signals; the input ends of the third transmission path and the fourth transmission path are both connected to the third selector; the output ends of the third transmission path and the fourth transmission path are both connected to the fourth selector; wherein a frequency divider is provided on the third transmission path; the frequency divider is configured to perform frequency division processing on the first target signal; the fourth transmission path is configured to transmit the first target signal directly to the fourth selector; the fourth selector is configured to select one from the third transmission path and the fourth transmission path and output the corresponding signal.

[0011] In one possible implementation, the fourth selector is further configured to select the second second transmission path to output the first target signal if the frequency of the first target signal is lower than the operating frequency of the universal pin; and to select the first second transmission path to divide the first target signal and output it if the frequency of the first target signal is higher than the operating frequency of the universal pin.

[0012] In a possible implementation, the preprocessing module also includes: a bit expansion module; the bit expansion module is connected to the output end of the fourth selector, and is configured to perform bit width matching processing on the signal output by the fourth selector to obtain the preprocessed signal, and output the preprocessed signal to the input end of the second selector.

[0013] In a possible implementation, the system-level chip also includes: a frequency calculation module; the frequency calculation module is connected to the output end of the fourth selector, and is configured to perform frequency calculation processing on the signal output by the fourth selector, and transmit the calculated result to the storage module.

[0014] An embodiment of the present application also provides a system-level chip testing method, the method comprising: selecting a target intellectual property core from a plurality of intellectual property cores; transmitting a plurality of target signals of the target intellectual property core to corresponding dedicated pins; or, preprocessing the plurality of target signals in sequence to obtain a plurality of preprocessed signals, and transmitting the plurality of preprocessed signals to a common pin.

[0015] An embodiment of the present application also provides an electronic device, which includes the system-level chip as described in the above solution.

[0016] It can be seen that the embodiment of the present application provides a system-on-chip and a test method thereof, and an electronic device, wherein the test circuit is configured to select a target intellectual property core from a plurality of intellectual property cores, and transmit a plurality of target signals of the target intellectual property core to a plurality of pins.

[0017] It is understandable that multiple IP cores are connected to the test circuit, and multiple IP cores can use the same test circuit to lead signals to the pins, without setting up a test circuit for each IP core, that is, the test circuit can be reused, thereby reducing the chip area as much as possible, improving the chip integration, and controlling the chip cost. At the same time, the test circuit makes the test of the chip after the return more flexible, thereby improving the test efficiency after the return and shortening the product launch time. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 Schematic diagram of the structure of the system-level chip provided in the embodiment of the present application Figure 1 ;

[0019] Figure 2 Schematic diagram of the structure of the system-level chip provided in the embodiment of the present application Figure 2 ;

[0020] Figure 3 A schematic diagram of the structure of a pre-processing module in a system-on-chip provided in an embodiment of the present application;

[0021] Figure 4 Schematic diagram of the structure of the system-level chip provided in the embodiment of the present application Figure 3 ;

[0022] Figure 5Schematic diagram of the process of the system-on-chip testing method provided in the embodiment of the present application Figure 1 ;

[0023] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0025] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0026] If similar descriptions of "first / second" appear in the application documents, the following description is added. In the following description, the terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0028] Figure 1 This is an optional structural diagram of a system-level chip provided in an embodiment of the present application. Figure 1 As shown, the system-level chip includes: multiple intellectual property cores (i.e., IP cores) 100, a test circuit 200, and multiple pins 300; the multiple intellectual property cores 100 are connected to the input end of the test circuit 200, and the multiple pins 300 are connected to the output end of the test circuit 200; the test circuit 200 is configured to select a target intellectual property core 100-Ι from the multiple intellectual property cores 100, and transmit multiple target signals of the target intellectual property core 100-Ι to the multiple pins 300.

[0029] It should be noted that a system on a chip (SoC) may include multiple IP cores, wherein an IP core is a pre-designed or even verified integrated circuit, device or component with a certain function.

[0030] By way of example, an IP core may be a processor core, such as a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), and a neural processing unit (NPU). An IP core may also be a memory core, such as a dynamic random access memory (DRAM), a static random access memory (SRAM), etc. In addition, an IP core may also be a core with various special functions. For example, various multimedia cores (USB interface core, JPEG compression core, MPEG decoder core, etc.), and cores related to network processing (Ethernet controller core, media access control core, etc.).

[0031] In the embodiment of the present application, a target intellectual property core 100-1 is selected from a plurality of intellectual property cores 100, and the digital signal in the target intellectual property core 100-1 is the target signal to be tested. In other words, the target signal is a digital signal in the target intellectual property core 100-1, and the target signal can reflect the internal status of the target intellectual property core 100-1. By way of example, the target signal can be a key digital signal such as a clock signal or a reset signal, or can be a special digital signal in the target intellectual property core 100-1 that is different from other intellectual property cores 100.

[0032] Continue to refer to Figure 1 The test circuit 200 is used to lead the digital signal in the intellectual property core 100 to the pin 300, so as to detect whether the digital signal is normal through the pin 300, and on this basis, determine whether the function of the intellectual property core 100 is normal. Here, the intellectual property core 100 can be a processor core in the SoC, or a memory core or a multimedia core.

[0033] That is to say, in the embodiment of the present application, multiple different types of intellectual property cores 100 can use the same test circuit 200 to lead digital signals to the pin 300, without having to set up a test circuit 200 for each intellectual property core 100, that is, the test circuit 200 can be reused, thereby reducing the chip area as much as possible, improving the chip integration, and controlling the chip cost. At the same time, the test after the chip is returned becomes more flexible, improving the test efficiency after the chip is returned, and shortening the time to market for the product.

[0034] In some embodiments of the present application, reference Figure 2The plurality of pins 300 include at least one dedicated pin 310 . The test circuit 200 is further configured to transmit each target signal to a corresponding dedicated pin 310 .

[0035] In the embodiment of the present application, a dedicated pin 310 is provided in the SoC. The dedicated pin 310 has a specific purpose and can realize different functions. For example, the dedicated pin 310 in the SoC can be used to connect an external crystal oscillator, control power supply, serial communication, etc. At the same time, the dedicated pin 310 can have a specific function, for example, a clock pin is used to transmit a clock signal, and an interrupt pin is used to transmit an interrupt control signal, etc.

[0036] In an embodiment of the present application, when the dedicated pin 310 allows the target intellectual property core 100-I to transmit the corresponding target signal, the test circuit 200 can transmit each target signal to the corresponding dedicated pin 310, so as to facilitate the subsequent detection of whether the target signal in the target intellectual property core 100-Ι is normal through the dedicated pin 310.

[0037] In some embodiments of the present application, an oscilloscope or other detection device may be used to detect the target signal, thereby detecting the internal state of the SoC. Specifically, an oscilloscope may be used to perform signal integrity testing and timing testing on the target signal, and test the target signal waveform to determine the target signal waveform amplitude, edge, signal frequency, and the presence or absence of signal glitches.

[0038] In some embodiments of the present application, continue to refer to Figure 2 The plurality of pins 300 further include: at least one universal pin 320 . The test circuit 200 is further configured to pre-process the plurality of target signals in sequence to obtain a plurality of pre-processed signals, and transmit the plurality of pre-processed signals to the universal pin 320 .

[0039] In the embodiment of the present application, the SoC is further provided with a general purpose pin 320. The general purpose pin 320 is used for data transmission, control and communication with peripheral devices. For example, the general purpose pin 320 may be a general purpose input output pin (GPIO).

[0040] In the embodiment of the present application, when the dedicated pin 310 corresponding to the target signal is occupied, the target signal can be transmitted through the general pin 320. Specifically, the target signal is transmitted to the general pin 320 after preprocessing, and after the output target signal is detected, other target signals are selected for detection in sequence until all target signals are detected.

[0041] In some embodiments of the present application, an off-chip oscilloscope or other detection equipment may also be connected to the general pin 320 to detect the target signal.

[0042] In some embodiments of the present application, Figure 2 As shown, the test circuit 200 includes: a first selector 210 , a first transmission path, a second transmission path and a second selector 220 .

[0043] The first selector 210 is connected to the plurality of IP cores 100, and is configured to select a target IP core 100-I from the plurality of IP cores 100, and output a plurality of target signals of the target IP core 100-I.

[0044] The input ends of the first transmission path and the second transmission path are both connected to the first selector 210; the output ends of the first transmission path and the second transmission path are both connected to the second selector 220. The first transmission path is provided with a preprocessing module 230; the preprocessing module 230 is configured to generate a plurality of preprocessing signals. The second transmission path is configured to directly transmit a plurality of target signals to the second selector 220, that is, the output end of the first selector 210 is directly connected to the input end of the second selector 220 through the second transmission path.

[0045] The second selector 220 is configured to select one of the first transmission path and the second transmission path, and transmit the corresponding signal to the pin 300 .

[0046] In the embodiment of the present application, the first selector 210 is a multiplexer (MUX), and the first selector 210 selects and outputs multiple target signals of the target intellectual property core 100-1. Each target signal can be transmitted to the second selector 220 through the first transmission path after preprocessing; at the same time, each target signal can also be directly transmitted to the second selector 220 through the second transmission path.

[0047] Furthermore, the second selector 220 can select an output from the preprocessed target signal (i.e., the preprocessed signal) and the original target signal. The preprocessed signal transmitted by the first transmission path is transmitted to the general pin 320, and the target signal transmitted by the second transmission path is transmitted to the dedicated pin 310.

[0048] In some embodiments of the present application, the priority of selecting the second transmission path is higher than the priority of selecting the first transmission path.

[0049] In the embodiment of the present application, first, if the dedicated pin 310 corresponding to each target signal among multiple target signals can be used to transmit the target signal, then the second selector 220 selects to output the target signal transmitted by the second transmission path. Furthermore, if the above conditions are not met, that is, if the dedicated pin 310 corresponding to any target signal among multiple target signals is occupied, then the second selector 220 selects to output the preprocessed signal transmitted by the first transmission path, and transmits the preprocessed signal to the universal pin 320. In other words, the second selector 220 will give priority to transmitting the target signal to the dedicated pin 310.

[0050] It should be noted that bring-up refers to the process of installing the chip on the actual hardware platform and performing verification, testing and debugging after the chip is manufactured. During the bring-up phase, the chip will be connected to other hardware components for system-level testing and verification, including verification of the chip's functions, performance, compatibility, and interaction with other system components. Therefore, during the test at the bring-up phase, there is a situation where the dedicated pin 310 is occupied.

[0051] It can be understood that in the test at the return stage, even if the dedicated pin 310 is occupied, the SoC in the embodiment of the present application can still lead out the target signal in the target IP core 100-Ι to the general pin 320 so as to detect the internal condition of the target IP core. In this way, the testing of the chip at the return stage can be made more flexible.

[0052] In some embodiments of the present application, reference Figure 3 or Figure 4 The pre-processing module 230 includes: a third selector 231, a third transmission path, a fourth transmission path and a fourth selector 232.

[0053] The third selector 231 is connected to the output end of the first selector 210 and is configured to select the first target signal from the plurality of target signals.

[0054] The input ends of the third transmission path and the fourth transmission path are both connected to the third selector 231; the output ends of the third transmission path and the fourth transmission path are both connected to the fourth selector 232. A frequency divider 233 is provided on the third transmission path. The frequency divider 233 is configured to perform frequency division processing on the first target signal. The fourth transmission path is configured to directly transmit the first target signal to the fourth selector 232, that is, the output end of the third selector 231 is directly connected to the input end of the fourth selector 232 through the fourth transmission path.

[0055] The fourth selector 232 is configured to select one of the third transmission path and the fourth transmission path and output the corresponding signal.

[0056] In the embodiment of the present application, the preprocessing module 230 preprocesses the target signal so as to transmit the target signal using the universal pin 320. Among them, the third selector 231 first selects a first target signal from multiple target signals, that is, the first target signal is currently detected first. After the first target signal is detected at the universal pin 320, the second target signal, the third target signal, etc. are continuously selected from the multiple target signals until the detection of all target signals is completed.

[0057] Continue to refer Figure 3 or Figure 4 The first target signal can be transmitted to the fourth selector 232 through the third transmission path after frequency division processing; at the same time, the first target signal can also be directly transmitted to the fourth selector 232 through the fourth transmission path. The fourth selector 232 selects the first target signal after frequency division or the original first target signal for output.

[0058] In some embodiments of the present application, Figure 3 or Figure 4 As shown, the fourth selector 232 is also configured to select the fourth transmission path to output the first target signal if the frequency of the first target signal is lower than the operating frequency of the universal pin 320; or, if the frequency of the first target signal is higher than the operating frequency of the universal pin 320, select the third transmission path to divide the first target signal and output it.

[0059] In the embodiment of the present application, if the first target signal is a high frequency signal, the first target signal should be divided before being output, so that the divided signal frequency is within the operating frequency range of the general pin 320. That is, the fourth selector 232 selects to output the divided first target signal.

[0060] Continue to refer Figure 3 or Figure 4 The frequency divider 233 can perform frequency division processing on the original first target signal by, for example, dividing by 2, dividing by 4, or dividing by 10 to obtain multiple frequency division signals, and the frequencies of the multiple frequency division signals are all lower than the operating frequency of the universal pin 320. For example, the frequency divider 233 can be a digital frequency divider.

[0061] In some embodiments of the present application, as shown in FIG. 4 , the preprocessing module 230 further includes a bit extension module 234. The bit extension module 234 is connected to the output end of the fourth selector 232 and is configured to perform bit width matching processing on the signal output by the fourth selector 232 to obtain a preprocessed signal, and output the preprocessed signal to the input end of the second selector 220.

[0062] In the embodiment of the present application, if the output signal of the fourth selector 232 is the original first target signal, the first target signal is subjected to bit width matching processing to obtain a pre-processed signal, and the pre-processed signal is transmitted to the dedicated pin 310. Here, bit width matching can be understood as copying a signal multiple times; the specific process of bit width matching processing can be implemented using Verilog language.

[0063] In an embodiment of the present application, multiple first target signals are transmitted to a corresponding number of universal pins 320 respectively, so that the first target signal can be subsequently detected on any universal pin 320, thereby ensuring that the first target signal is brought out, facilitating subsequent detection of the first target signal.

[0064] Similarly, if the output signal of the fourth selector 232 is the first target signal after frequency division, at this time, the multiple frequency division signals after frequency division are grouped as one, and a group of frequency division signals is copied into multiple copies and respectively transmitted to the corresponding number of universal pins 320. In other words, the bit extension module 234 can ensure the bit width matching of the subsequent circuit.

[0065] In some embodiments of the present application, Figure 3 or Figure 4 As shown, the system-level chip also includes: a frequency calculation module 235. The frequency calculation module 235 is connected to the output end of the fourth selector 232, and is configured to perform frequency calculation processing on the signal output by the fourth selector 232, and transmit the calculated result to the storage module. The storage module can be in the form of a register, SRAM, etc.

[0066] In an embodiment of the present application, if the fourth selector 232 selects the original first target signal for output, that is, the fourth selector 232 selects the signal transmitted by the fourth transmission path, then the frequency calculation module 235 performs frequency calculation processing on the first target signal. Specifically, the frequency calculation module 235 uses the reference clock of the SoC as a reference, and uses the frequency measurement method to periodically count the first target signal, and calculates the frequency of the first target signal according to the counting result and the timing time width, and caches the frequency of the first target signal to the storage module. Correspondingly, if the fourth selector 232 selects multiple frequency-divided signals output by the frequency divider 233 for output, that is, the fourth selector 232 selects the signal transmitted by the third transmission path, then the frequency calculation module 235 performs frequency calculation processing on the multiple frequency-divided signals, and caches the frequencies of the multiple frequency-divided signals to the storage module.

[0067] In the embodiment of the present application, the frequency cached in the storage module can be queried by software, thereby detecting whether the target signal in the target intellectual property core 100-Ι is normal.

[0068] In the embodiment of the present application, the frequency calculation module 235 can be serially multiplexed to realize the frequency calculation of all target signals.

[0069] In the embodiment of the present application, the signal output by the fourth selector 232 can be subjected to bit width matching processing or frequency calculation processing according to actual conditions. The present application does not impose any specific restrictions on this. The signal output by the fourth selector 232 can also be subjected to bit width matching processing and frequency calculation processing at the same time, thereby providing a variety of detection means for the target signal.

[0070] In the embodiment of the present application, the above detection of the target signal can be applied to the test after the chip is returned. Among them, the process of returning the chip includes: system-level chip installation, correctly installing the system-level chip on the target hardware platform; providing appropriate power and clock signals for the system-level chip to ensure its normal operation; connecting the system-level chip with other hardware components (such as motherboards, sensors, memories, etc.) to realize a complete system; writing or loading appropriate drivers and firmware to support the functions and interactions of the system-level chip; performing various tests and verifications on the system-level chip, including functional verification, performance testing, communication testing, etc., to ensure that it works normally and meets the design requirements. The test circuit 200 can be used when performing any test or any verification on the system-level chip to ensure that the system-level chip works normally in the actual hardware environment and verify its functions and performance.

[0071] The embodiment of the present application also provides a method for testing a system-on-chip. Figure 5 A schematic diagram of the implementation flow of a system-on-chip testing method provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the method includes steps S101 to S103.

[0072] S101. Select a target intellectual property core from multiple intellectual property cores.

[0073] In the examples of this application, refer to Figure 1 , the first selector 210 in the test circuit 200 selects and outputs multiple target signals of the target intellectual property core 100-Ι, that is, selects the target intellectual property core 100-Ι currently being tested.

[0074] S102, transmitting multiple target signals of the target intellectual property core to corresponding dedicated pins.

[0075] S103 , preprocessing the multiple target signals in sequence to obtain multiple preprocessed signals, and transmitting the multiple preprocessed signals to a common pin.

[0076] In the examples of this application, refer to Figure 1, the test circuit 200 transmits multiple target signals of the target intellectual property core 100-1 to the pin 300, so as to detect whether the signal is normal through the pin 300, and on this basis, determine whether the target intellectual property core 100-1 is normal. After the detection is completed, the target intellectual property core can also be selected from the remaining multiple intellectual property cores, and multiple digital signals therein can be transmitted to the pin for detection.

[0077] In the examples of this application, refer to Figure 2 The multiple target signals of the target intellectual property core 100-Ι can be directly transmitted to the pin for detection, or can be transmitted to the pin for detection after preprocessing.

[0078] like Figure 2 As shown, on the one hand, the multiple pins 300 include at least one dedicated pin 310. When the dedicated pin 310 allows the corresponding target signal to be transmitted, the test circuit 200 transmits the target signal to the corresponding dedicated pin 310, so as to facilitate the subsequent detection of whether the target signal is normal through the dedicated pin 310.

[0079] On the other hand, the plurality of pins 300 further include at least one universal pin 320, and when the dedicated pin 310 corresponding to the target signal is occupied, the target signal can be transmitted through the universal pin 320. Specifically, the target signal can be preprocessed to obtain a preprocessed signal, and the preprocessed signal can be transmitted to the universal pin 320 for detection, and then, after the preprocessed signal is detected, other target signals are selected for detection in sequence until all target signals are detected.

[0080] In the examples of this application, refer to Figure 2 or Figure 3 , preprocessing the target signal in sequence to obtain a preprocessed signal may include the following steps:

[0081] First, a first target signal to be tested is selected from multiple target signals, and then the first target signal is frequency-divided to obtain multiple frequency-divided signals. If the frequency of the first target signal is lower than the operating frequency of the universal pin 320, the first target signal is selected to be output; or, if the frequency of the first target signal is higher than the operating frequency of the universal pin 320, the first target signal after frequency division (i.e., multiple frequency-divided signals) is selected to be output. Next, the output first target signal or multiple frequency-divided signals are subjected to bit width matching processing to obtain a preprocessed signal. Finally, the preprocessed signal can be output to the universal pin 320.

[0082] In the embodiment of the present application, after the first target signal or the frequency-divided signal is detected, the second target signal and the third target signal can be selected from the multiple target signals until the detection of all target signals is completed.

[0083] In some embodiments of the present application, after selecting to output the first target signal or multiple divided-frequency signals, frequency calculation processing can be performed on the output first target signal or multiple divided-frequency signals, and the calculated results can be transmitted to the storage module. Subsequently, the results in the register can be queried through software, and the first target signal can be detected based on the results.

[0084] In the embodiment of the present application, multiple different types of intellectual property cores 100 can use the same test circuit 200 to lead digital signals to the pin 300, without having to set up a test circuit 200 for each intellectual property core 100, that is, the test circuit 200 can be reused, thereby reducing the chip area as much as possible, improving the chip integration, and controlling the chip cost. At the same time, setting up the test circuit 200 makes the test of the chip after the chip is returned more flexible, improves the test efficiency after the chip is returned, and shortens the time to market for the product.

[0085] The present application also provides an electronic device, such as Figure 6 As shown, the electronic device 800 includes a system-on-chip 810. The system-on-chip 810 may be a multi-core system-on-chip. The system-on-chip 810 includes the technical features in the above embodiments.

[0086] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0087] The serial numbers of the embodiments of the present disclosure are for description only and do not represent the advantages and disadvantages of the embodiments. The methods disclosed in the several method embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments. The features disclosed in the several product embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new product embodiments. The features disclosed in the several method or device embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0088] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A system-on-chip, It is characterized in that The system-level chip includes: a plurality of intellectual property cores, a test circuit, and a plurality of pins; the plurality of intellectual property cores are connected to the input end of the test circuit, and the plurality of pins are connected to the output end of the test circuit; The test circuit is configured to select a target intellectual property core from the plurality of intellectual property cores and transmit a plurality of target signals of the target intellectual property core to the plurality of pins.

2. The system-on-chip according to claim 1, It is characterized in that The plurality of said pins include: at least one dedicated pin; The test circuit is further configured to transmit the plurality of target signals to the corresponding dedicated pins.

3. The system-on-chip according to claim 1, It is characterized in that The plurality of said pins further comprises: at least one common pin; The test circuit is further configured to preprocess the plurality of target signals in sequence to obtain a plurality of preprocessed signals, and transmit the plurality of preprocessed signals to the common pin.

4. The system-on-chip according to any one of claims 1 to 3, It is characterized in that The test circuit includes: a first selector, a first transmission path, a second transmission path and a second selector; The first selector is connected to the plurality of the IP cores, and is configured to select the target IP core from the plurality of the IP cores, and output the plurality of target signals of the target IP core; The input ends of the first transmission path and the second transmission path are both connected to the first selector; the output ends of the first transmission path and the second transmission path are both connected to the second selector; wherein a preprocessing module is provided on the first transmission path; the preprocessing module is configured to generate a plurality of the preprocessing signals; the second transmission path is configured to directly transmit the plurality of the target signals to the second selector; The second selector is configured to select one of the first transmission path and the second transmission path, and transmit the corresponding signal to the pin.

5. The system-on-chip according to claim 4, It is characterized in that The priority of selecting the second transmission path is higher than the priority of selecting the first transmission path.

6. The system-on-chip according to claim 4, It is characterized in that The preprocessing module includes: a third selector, a third transmission path, a fourth transmission path and a fourth selector; The third selector is connected to the output end of the first selector and is configured to select the first target signal from the plurality of target signals; The input ends of the third transmission path and the fourth transmission path are both connected to the third selector; the output ends of the third transmission path and the fourth transmission path are both connected to the fourth selector; wherein a frequency divider is provided on the third transmission path; the frequency divider is configured to perform frequency division processing on the first target signal; the fourth transmission path is configured to directly transmit the first target signal to the fourth selector; The fourth selector is configured to select one of the third transmission path and the fourth transmission path and output the corresponding signal.

7. The system-on-chip according to claim 6, It is characterized in that The fourth selector is further configured to select the fourth transmission path to output the first target signal if the frequency of the first target signal is lower than the operating frequency of the universal pin; or to select the third transmission path to divide the first target signal and output it if the frequency of the first target signal is higher than the operating frequency of the universal pin.

8. The system-on-chip according to claim 6, It is characterized in that The preprocessing module also includes: a bit expansion module; The bit extension module is connected to the output end of the fourth selector, and is configured to perform bit width matching processing on the signal output by the fourth selector to obtain the preprocessed signal, and output the preprocessed signal to the input end of the second selector.

9. The system-on-chip according to claim 6, It is characterized in that The system-level chip also includes: a frequency calculation module; The frequency calculation module is connected to the output end of the fourth selector, and is configured to perform frequency calculation processing on the signal output by the fourth selector, and transmit the calculated result to the storage module.

10. A method for testing a system-on-chip, It is characterized in that The method comprises: Selecting a target intellectual property core from among multiple intellectual property cores; transmitting a plurality of target signals of the target intellectual property core to corresponding dedicated pins; or, The plurality of target signals are preprocessed in sequence to obtain a plurality of preprocessed signals, and the plurality of preprocessed signals are transmitted to a common pin.

11. An electronic device, It is characterized in that The electronic device comprises the system-on-chip according to any one of claims 1 to 9.