SoC Integration Method, Device, System, and Computer-Readable Storage Medium

By generating configuration files and port information files, automatically integrating the SoC system, syntax checking and comprehensive simulation, the problem of low integration efficiency and accuracy of SoC system is solved, and an efficient and accurate integration process is achieved.

CN113807038BActive Publication Date: 2025-05-30SHANDONG IND RES KUNYUN ARTIFICIAL INTELLIGENCE RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110945596.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-17
Publication Date
2025-05-30
Estimated Expiration
2041-08-17

AI Technical Summary

Technical Problem

In SoC system design, as IP files increase, manual integration takes a long time and is prone to errors, especially when version management and dependencies are complex, it is difficult to improve integration efficiency and accuracy.

Method used

A SoC integration method is proposed, which automatically integrates the SoC system by generating configuration files, port information files, SoC top-level files and IP top-level files collections, and performs syntax checks and comprehensive simulations during the integration process to ensure the accuracy of the integration results.

Benefits of technology

Improves the efficiency and accuracy of SoC system integration, reduces manual intervention, reduces error rates during integration, and supports version management and automatic processing of dependencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113807038B_ABST
    Figure CN113807038B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, apparatus, system, and computer-readable storage medium for SoC integration. The method includes: when receiving an IP file set, generating a corresponding configuration file set according to the IP file set; generating a corresponding port information file set according to the configuration file set; generating an SoC top-level file and an IP top-level file set according to the port information file set, and integrating a corresponding SoC system according to the SoC top-level file and the IP top-level file set. The present invention generates a configuration file set according to the IP file set, determines a port information file set according to the configuration file set, generates an SoC top-level file and an IP top-level file set according to the port information file set, so as to integrate a corresponding SoC system, improving the integration efficiency and accuracy of the SoC system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of chip technology, and particularly to an SoC integration method, apparatus, system, and computer-readable storage medium. Background Art

[0002] During the design process of an SoC (System on chip) system, it is necessary to integrate multiple IP (Intellectual Property) files. As the complexity of the SoC increases, the number of IP files to be integrated also increases. Relying solely on manual labor to integrate these IP files is labor-intensive, time-consuming, and error-prone. During the design iteration process, various versions of each IP file will inevitably be generated, and there are dependencies between the versions of each IP file. It is very easy to make mistakes by relying solely on manual recording of the versions and dependencies of each IP file. Therefore, how to improve the efficiency and accuracy of SoC system integration is an urgent problem to be solved. Summary of the Invention

[0003] The main objective of the present invention is to propose an SoC integration method, apparatus, system, and computer-readable storage medium, aiming to solve the problem of how to improve the efficiency and accuracy of SoC system integration.

[0004] To achieve the above objective, the present invention provides an SoC integration method, and the SoC integration method includes the following steps:

[0005] When receiving an IP file set, generating a corresponding configuration file set according to the IP file set;

[0006] Generating a corresponding port information file set according to the configuration file set;

[0007] Generating an SoC top-level file and an IP top-level file set according to the port information file set, and integrating a corresponding SoC system according to the SoC top-level file and the IP top-level file set.

[0008] Preferably, the step of generating a corresponding configuration file set according to the IP file set when receiving the IP file set includes:

[0009] When receiving an IP file set, parsing the program file corresponding to each IP file in the IP file set to determine the dependency relationship of each IP file;

[0010] Generating a corresponding configuration file set according to the dependency relationship and the IP file set.

[0011] Preferably, after the step of generating a corresponding set of configuration files according to the set of IP files when receiving the set of IP files, the SoC integration method further includes:

[0012] Obtain the set of version numbers corresponding to each IP file in the set of configuration files, and generate a version management file corresponding to each IP file according to the set of version numbers corresponding to each IP file;

[0013] Determine the version of each IP file used in the set of configuration files according to the preset conditions and the version management file.

[0014] Preferably, the step of generating a corresponding set of port information files according to the set of configuration files includes:

[0015] Parse the program files corresponding to the versions of each IP file used in the set of configuration files to determine the port parameters and the number of instantiations corresponding to each IP file;

