Multi-chip PAD automatic identification and multiplexing PIN processing method
Through automated multi-chip PAD identification and processing methods, the problem of high time cost and error rate of manual processing in chip PAD integration and PIN pin multiplexing is solved, and an efficient and accurate development and verification process is achieved.
Patent Information
- Application Number
- CN202411509398.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-02-14
AI Technical Summary
In the prior art, the integration of chip PAD and the multiplexing of PIN pins require a lot of manual processing, resulting in high time cost and high error rate, which is not conducive to rapid verification and project updates.
It provides a method for multi-chip PAD to automatically identify and process multiplexed PIN pins. By defining templates and script functions, it automatically completes PAD chip selection, integration and multiplexing processes, and supports rapid verification and project updates.
It greatly improves the efficiency and accuracy of development and verification, reduces the workload, supports rapid project updates and verification, and reduces the possibility of human error.
Smart Images

Figure CN119442985A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chip PAD, and in particular to a method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD. Background Art
[0002] Chip PAD refers to the connection point or pin on the chip, which is used to connect to the external circuit. In chip design, different PAD structure layouts need to be selected according to the different requirements of circuit requirements or signal transmission. Chip design is divided into functional modules according to this structure, each of which integrates pad instances of different interfaces to connect each functional module to the outside.
[0003] Defects and shortcomings of the existing technology: 1. Currently, for a chip, due to the large number of modules and complex functions, there will be a lot of PAD instances that need to be integrated. Manually processing each signal and interface of each pad will bring a lot of time cost and high error rate; 2. After the pads are integrated, there are still resource conflicts among the pins of these pads. The final chip’s external pins can only be formed after manual screening, reuse and optimization, which also consumes a lot of time and introduces unnecessary errors. 3. This process and output is not conducive to the verification of PAD functions by verification personnel. It is impossible to quickly determine the correctness of the implementation. A large number of documents and codes need to be checked repeatedly, which is a test for the professionalism, meticulousness, time and manpower of verification personnel. 4. Once the design changes, the entire pad integration and pin reuse require verification to be started over again, and the reusability is poor.
[0004] Therefore, it is necessary to provide a method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD to solve the above technical problems. Summary of the invention
[0005] The present invention provides a method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD, which solves the problem of manually processing each signal and interface of each pad, which will bring a lot of time cost and high error rate. After the pad is integrated, there are still resource conflicts in the pins of each of these pads. Only after manual screening, multiplexing and optimization can the final chip's external pins be formed, which will also cause a lot of time consumption and introduce unnecessary errors, which is not conducive to the verification of the PAD function by the verification personnel, and it is impossible to quickly judge the correctness of the implementation, and the reusability is poor.
[0006] In order to solve the above technical problems, the present invention provides a method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD, comprising the following steps: S1: Define a template and a script function. The template contains the typical instantiation form of PAD, instantiation variables and specific values. The script function extracts the value corresponding to the variable and generates text in the instantiation form. The script function adds the check items that the development and test personnel are concerned about, and the script function is packaged into an executable file. S2: Development and testing personnel adjust the value of the template and only focus on whether the template value is what they need. They do not need to pay attention to other functions such as multiplexing and chip selection. They only need to execute the executable program. S3: The output is the multi-instance text, error log, etc. that have completed chip select reuse.
[0007] Preferably, the pad template text mainly includes the name of each integrated pad, multiple groups of input and output signals used in each pad, chip select signals, necessary key elements such as pad name, in0, in1...inN, out0, out1...outN, oe0, oe1...oeN, dfv0, dfv1...dfvN are column names, and each row is filled with the signal key elements or values corresponding to each pad instance.
[0008] Preferably, the input signal No. 0 in in0 is replaced by in for simplicity.
[0009] Preferably, the output signal No. 0 in out0 is replaced by out for simplicity.
[0010] Preferably, the oe signal No. 0 in the oe0 is used to determine the output form of each group of in / out.
[0011] Preferably, the integrated form text mainly includes the format of the integrated code and the chip select signal, and then the above-mentioned signal name, pad name, etc. are added to the integrated form text in the form of key elements as integrated values. The text can contain a variety of different integrated formats, which can be separated by fixed and recognizable separators.
[0012] Preferably, the integration script extracts key elements from the integrated form text, adds them to a key element list, extracts the values corresponding to each pad from the pad template text according to the key element name to form a dictionary pair, and then adds them to the dictionary list line by line. The integrated form text can be replaced by the dictionary list, each line corresponds to an instance, and the replaced instances are written into the output text line by line. The script searches for situations where different pads use the same signal, which is regarded as a signal pin that needs to be reused.
[0013] Preferably, the signal is extracted into a separate key element list, the key element name is adjusted, different suffixes are added to the signal under different pads to distinguish them, the new key element is defined as a wire network, no input and output are added, the original key element name in the instance is replaced, and a definition relationship is established between the new key element and the old key element, that is, the old key element name is still used as the input and output signal, and only different new key elements are used as its value when the pad chip select is selected in different situations, and the original input and output signals are not changed.
[0014] Preferably, the template reads and converts key elements and adds conditional checks and error log printing in different processes to check the standardization of key document filling, the correctness of the values used by each signal, whether the default value exists, and whether the chip selection is reasonable. The entire script is packaged into an executable file and input as the above two templates.
[0015] Preferably, the templates and scripts can be reused all the time. When the project is updated or replaced, only the specific values in the template need to be changed. The verification personnel only need to fill in the template for verification, and do not need to worry about other human errors. The verification personnel do not need to have the necessary code knowledge of the designers. The verification personnel only need to focus on the filled-in values in the template and understand the functions.
[0016] Compared with the related art, the method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD provided by the present invention has the following beneficial effects: The present invention provides a method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD. The method concentrates multiple processes such as encapsulation, chip selection, and integration of pad pins into a script function. The required information is transmitted to the function only by filling in key parameters of a table. The method uses a printing error as a verification result. The method supports adding or reducing signal constraints and checks at any time. The method only requires calling the script function to complete a whole set of development and verification processes such as chip selection, integration, multiplexing, and verification. The method greatly improves the efficiency and correctness of development and verification, and reduces the workload of developers and verifiers. Such operation process templates and scripts can be reused all the time. When a project is updated or replaced, only specific values in the template need to be changed. Verifiers only need to fill in and verify the templates, and do not need to worry about other human errors. Verifiers are not required to have the necessary code knowledge for designers. Verifiers only need to focus on the filled-in values in the templates and understand the functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A schematic flow chart of a method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD provided by the present invention. DETAILED DESCRIPTION
[0018] The present invention will be further described below in conjunction with the accompanying drawings and implementation modes.
[0019] Please refer to Figure 1 ,in, Figure 1 A method for automatically identifying and processing multiplexed PIN pins for a multi-chip PAD provided by the present invention is a flow chart of the method. A method for automatically identifying and processing multiplexed PIN pins for a multi-chip PAD includes the following steps: S1: Define a template and a script function. The template contains the typical instantiation form of PAD, instantiation variables and specific values. The script function extracts the value corresponding to the variable and generates text in the instantiation form. The script function adds the check items that the development and test personnel are concerned about, and the script function is packaged into an executable file. S2: Development and testing personnel adjust the value of the template and only focus on whether the template value is what they need. They do not need to pay attention to other functions such as multiplexing and chip selection. They only need to execute the executable program. S3: The output is the multi-instance text, error log, etc. that have completed chip select reuse.
[0020] The pad template text mainly includes the name of each integrated pad, multiple groups of input and output signals used in each pad, chip select signals, necessary key elements such as pad name, in0, in1...inN, out0, out1...outN, oe0, oe1...oeN, dfv0, dfv1...dfvN as column names, and each row is filled with the signal key elements or values corresponding to each pad instance.
[0021] The input signal No. 0 in in0 is replaced by in for simplicity.
[0022] The output signal No. 0 in out0 is replaced by out for simplicity.
[0023] The oe signal No. 0 in the oe0 is used to determine the output form of each group of in / out.
[0024] The integrated form text mainly includes the format of the integrated code and the chip select signal, and then the above signal name, pad name, etc. are added to the integrated form text in the form of key elements as integrated values. The text can contain a variety of different integrated formats, which can be separated by fixed and recognizable separators.
[0025] The integration script extracts key elements from the integrated form text, adds them to the key element list, extracts the values corresponding to each pad from the pad template text according to the key element name to form a dictionary pair, and then adds them to the dictionary list line by line. The integrated form text can be replaced by the dictionary list. Each line corresponds to an instance, and the replaced instances are written into the output text line by line. The script searches for situations where the same signal is used in different pads, and regards them as signal pins that need to be reused.
[0026] The signal is extracted into a separate key element list, the key element name is adjusted, different suffixes are added to the signal under different pads to distinguish them, the new key element is defined as a wire net, no input and output are added, the original key element name in the instance is replaced, and a definition relationship is established between the new key element and the old key element, that is, the old key element name is still used as the input and output signal, and only different new key elements are used as its value when the pad chip select is selected differently, and the original input and output signal is not changed.
[0027] The template reads and converts key elements, and adds conditional checks and error log printing in different processes to check the standardization of key document filling, the correctness of the values used by each signal, whether the default value exists, and whether the chip selection is reasonable. The entire script is packaged into an executable file and input as the above two templates.
[0028] The templates and scripts can be reused all the time. When the project is updated or replaced, only the specific values in the template need to be changed. The verification personnel can fill in the template for verification without worrying about other human errors. The verification personnel are not required to have the necessary code knowledge of the designers. The verification personnel can focus on the filled values in the template and understand the functions.
[0029] The working principle of the method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD provided by the present invention is as follows: When working, the pad template text mainly includes the name of each integrated pad, multiple input and output signals used in each pad, and chip select signals. Necessary key elements such as pad name, in0 (input signal No. 0, replaced by in for simplicity), in1...inN, out0 (output signal No. 0, replaced by out for simplicity) out1...outN, oe0 (oe signal No. 0, used to determine the output form of each group of in / out) oe1...oeN, dfv0 (default value), dfv1...dfvN are column names, and each row is filled with the signal key elements or values corresponding to each pad instance.
[0030] The integrated form text mainly includes the format of the integrated code and the chip select signal, and then the above signal name, pad name, etc. are added to the integrated form text as key elements as the integrated value. The text can contain a variety of different integrated formats, separated by fixed and recognizable delimiters.
[0031] The integration script extracts the key elements in the integrated form text and adds them to the key element list. The values corresponding to each pad are extracted from the pad template text according to the key element name to form a dictionary pair, and then added to the dictionary list line by line. The dictionary list can be used to replace the integrated form text. Each line corresponds to an instance, and the replaced instance is written to the output text line by line. The script searches for situations where the same signal is used by different pads, and regards it as a signal pin that needs to be reused. Such signals are extracted into a separate key element list, the key element name is adjusted, and different suffixes are added to the signal under different pads to distinguish them. The new key element is defined as a line network, and no input and output are added. The original key element name in the instance is replaced, and a definition relationship is established between the new key element and the old key element, that is, the old key element name is still used as the input and output signal, and only different new key elements are used as its value when the pad chip select is selected differently, and the original input and output signals are not changed.
[0032] Conditional checks and error log printing are added in different processes such as reading templates and converting key elements to check the standardization of key document filling, the correctness of the values used by each signal, whether the default value exists, and whether the chip selection is reasonable.
[0033] The entire script is packaged into an executable file, and the input is the above two templates.
[0034] This type of operation process template and script can always be reused. When the project is updated or replaced, you only need to change the specific values in the template. The verifier only needs to fill in the verification based on the template. There is no need to worry about other human errors. The verifier is not required to have the necessary code knowledge of the designer. The verifier only needs to focus on the filled-in values in the template and understand the functions.
[0035] Compared with the related art, the method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD provided by the present invention has the following beneficial effects: The present invention provides a method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD. The method concentrates multiple processes such as encapsulation, chip selection, and integration of pad pins into a script function. The required information is transmitted to the function only by filling in key parameters of a table. The method uses a printing error as a verification result. The method supports adding or reducing signal constraints and checks at any time. The method only requires calling the script function to complete a whole set of development and verification processes such as chip selection, integration, multiplexing, and verification. The method greatly improves the efficiency and correctness of development and verification, and reduces the workload of developers and verifiers. Such operation process templates and scripts can be reused all the time. When a project is updated or replaced, only specific values in the template need to be changed. Verifiers only need to fill in and verify the templates, and do not need to worry about other human errors. Verifiers are not required to have the necessary code knowledge for designers. Verifiers only need to focus on the filled-in values in the templates and understand the functions.
[0036] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD, characterized in that: The following steps are involved: S1: Define a template and a script function. The template contains the typical instantiation form of PAD, instantiation variables and specific values. The script function extracts the value corresponding to the variable and generates text in the instantiation form. The script function adds the check items that the development and test personnel are concerned about, and the script function is packaged into an executable file. S2: Development and testing personnel adjust the value of the template and only focus on whether the template value is what they need. They do not need to pay attention to other functions such as multiplexing and chip selection. They only need to execute the executable program. S3: The output is the multi-instance text, error log, etc. that have completed chip select reuse.
2. The method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD according to claim 1, characterized in that: The pad template text mainly includes the name of each integrated pad, multiple groups of input and output signals used in each pad, chip select signals, necessary key elements such as pad name, in0, in1...inN, out0, out1...outN, oe0, oe1...oeN, dfv0, dfv1...dfvN as column names, and each row is filled with the signal key elements or values corresponding to each pad instance.
3. The method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD according to claim 1, characterized in that: The input signal No. 0 in in0 is replaced by in for simplicity.
4. The method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD according to claim 1, characterized in that: The output signal No. 0 in out0 is replaced by out for simplicity.
5. The method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD according to claim 4, characterized in that: The oe signal No. 0 in the oe0 is used to determine the output form of each group of in / out.
6. The method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD according to claim 2, characterized in that: The integrated form text mainly includes the format of the integrated code and the chip select signal, and then the above signal name, pad name, etc. are added to the integrated form text in the form of key elements as integrated values. The text can contain a variety of different integrated formats, which can be separated by fixed and recognizable separators.
7. The method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD according to claim 6, characterized in that: The integration script extracts key elements from the integrated form text, adds them to the key element list, extracts the values corresponding to each pad from the pad template text according to the key element name to form a dictionary pair, and then adds them to the dictionary list line by line. The integrated form text can be replaced by the dictionary list. Each line corresponds to an instance, and the replaced instances are written into the output text line by line. The script searches for situations where the same signal is used in different pads, and regards them as signal pins that need to be reused.
8. The method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD according to claim 7, characterized in that: The signal is extracted into a separate key element list, the key element name is adjusted, different suffixes are added to the signal under different pads to distinguish them, the new key element is defined as a wire net, no input and output are added, the original key element name in the instance is replaced, and a definition relationship is established between the new key element and the old key element, that is, the old key element name is still used as the input and output signal, and only different new key elements are used as its value when the pad chip select is selected differently, and the original input and output signal is not changed.
9. The method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD according to claim 1, characterized in that: The template reads and converts key elements, and adds conditional checks and error log printing in different processes to check the standardization of key document filling, the correctness of the values used by each signal, whether the default value exists, and whether the chip selection is reasonable. The entire script is packaged into an executable file and input as the above two templates.
10. The method for automatically identifying and processing multiplexed PIN pins of a multi-chip PAD according to claim 9, characterized in that: The templates and scripts can be reused all the time. When the project is updated or replaced, only the specific values in the template need to be changed. The verification personnel can fill in the template for verification without worrying about other human errors. The verification personnel are not required to have the necessary code knowledge of the designers. The verification personnel can focus on the filled values in the template and understand the functions.
Citation Information
Cited By
Hardware verification method and device, electronic equipment and readable storage medium
CN119862827A