[0016] Obtain the dependency relationships in the set of configuration files, and generate a port information file corresponding to each IP file according to the dependency relationships, the port parameters, and the number of instantiations, so as to determine the corresponding set of port information files.

[0017] Preferably, the step of generating the SoC top-level file and the set of IP top-level files according to the set of port information files includes:

[0018] Generate the SoC top-level file according to the port parameters and the number of instantiations in the set of port information files, and generate the IP top-level files according to the port parameters and the dependency relationships in the set of port information files.

[0019] Preferably, the step of integrating the corresponding SoC system according to the SoC top-level file and the set of IP top-level files includes:

[0020] Generate a file list according to the SoC top-level file and the set of IP top-level files, and integrate the corresponding SoC system according to the file list.

[0021] Preferably, after the step of generating the SoC top-level file and the set of IP top-level files according to the set of port information files and integrating the corresponding SoC system according to the SoC top-level file and the set of IP top-level files, the SoC integration method further includes:

[0022] Perform syntax checking and synthesis simulation on the SoC system to obtain the syntax checking result and the synthesis simulation result;

[0023] If both the syntax check result and the comprehensive simulation result meet the preset conditions, output the SoC system;

[0024] If the syntax check result or the comprehensive simulation result does not meet the preset conditions, modify the IP file set and return to execute the steps: when receiving the IP file set, generate the corresponding configuration file set according to the IP file set.

[0025] In addition, to achieve the above object, the present invention also provides an SoC integration device, and the SoC integration device includes:

[0026] A receiving module, configured to generate a corresponding configuration file set according to the IP file set when receiving the IP file set;

[0027] A first generation module, configured to generate a corresponding port information file set according to the configuration file set;

[0028] A second generation module, configured to generate an SoC top-level file and an IP top-level file set according to the port information file set, and integrate the corresponding SoC system according to the SoC top-level file and the IP top-level file set.

[0029] Preferably, the receiving module is further configured to:

[0030] When receiving the IP file set, parse the program files corresponding to each IP file in the IP file set to determine the dependency relationship of each IP file;

[0031] Generate a corresponding configuration file set according to the dependency relationship and the IP file set.

[0032] Preferably, the receiving module also has a second generation module for version numbers. The version number generation template is used for:

[0033] Obtain the version number set corresponding to each IP file in the configuration file set, and generate a version management file corresponding to each IP file according to the version number set corresponding to each IP file;

[0034] Determine the version of each IP file used in the configuration file set according to the preset conditions and the version management file.

[0035] Preferably, the first generation module is further configured to:

[0036] Parse the program files corresponding to the versions of each IP file used in the configuration file set to determine the port parameters and the number of instantiations corresponding to each IP file;

[0037] Obtain the dependencies in the configuration file set, and generate a port information file corresponding to each IP file according to the dependencies, the port parameters, and the number of instantiations, so as to determine the corresponding port information file set.

[0038] Preferably, the second generation module is further configured to:

[0039] Generate a SoC top-level file according to the port parameters and the number of instantiations in the port information file set, and generate an IP top-level file set according to the port parameters and the dependencies in the port information file set.

[0040] Preferably, the second generation module is further configured to:

[0041] Generate a file list according to the SoC top-level file and the IP top-level file set, and integrate the corresponding SoC system according to the file list.

[0042] Preferably, the second generation module further includes an inspection and simulation module, and the inspection and simulation module is used for:

[0043] Perform syntax check and comprehensive simulation on the SoC system to obtain a syntax check result and a comprehensive simulation result;

[0044] If both the syntax check result and the comprehensive simulation result meet the preset conditions, output the SoC system;

[0045] If the syntax check result or the comprehensive simulation result does not meet the preset conditions, modify the IP file set and return to execute the steps: when receiving the IP file set, generate the corresponding configuration file set according to the IP file set.

[0046] In addition, to achieve the above object, the present invention also provides a SoC integration system, and the SoC integration system includes: a memory, a processor, and a SoC integration program stored on the memory and executable on the processor. When the SoC integration program is executed by the processor, the steps of the above-mentioned SoC integration method are implemented.

[0047] In addition, to achieve the above object, the present invention also provides a computer-readable storage medium, and a SoC integration program is stored on the computer-readable storage medium. When the SoC integration program is executed by a processor, the steps of the above-mentioned SoC integration method are implemented.

[0048] The SoC integration method proposed by the present invention, when receiving a set of IP files, generates a corresponding set of configuration files according to the set of IP files; generates a corresponding set of port information files according to the set of configuration files; generates a SoC top-level file and a set of IP top-level files according to the set of port information files, and integrates a corresponding SoC system according to the SoC top-level file and the set of IP top-level files; the present invention generates a set of configuration files according to the set of IP files, determines a set of port information files according to the set of configuration files, generates a SoC top-level file and a set of IP top-level files according to the set of port information files, so as to integrate a corresponding SoC system, improving the integration efficiency and accuracy of the SoC system. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 is a schematic structural diagram of the system of the hardware operating environment involved in the embodiment solution of the present invention;

[0050] Figure 2 is a schematic flowchart of the first embodiment of the SoC integration method of the present invention;

[0051] The realization, functional features and advantages of the object of the present invention will be further described with reference to the accompanying drawings in combination with the embodiments. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0052] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0053] As Figure 1 shown, Figure 1 is a schematic structural diagram of the system of the hardware operating environment involved in the embodiment solution of the present invention.

[0054] The system of the embodiment of the present invention can be a PC or a server system.

[0055] As Figure 1 shown, the system may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard). Optionally, the user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the foregoing processor 1001.

[0056] Those skilled in the art can understand that Figure 1 the system structure shown in Figure 1 does not constitute a limitation on the system, and may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0057] As Figure 1 shown, the memory 1005, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an SoC integration program.

[0058] Among them, the operating system is a program for managing and controlling the portable SoC integration tool and software resources, and supports the operation of the network communication module, the user interface module, the SoC integration program, and other programs or software; the network communication module is used for managing and controlling the network interface 1002; the user interface module is used for managing and controlling the user interface 1003.

[0059] In Figure 1 the SoC integration tool shown, the SoC integration tool calls the SoC integration program stored in the memory 1005 through the processor 1001, and executes the operations in each embodiment of the following SoC integration method.

[0060] Based on the above hardware structure, embodiments of the SoC integration method of the present invention are proposed.

[0061] Referring to Figure 2 , Figure 2 which is a schematic flowchart of the first embodiment of the SoC integration method of the present invention, the method includes:

[0062] Step S10, when receiving an intellectual property IP file set, generating a corresponding configuration file set according to the IP file set;

[0063] Step S20, generating a corresponding port information file set according to the configuration file set;

[0064] Step S30, generating an SoC top-level file and an IP top-level file set according to the port information file set, and integrating a corresponding SoC system according to the SoC top-level file and the IP top-level file set.

[0065] The SoC integration method of this embodiment is applied to the SoC integration device of the on-chip system integration mechanism. The SoC integration device can be a terminal or a PC device. For the convenience of description, the SoC integration tool is taken as an example for description. The SoC integration tool includes five parsers, and each parser can parse different files. When the SoC integration tool receives the IP file set, according to the IP file set, it determines the dependency relationship of each IP file, and according to the determined dependency relationship of each IP file and the IP file set, it generates the corresponding configuration file set. The SoC integration tool determines the port parameters and instantiation numbers corresponding to each IP file according to the configuration file set, and obtains the dependency relationship in the configuration file set. According to the dependency relationship, port parameters and instantiation numbers, it determines the corresponding port information file set. The SoC integration tool generates the SoC top-level file and the IP top-level file set according to the port information file set, and integrates the corresponding SoC system according to the SoC top-level file and the IP top-level file set. It should be noted that the dependency relationship means that there is an association between each IP file and other IP files that are called simultaneously when the IP file is called. The instantiation number means that when the SoC system is running, the same IP file may be copied to different places for calling, and the number of copies of the same IP file is the instantiation number. The IP file set received by the SoC integration tool contains multiple different IP files. Specifically, relevant R & D personnel package the IP files with different functions into an IP file set according to actual needs and send them to the SoC integration tool.

[0066] The SoC integration method of this embodiment, when receiving the IP file set, generates the corresponding configuration file set according to the IP file set; generates the corresponding port information file set according to the configuration file set; generates the SoC top-level file and the IP top-level file set according to the port information file set, and integrates the corresponding SoC system according to the SoC top-level file and the IP top-level file set. The present invention generates the configuration file set according to the IP file set, determines the port information file set according to the configuration file set, and generates the SoC top-level file and the IP top-level file set according to the port information file set to integrate the corresponding SoC system, improving the integration efficiency and accuracy of the SoC system.

[0067] The following will explain each step in detail:

[0068] Step S10, when receiving the intellectual property IP file set, generate the corresponding configuration file set according to the IP file set;

[0069] In this embodiment, when the SoC integration tool receives an IP file set, it generates a corresponding configuration file through a first parser according to the IP file set. The configuration file includes: the IP name, the dependencies of the IP, the program files and their paths included in the IP file, and the version of the corresponding IP.

[0070] Specifically, step S10 includes:

[0071] Step a, when receiving the IP file set, parse the program files corresponding to each IP file in the IP file set to determine the dependency relationships of each IP file;

[0072] In this step, when the SoC integration tool receives the IP file set, it obtains each different IP file in the IP file set, and parses the corresponding program files in each different IP file through a first parser to determine the dependency relationships of each different IP file; for example, according to the actual design requirements, relevant designers package three different IP files into an IP file set and input the IP file set into the SoC integration tool. The SoC integration tool respectively obtains the program files in the three different IP files in the IP file set, and parses the program files through the first parser, and determines the dependency relationships of each IP file with the other two IP files through the code in the program files.

[0073] Step b, generate a corresponding configuration file set according to the dependency relationships and the IP file set.

[0074] In this step, after the SoC integration tool determines the dependency relationships of each different IP file with other IP files, it generates a corresponding configuration file set through the first parser according to the dependency relationships, all the IP names in the IP file set, the program files and their paths included in the IP file, and the version of the corresponding IP; for example, according to the actual design requirements, relevant designers package three different IP files into an IP file set and input the IP file set into the SoC integration tool. The SoC integration tool packs the dependency relationships, the program files and their paths included in the IP file corresponding to the IP file named A, and the version of the corresponding IP into a configuration file A through the first parser according to IP file A. IP file B and IP file C are both processed in the above method to obtain the corresponding configuration files B and C. The configuration files A, B, and C are packed into a configuration file set. Separating and packing the configuration files corresponding to each different IP file into a configuration file set helps the SoC integration tool find the corresponding IP configuration file more quickly when reading the configuration file set.

[0075] Specifically, after step S10 includes:

[0076] Step c, obtain the version number set corresponding to each IP file in the configuration file set, and generate a version management file corresponding to each IP file according to the version number set corresponding to each IP file.

[0077] In this step, the SoC integration tool obtains the version number set corresponding to each different IP file in the configuration file set, and generates a version management file corresponding to each IP file through a second parser. The version management file includes: the name of the IP file, the version number set of the IP file, and the program file of the IP file.

[0078] Step d, determine the version of each IP file used in the configuration file set according to the preset conditions and the version management file.

[0079] In this step, the SoC integration tool determines the version of each IP file used in the configuration file set according to the preset conditions and the version management file. For example, the SoC integration tool searches for the IP file with the corresponding version number in the version management file corresponding to each IP file according to the preset conditions, and uses the searched IP file with the corresponding version as the version of each IP file used in the configuration file set. Optionally, when relevant R & D personnel need to replace the version of an IP file, the SoC integration tool searches for the IP file with the corresponding version number in the corresponding version management file according to the actual requirements, and replaces the IP file to be changed with the searched IP file, so as to realize the quick replacement of the IP file version and improve the management efficiency of IP files with different version numbers. It should be noted that when there is only one version of the IP file, this step can be skipped.

[0080] Step S20, generate a corresponding port information file set according to the configuration file set;

[0081] In this embodiment, the SoC integration tool obtains the program file corresponding to each different IP file in the configuration file set, parses the program file through a third parser to determine the port parameters and instantiation numbers of each different IP file, and generates a port information file corresponding to each IP file according to the port parameters, instantiation numbers, and the dependency relationship of each different IP file determined in the previous steps. The port information files corresponding to each IP file are packaged to obtain a port file set. The port information file includes the module name, port name, port input / output attribute, port bit width, port type, and instantiation number of each IP at the top layer.

[0082] Specifically, step S20 further includes:

[0083] Step d: Parse the program files corresponding to the versions of each IP file used in the configuration file set to determine the port parameters and instantiation numbers corresponding to each IP file;

[0084] In this step, after obtaining the configuration file set, the SoC integration tool acquires the program files corresponding to the versions of each IP file used in the configuration file set, and parses the program files corresponding to the versions of each IP file used through a third parser to determine the port parameters and instantiation numbers corresponding to each IP file. For example, according to the actual design requirements, relevant designers package three different IP files into an IP file set and input the IP file set into the SoC integration tool. The SoC integration tool uses the third parser to parse the program file corresponding to the version of IP file A used in the configuration file to determine the top-level module name, port name, port input / output attribute, port bit width, port type (clk, reset, pad, interrupt, bus, etc.) and other port parameters as well as the instantiation number corresponding to IP file A. The corresponding port parameters and instantiation numbers of IP file B and IP file C are also obtained through the same method.

[0085] Step e: Obtain the dependencies in the configuration file set, and generate a port information file corresponding to each IP file based on the dependencies, the port parameters, and the instantiation numbers to determine the corresponding port information file set.

[0086] In this step, the SoC integration tool obtains the dependencies of each different IP file determined in the previous steps, and generates a port information file corresponding to each different IP file based on the dependencies, port parameters, and instantiation numbers corresponding to each different IP file, and packages the port information files to obtain the corresponding port information file set. For example, according to the actual design requirements, relevant designers package three different IP files into an IP file set and input the IP file set into the SoC integration tool. The SoC integration tool uses the third parser to generate port information file A based on the dependencies, port parameters, and instantiation numbers of the IP file corresponding to IP file A. Port information files B and C corresponding to IP file B and IP file C are generated in accordance with the above method, and port information file A, port information file B, and port information file C are packaged into a port information file set.

[0087] Step S30: Generate the SoC top-level file and the IP top-level file set based on the port information file set, and integrate the corresponding SoC system based on the SoC top-level file and the IP top-level file set.

[0088] In this embodiment, the SoC integration tool uses a fourth parser to generate a top-level SoC file and a set of top-level IP files based on the port information file set, and uses a fifth parser to integrate the corresponding SoC system based on the top-level SoC file and the set of top-level IP files. It should be noted that the top-level SoC file includes each IP file to be called in the SoC system, the top-level IP file includes the ports and port parameters used when the IP file is called, and the top-level SoC file and the top-level IP file are important files for integrating the SoC system.

[0089] Specifically, step S30 further includes:

[0090] Step f, generating a top-level SoC file according to the port parameters and the instantiation number in the port information file set, and generating a set of top-level IP files according to the port parameters and the dependency relationship in the port information file set.

[0091] In this step, the SoC integration tool obtains the port parameters, instantiation number, and dependency relationship corresponding to each different IP file in the port information file set, and uses a fourth parser to generate a top-level SoC file according to the port parameters and the instantiation number, define wires with corresponding bit widths according to the port parameters and the dependency relationship, and interconnect the ports corresponding to each different IP file to generate a set of top-level IP files; for example, relevant designers package three different IP files into an IP file set and input the IP file set into the SoC integration tool. The SoC integration tool uses a fourth parser to generate a corresponding top-level SoC file according to the port parameters and the instantiation number corresponding to IP file A, IP file B, and IP file C, generate top-level IP file A according to the port parameters and the dependency relationship corresponding to IP file A, generate top-level IP file B according to the port parameters and the dependency relationship corresponding to IP file B, and generate top-level IP file C according to the port parameters and the dependency relationship corresponding to IP file C to generate a set of top-level IP files.

[0092] Step g, generating a file list according to the top-level SoC file and the set of top-level IP files, and integrating the corresponding SoC system according to the file list.

[0093] In this step, the SoC integration tool generates a file list based on the SoC top-level file and the IP top-level file set through the fifth parser, and integrates the corresponding SoC system according to the file list. For example, according to the actual design requirements, relevant designers package three different IP files into an IP file set and input the IP file set into the SoC integration tool. The SoC integration tool generates a file list through the fifth parser based on the SoC top-level file and the IP top-level file set. The file list includes the program files of the SoC system generated according to the IP top-level files corresponding to the three different IP files and the SoC top-level file, and integrates the corresponding SoC system according to the file list.

[0094] When receiving the IP file set, the SoC integration tool of this embodiment determines the dependency relationship of each IP file according to the IP file set, and generates a corresponding configuration file set according to the determined dependency relationship of each IP file and the IP file set; the SoC integration tool determines the port parameters and instantiation numbers corresponding to each IP file according to the configuration file set, obtains the dependency relationship in the configuration file set, and determines the corresponding port information file set according to the dependency relationship, port parameters and instantiation numbers; the SoC integration tool generates the SoC top-level file and the IP top-level file set according to the port information file set, and integrates the corresponding SoC system according to the SoC top-level file and the IP top-level file set; the present invention generates a configuration file set according to the IP file set, determines the port information file set according to the configuration file set, generates the SoC top-level file and the IP top-level file set according to the port information file set to integrate the corresponding SoC system, improving the integration efficiency and accuracy of the SoC system.

[0095] Further, based on the first embodiment of the SoC integration method of the present invention, a second embodiment of the SoC integration method of the present invention is proposed.

[0096] The difference between the second embodiment of the SoC integration method and the first embodiment of the SoC integration method is that after step S30, it further includes:

[0097] Step h, performing syntax check and comprehensive simulation on the SoC system to obtain a syntax check result and a comprehensive simulation result;

[0098] Step i, if both the syntax check result and the comprehensive simulation result meet the preset conditions, output the SoC system;

[0099] Step j, if either the syntax check result or the comprehensive simulation result does not meet the preset conditions, modify the IP file set and return to execute the step: when receiving the IP file set, generate a corresponding configuration file set according to the IP file set.

[0100] In this embodiment, the SoC integration tool performs syntax checking and comprehensive simulation on the integrated SoC system, that is, performs syntax checking and comprehensive simulation on the file list generated by the fifth parser to obtain the syntax checking result and the comprehensive simulation result. If both the syntax checking result and the comprehensive simulation result meet the preset conditions, the SoC system is output; if either the syntax checking result or the comprehensive simulation result does not meet the preset conditions, the IP file set is modified, and the steps of generating the corresponding configuration file set according to the IP file set and subsequent steps are returned for execution when the IP file set is received.

[0101] The following is a detailed description of each step:

[0102] Step h: Perform syntax checking and comprehensive simulation on the SoC system to obtain the syntax checking result and the comprehensive simulation result;

[0103] In this step, the SoC integration tool performs syntax checking and comprehensive simulation on the integrated SoC system to obtain the syntax checking result and the comprehensive simulation result. For example, the SoC integration tool inputs the file list corresponding to the integrated SoC system into the EDA tool, and the EDA tool performs syntax checking and comprehensive simulation on the file list and outputs the syntax checking result and the comprehensive simulation result. It should be noted that EDA refers to the technology of using computer-aided design software to complete the functional design, synthesis, verification, physical design, etc. processes of very large scale integrated circuit chips.

[0104] Step i: If both the syntax checking result and the comprehensive simulation result meet the preset conditions, output the SoC system;

[0105] In this step, if the SoC tool obtains that both the syntax checking result and the comprehensive simulation result meet the preset conditions, the integrated SoC system is output. It should be noted that the preset conditions can be set by relevant R & D personnel or the default preset conditions in the EDA tool can be used.

[0106] Step j: If either the syntax checking result or the comprehensive simulation result does not meet the preset conditions, modify the IP file set and return to execute the step: when the IP file set is received, generate the corresponding configuration file set according to the IP file set.

[0107] In this step, if the SoC tool obtains that either the syntax checking result or the comprehensive simulation result does not meet the preset conditions, relevant R & D personnel modify the IP file set. The specific modification is carried out according to actual needs. After the modification is completed, the IP file set is re-input into the SoC tool, and the steps of generating the corresponding configuration file set according to the IP file set and subsequent steps are returned for re-execution when the IP file set is received.

[0108] The SoC integration tool in this embodiment performs syntax checking and comprehensive simulation on the integrated SoC system, that is, performs syntax checking and comprehensive simulation on the file list generated by the fifth parser to obtain the syntax checking result and the comprehensive simulation result. If both the syntax checking result and the comprehensive simulation result meet the preset conditions, the SoC system is output; if either the syntax checking result or the comprehensive simulation result does not meet the preset conditions, the IP file set is modified, and the steps of generating the corresponding configuration file set according to the IP file set when receiving the IP file set and subsequent steps are returned, which helps to improve the integration accuracy of the SoC system.

[0109] The present invention also provides a SoC integration device. The SoC integration device of the present invention includes:

[0110] A receiving module, configured to generate a corresponding configuration file set according to the IP file set when receiving the IP file set;

[0111] A first generating module, configured to generate a corresponding port information file set according to the configuration file set;

[0112] A second generating module, configured to generate a SoC top-level file and an IP top-level file set according to the port information file set, and integrate a corresponding SoC system according to the SoC top-level file and the IP top-level file set.

[0113] Preferably, the receiving module is further configured to:

[0114] When receiving the IP file set, parse the program file corresponding to each IP file in the IP file set to determine the dependency relationship of each IP file;

[0115] Generate a corresponding configuration file set according to the dependency relationship and the IP file set.

[0116] Preferably, the receiving module is also the version number second generating module. The version number generating template is used to:

[0117] Obtain the version number set corresponding to each IP file in the configuration file set, and generate a version management file corresponding to each IP file according to the version number set corresponding to each IP file;

[0118] Determine the version of each IP file used in the configuration file set according to the preset conditions and the version management file.

[0119] Preferably, the first generating module is further configured to:

[0120] Parse the program files corresponding to the versions of each IP file used in the configuration file set to determine the port parameters and instantiation numbers corresponding to each IP file;

[0121] Obtain the dependency relationships in the configuration file set, and generate a port information file corresponding to each IP file according to the dependency relationships, the port parameters, and the instantiation numbers, so as to determine a corresponding port information file set.

[0122] Preferably, the second generation module is further configured to:

[0123] Generate a SoC top-level file according to the port parameters and the instantiation numbers in the port information file set, and generate an IP top-level file set according to the port parameters and the dependency relationships in the port information file set.

[0124] Preferably, the second generation module is further configured to:

[0125] Generate a file list according to the SoC top-level file and the IP top-level file set, and integrate the corresponding SoC system according to the file list.

[0126] Preferably, the second generation module further includes an inspection and simulation module, and the inspection and simulation module is configured to:

[0127] Perform syntax checking and comprehensive simulation on the SoC system to obtain a syntax checking result and a comprehensive simulation result;

[0128] If both the syntax checking result and the comprehensive simulation result meet the preset conditions, output the SoC system;

[0129] If the syntax checking result or the comprehensive simulation result does not meet the preset conditions, modify the IP file set, and execute the steps: when receiving the IP file set, generate a corresponding configuration file set according to the IP file set.

[0130] The present invention also provides a SoC integration system.

[0131] The SoC integration system of the present invention includes: a memory, a processor, and a SoC integration program stored on the memory and executable on the processor. When the SoC integration program is executed by the processor, the steps of the SoC integration method as described above are implemented.

[0132] Wherein, the method implemented when the SoC integration program running on the processor is executed can refer to each embodiment of the SoC integration method of the present invention, and will not be elaborated here.

[0133] The present invention also provides a computer-readable storage medium.

[0134] A computer-readable storage medium of the present invention stores an SoC integration program, and when the SoC integration program is executed by a processor, the steps of the SoC integration method described above are implemented.

[0135] Among them, the method implemented when the SoC integration program running on the processor is executed can refer to each embodiment of the SoC integration method of the present invention, which will not be elaborated here.

[0136] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or system. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or system including that element.

[0137] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments.

[0138] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above and includes several instructions for causing a terminal system (which can be a mobile phone, computer, server, or network system, etc.) to execute the methods described in each embodiment of the present invention.

[0139] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.

Claims

1. An on-chip system (SoC) integration method, characterized in that, the SoC integration method comprises the following steps: When receiving an intellectual property (IP) file set, generating a corresponding configuration file set according to the IP file set; Generating a corresponding port information file set according to the configuration file set, including: Parsing the program file corresponding to the version used by each IP file in the configuration file set to determine the port parameters and instantiation number corresponding to each IP file; Obtaining the dependency relationship in the configuration file set, and generating a port information file corresponding to each IP file according to the dependency relationship, the port parameters and the instantiation number to determine the corresponding port information file set; Generating an SoC top-level file and an IP top-level file set according to the port information file set, and integrating the corresponding SoC system according to the SoC top-level file and the IP top-level file set.

2. The SoC integration method according to claim 1, characterized in that, the step of, when receiving an IP file set, generating a corresponding configuration file set according to the IP file set includes: When receiving an IP file set, parsing the program file corresponding to each IP file in the IP file set to determine the dependency relationship of each IP file; Generating a corresponding configuration file set according to the dependency relationship and the IP file set.

3. The SoC integration method according to claim 1, characterized in that, after the step of, when receiving an IP file set, generating a corresponding configuration file set according to the IP file set, the SoC integration method further includes: Obtaining the version number set corresponding to each IP file in the configuration file set, and generating a version management file corresponding to each IP file according to the version number set corresponding to each IP file; Determining the version used by each IP file in the configuration file set according to a preset condition and the version management file.

4. The SoC integration method according to claim 1, characterized in that, the step of generating an SoC top-level file and an IP top-level file set according to the port information file set includes: Generating an SoC top-level file according to the port parameters and the instantiation number in the port information file set, and generating an IP top-level file set according to the port parameters and the dependency relationship in the port information file set.

5. The SoC integration method according to claim 4, characterized in that, the step of integrating the corresponding SoC system according to the SoC top-level file and the IP top-level file set includes: Generating a file list according to the SoC top-level file and the IP top-level file set, and integrating the corresponding SoC system according to the file list.

6. The SoC integration method according to claim 1, characterized in that, After the step of generating the SoC top-level file and the set of IP top-level files according to the set of port information files, and integrating the corresponding SoC system according to the SoC top-level file and the set of IP top-level files, the SoC integration method further includes: Performing syntax checking and synthesis simulation on the SoC system to obtain a syntax checking result and a synthesis simulation result; If both the syntax checking result and the synthesis simulation result meet the preset conditions, output the SoC system; If either the syntax checking result or the synthesis simulation result does not meet the preset conditions, modify the set of IP files and return to execute the step: when receiving the set of IP files, generate the corresponding set of configuration files according to the set of IP files.

7. A SoC integration device, Characterized in that, The SoC integration device includes: A receiving module, configured to generate the corresponding set of configuration files according to the set of IP files when receiving the set of IP files; A first generation module, configured to generate the corresponding set of port information files according to the set of configuration files, including: parsing the program files corresponding to the versions used by each IP file in the set of configuration files to determine the port parameters and the number of instantiations corresponding to each IP file; Obtaining the dependency relationships in the set of configuration files, and generating the port information file corresponding to each IP file according to the dependency relationships, the port parameters, and the number of instantiations to determine the corresponding set of port information files; A second generation module, configured to generate the SoC top-level file and the set of IP top-level files according to the set of port information files, and integrate the corresponding SoC system according to the SoC top-level file and the set of IP top-level files.

8. A SoC integration system, Characterized in that, The SoC integration system includes: a memory, a processor, and a SoC integration program stored on the memory and executable on the processor, and when the SoC integration program is executed by the processor, the steps of the SoC integration method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium, Characterized in that, The computer-readable storage medium stores a SoC integration program, and when the SoC integration program is executed by a processor, the steps of the SoC integration method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Chip IP integration method and device, electronic equipment and storage medium

    CN111859827A

  • System on chip (SOC) builder

    US20190266307A1