TWI816415B - Verification method,system and computer readable storage medium for pin naming - Google Patents

Verification method,system and computer readable storage medium for pin naming Download PDF

Info

Publication number
TWI816415B
TWI816415B TW111120327A TW111120327A TWI816415B TW I816415 B TWI816415 B TW I816415B TW 111120327 A TW111120327 A TW 111120327A TW 111120327 A TW111120327 A TW 111120327A TW I816415 B TWI816415 B TW I816415B
Authority
TW
Taiwan
Prior art keywords
pin
verified
circuit
naming
information
Prior art date
Application number
TW111120327A
Other languages
Chinese (zh)
Other versions
TW202349250A (en
Inventor
董順福
Original Assignee
新加坡商鴻運科股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 新加坡商鴻運科股份有限公司 filed Critical 新加坡商鴻運科股份有限公司
Priority to TW111120327A priority Critical patent/TWI816415B/en
Application granted granted Critical
Publication of TWI816415B publication Critical patent/TWI816415B/en
Publication of TW202349250A publication Critical patent/TW202349250A/en

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The application provides a verification method, system and computer-readable storage medium for pin naming. The verification method of pin naming includes: storing the information of several parts; Run the circuit to be verified and generate part pin report; Compare the part pin report with the information of several parts stored to confirm whether the part pin name in the circuit to be verified is correct; When the comparison shows that the part pin report is different from the information of several parts stored, confirm that the part pin name in the circuit to be verified is incorrect; When the comparison shows that the part pin report is the same as the stored information of several parts, it is confirmed that the part pin names in the circuit to be verified are correct, thus improving the efficiency and accuracy of verification pin names.

Description

引腳命名之驗證方法、系統及電腦可讀存儲介質 Verification method, system and computer-readable storage medium for pin naming

本申請涉及電路設計技術領域,尤其涉及一種引腳命名之驗證方法、系統及電腦可讀存儲介質。 This application relates to the field of circuit design technology, and in particular to a pin naming verification method, system and computer-readable storage medium.

通常,為電路設計中晶片引腳之命名時,進行低準位動作之引腳通常會以“N”作為尾碼進行命名,進行高準位動作之引腳則通常不會添加“N”為尾碼而命名。於電路開發階段,容易出現命名錯誤之現象,進而導致電路需要進行更改,由此需要藉由人工來檢查確認來儘量避免錯誤之發生。然而藉由人工進行檢測,效率較低,且難免會出現遺漏或者誤判。故,需要一種能準確並快速驗證出設計電路中晶片引腳命名是否正確之方法。 Usually, when naming chip pins in circuit design, pins that perform low-level actions are usually named with "N" as the suffix, while pins that perform high-level actions usually do not add "N" as the suffix. Named after the suffix code. During the circuit development stage, naming errors are prone to occur, which in turn leads to the need to modify the circuit. This requires manual inspection and confirmation to avoid errors as much as possible. However, manual detection is less efficient and omissions or misjudgments are inevitable. Therefore, a method is needed that can accurately and quickly verify whether the chip pin naming in the designed circuit is correct.

有鑑於此,本申請有必要提出一種引腳命名之驗證方法、系統及電腦可讀存儲介質來解決上述問題。 In view of this, it is necessary for this application to propose a pin naming verification method, system and computer-readable storage medium to solve the above problems.

本申請提出一種引腳命名之驗證方法,方法包括:存儲複數零件之資訊;運行待驗證電路,並生成零件引腳報告;對比零件引腳報告與存儲之複數零件之資訊,以確認待驗證電路中之零件引腳命名是否正確;當對比得出零件引腳報告與存儲之複數零件之資訊不同,則確認待驗證電路中之零件引腳命名不正確;當對比得出零件引腳報告與存儲之複數零件之資訊相同,則確認待驗證電路中之零件引腳命名正確。 This application proposes a verification method for pin naming. The method includes: storing information on multiple parts; running the circuit to be verified and generating a part pin report; and comparing the part pin report with the stored information on multiple parts to confirm the circuit to be verified. Whether the part pin naming in the circuit is correct; when the part pin report is compared with the stored information of multiple parts, it is confirmed that the part pin naming in the circuit to be verified is incorrect; when the part pin report is compared with the stored information If the information of multiple parts is the same, it is confirmed that the pin names of the parts in the circuit to be verified are correct.

進一步地,方法還包括,運行待驗證電路前,檢測待驗證電路中之零件,並確認待驗證電路中是否有零件之資訊未進行預設及存儲;當確認待驗證電路中存於有零件之資訊未進行預設及存儲時,則根據零件清單對未預設及存儲之零件之資訊進行預設與存儲;當確認待驗證電路中之零件均已經被存儲時,運行待驗證電路。 Further, the method also includes, before running the circuit to be verified, detecting the components in the circuit to be verified, and confirming whether there are components in the circuit to be verified. The information is not preset and stored; when it is confirmed that there are components in the circuit to be verified, When the information has not been preset and stored, the information of the unpreset and stored parts will be preset and stored according to the parts list; when it is confirmed that all the parts in the circuit to be verified have been stored, the circuit to be verified will be run.

進一步地,方法還包括,零件引腳報告包括零件之引腳及引腳之命名;當零件之引腳以預設字母為尾碼命名時,則引腳傳輸之訊號為第一訊號;當零件之引腳未以預設字母為尾碼命名時,則引腳傳輸之訊號為第二訊號。 Further, the method further includes that the part pin report includes the pin of the part and the name of the pin; when the pin of the part is named with a preset letter as the suffix, the signal transmitted by the pin is the first signal; when the part When the pin is not named with the default letter as the suffix, the signal transmitted by the pin is the second signal.

進一步地,方法還包括,根據零件之邏輯輸出方式以及引腳之訊號,確認引腳之命名是否正確;當零件之輸入引腳傳輸之訊號與輸出引腳訊號傳輸之訊號相同時,則零件之邏輯輸出方式是進行同向邏輯輸出;當零件之輸入引腳傳輸之訊號與輸出引腳傳輸之訊號不同時,則零件之邏輯輸出方式是進行反向邏輯輸出。 Furthermore, the method also includes confirming whether the pin naming is correct based on the logic output mode of the part and the signal of the pin; when the signal transmitted by the input pin of the part is the same as the signal transmitted by the output pin signal, then the part The logic output mode is to perform same-direction logic output; when the signal transmitted by the input pin of the component is different from the signal transmitted by the output pin, the logic output mode of the component is to perform reverse logic output.

進一步地,方法還包括,當存儲之零件之邏輯輸出方式與待驗證電路中零件之邏輯輸出方式相同時,則待驗證電路中零件之引腳命名正確;當存儲之零件之邏輯輸出方式與待驗證電路中零件之邏輯輸出方式不同時,則待驗證電路中零件之引腳命名不正確。 Further, the method also includes: when the logic output mode of the stored part is the same as the logic output mode of the part in the circuit to be verified, then the pin naming of the part in the circuit to be verified is correct; when the logic output mode of the stored part is the same as the logic output mode of the part to be verified. When the logic output modes of the components in the verification circuit are different, the pin names of the components in the circuit to be verified are incorrect.

進一步地,方法還包括,當判斷待驗證電路中之零件引腳命名不正確時,發出提示,提示待驗證電路需進行修改。 Further, the method further includes: when it is determined that the component pins in the circuit to be verified are incorrectly named, issuing a prompt to indicate that the circuit to be verified needs to be modified.

本申請還提出一種引腳命名之驗證系統,引腳命名之驗證系統用於實現引腳命名之驗證方法;引腳命名之驗證系統包括:存儲模組,存儲模組用於預設並存儲複數零件之資訊;第一運行模組,第一運行模組用於運行待驗證電路,並生成零件引腳報告;檢驗模組,檢驗模組用於將第一運行模組中生成之零件引腳報告與存儲模組中存儲之複數零件之資訊進行對比。 This application also proposes a pin naming verification system. The pin naming verification system is used to implement the pin naming verification method. The pin naming verification system includes: a storage module. The storage module is used to preset and store complex numbers. Part information; the first run module, which is used to run the circuit to be verified and generate a part pin report; the inspection module, which is used to convert the part pins generated in the first run module The report is compared with the information of multiple parts stored in the storage module.

進一步地,引腳命名之驗證系統還包括第二運行模組;第二運行模組用於生成零件清單,零件清單包括各種零件之資訊。 Furthermore, the pin naming verification system also includes a second running module; the second running module is used to generate a parts list, and the parts list includes information on various parts.

進一步地,當存儲模組中缺少待驗證電路中之零件資訊時,存儲模組從第二運行模組中獲取缺少之零件之資訊並進行預設與存儲。 Further, when the storage module lacks component information in the circuit to be verified, the storage module obtains the missing component information from the second running module and presets and stores it.

本申請還提出一種電腦可讀存儲介質,其上存儲至少一條電腦指令,電腦指令由處理器載入並執行引腳命名之驗證方法。 This application also proposes a computer-readable storage medium on which at least one computer instruction is stored. The computer instruction is loaded by the processor and executes the pin naming verification method.

本申請提出之引腳命名之驗證方法,本方法藉由將零件之資訊預設並存儲於存儲模組中,並結合第一運行模組即第二運行模組之運行,再藉由檢測模組判斷零件之引腳命名是否符合預設。即根據第一運行模組之程式運行待驗證電路,而生成零件引腳報告,進而檢測模組藉由將零件引腳報告與預設之零件規格進行對比,判斷零件之引腳是否命名正確。同時藉由第二運行模組之程式運行生成之零件清單來補充驗證時所需之零件之資訊。由此提高了驗證引腳命名之效率與準確性。 The pin naming verification method proposed in this application presets and stores the part information in the storage module, and combines the operation of the first operation module and the second operation module, and then through the detection module The group determines whether the pin naming of the part matches the default. That is, the circuit to be verified is run according to the program of the first running module to generate a part pin report, and then the detection module determines whether the pins of the part are named correctly by comparing the part pin report with the preset part specifications. At the same time, the parts list generated by the program running in the second running module is used to supplement the parts information required for verification. This improves the efficiency and accuracy of verifying pin naming.

1:驗證系統 1: Verification system

10:存儲模組 10:Storage module

20:第一運行模組 20: First running module

30:第二運行模組 30: Second running module

40:檢測模組 40:Detection module

50:記憶體 50:Memory

60:處理器 60: Processor

S1:第一零件 S1: first part

A:第一引腳 A:The first pin

B:第二引腳 B: Second pin

S2:第二零件 S2: Second part

C:第三引腳 C: The third pin

D:第四引腳 D:Fourth pin

S101~S107:步驟 S101~S107: Steps

圖1是本申請實施例之引腳命名之驗證方法之流程圖;圖2是本申請實施例引腳命名之驗證系統之架構圖;圖3是本申請實施例之驗證系統之結構示意圖;圖4是本申請實施例之第一零件之結構示意圖;圖5是本申請實施例之第二零件之結構示意圖。 Figure 1 is a flow chart of the pin naming verification method according to the embodiment of the present application; Figure 2 is the architecture diagram of the pin naming verification system according to the embodiment of the present application; Figure 3 is the structural schematic diagram of the verification system according to the embodiment of the present application; Figure 4 is a schematic structural diagram of the first component of the embodiment of the present application; FIG. 5 is a schematic structural diagram of the second component of the embodiment of the present application.

下面將結合本申請實施例中之附圖,對本申請實施例中之技術方案進行清楚、完整地描述,顯然,所描述之實施例僅僅是本申請一部分實施例, 而不是全部之實施例。基於本申請中之實施例,本領域普通技術人員於沒有做出創造性勞動前提下所獲得之所有其他實施例,均屬於本申請保護之範圍。 The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application. Not all examples. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.

除非另有定義,本文所使用之所有之技術與科學術語與屬於本申請之技術領域之技術人員通常理解之含義相同。本文中於本申請之說明書中所使用之術語僅是為描述具體之實施例之目不是旨在於限制本申請。 Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the description of the present application are only for describing specific embodiments and are not intended to limit the present application.

本申請之說明書及上述附圖中之術語“第一”與“第二”等是用於區別不同物件,而非用於描述特定順序。此外,術語“包括”與它之任何變形,意圖在於覆蓋不排他之包含。例如包含了一系列步驟或模組之過程、方法、系統、產品或設備沒有限定於已列出之步驟或模組,而是可選地還包括沒有列出之步驟或模組,或可選地還包括對於該等過程、方法、產品或設備固有之其它步驟或模組。 The terms "first" and "second" in the description of this application and the above-mentioned drawings are used to distinguish different objects, rather than describing a specific sequence. Furthermore, the term "include" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include steps or modules that are not listed, or may optionally This also includes other steps or modules that are inherent to such processes, methods, products or devices.

下面結合附圖,對本申請之一些實施方式作詳細說明。於不衝突之情況下,下述之實施例及實施例中之特徵可相互組合。 Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The following embodiments and features in the embodiments may be combined with each other without conflict.

本申請提出一種引腳命名之驗證方法,本方法藉由根據基礎設計工具包(Allegro PCB Designer)之程式運行待驗證電路,而生成零件引腳報告,零件引腳報告之內容包括零件之位置、引腳以及引腳之命名。根據零件引腳報告與預設之零件規格進行對比,驗證零件引腳是否命名正確。本方法還藉由OrCAD之程式運行生成之零件清單來補充驗證時所需之零件之資訊。 This application proposes a verification method for pin naming. This method generates a part pin report by running the circuit to be verified according to the program of the basic design toolkit (Allegro PCB Designer). The content of the part pin report includes the location of the part, Pins and pin naming. Compare the part pin report with the preset part specifications to verify whether the part pins are correctly named. This method also uses the parts list generated by running the OrCAD program to supplement the part information required for verification.

通常,當零件之引腳以“N”為尾碼命名時,則此引腳之訊號為低準位元訊號。當零件之引腳未以“N”為尾碼命名時,則此引腳之訊號為高準位元訊號。 Usually, when the pin of a part is named with "N" as the suffix, the signal of this pin is a low-level bit signal. When the pin of the part is not named with "N" as the suffix, the signal of this pin is a high-level bit signal.

當零件輸入輸出之訊號均為低準位元訊號或高準位元訊號時,則零件之邏輯輸出方式是進行同向邏輯輸出。當零件輸入輸出之訊號不同,例如輸出訊號為低準位元,而輸出訊號為高準位元元時,則零件之邏輯輸出方式是進行反向邏輯輸出。進而根據零件之邏輯輸出方式以及引腳之訊號,則可判斷引腳之命名是否正確。 When the input and output signals of the part are all low-level bit signals or high-level bit signals, the logic output mode of the part is to perform same-direction logic output. When the input and output signals of the part are different, for example, the output signal is a low-level bit and the output signal is a high-level bit, the logic output mode of the part is to perform reverse logic output. Then, based on the logic output mode of the part and the signals of the pins, you can determine whether the pins are named correctly.

請參閱圖1,為本申請實施例之引腳命名之驗證方法之流程圖。方法包括: Please refer to Figure 1, which is a flow chart of a pin naming verification method according to an embodiment of the present application. Methods include:

S101:預設複數零件之資訊並進行存儲。 S101: Preset the information of multiple parts and store it.

於一些實施例中,預設之零件之資訊可為零件之電器規格,包括零件之輸入引腳及對應之輸出引腳,以及零件之邏輯輸出形式(例如,同向邏輯輸出、反向邏輯輸出)。 In some embodiments, the preset component information may be the electrical specifications of the component, including the input pins and corresponding output pins of the component, and the logic output form of the component (for example, same-direction logic output, reverse logic output ).

S102:確認待驗證電路中之所有零件之資訊是否進行預設及存儲。 S102: Confirm whether the information of all components in the circuit to be verified is preset and stored.

當確認待驗證電路中存於有零件之資訊未進行預設及存儲時,則根據零件清單對該零件之資訊進行預設與存儲,進而執行S103。 When it is confirmed that the information of a part in the circuit to be verified has not been preset and stored, the information of the part is preset and stored according to the parts list, and then S103 is executed.

當確認待驗證電路中之零件已經被存儲時,進而執行S104。 When it is confirmed that the parts in the circuit to be verified have been stored, S104 is executed.

S103:從零件清單中獲取待驗證電路中之零件之資訊,並進行預設與存儲,進而執行S104。 S103: Obtain the information of the parts in the circuit to be verified from the parts list, preset and store it, and then execute S104.

S104:運行待驗證電路,並生成零件引腳報告,進而執行S105。 S104: Run the circuit to be verified and generate a part pin report, then execute S105.

於一些實施例中,藉由程式運行待驗證電路後,生成零件引腳報告,零件引腳報告之內容包括待驗證電路中零件之物料號、位置、引腳及引腳命名等。 In some embodiments, after the circuit to be verified is run through the program, a part pin report is generated. The content of the part pin report includes the material number, location, pins, and pin naming of the parts in the circuit to be verified.

S105:對比零件引腳報告與存儲之零件之資訊,以確認待驗證電路中之零件引腳命名是否正確。 S105: Compare the part pin report with the stored part information to confirm whether the part pin naming in the circuit to be verified is correct.

當零件引腳報告與存儲之零件之資訊不同,則確認待驗證電路中之零件引腳命名不正確,進而執行S106。 When the part pin report is different from the stored part information, it is confirmed that the part pin name in the circuit to be verified is incorrect, and then S106 is executed.

當零件引腳報告與存儲之零件之資訊相同,則確認待驗證電路中之零件引腳命名正確,進而執行S107。 When the part pin report is the same as the stored part information, it is confirmed that the part pins in the circuit to be verified are correctly named, and then S107 is executed.

S106:發出提示,以提示電路需要進行修改。 S106: Issue a prompt to indicate that the circuit needs to be modified.

S107:驗證完成。 S107: Verification completed.

請參閱圖2,為本申請實施例引腳命名之驗證系統1之架構圖。驗證系統1用於執行引腳命名之驗證方法。驗證系統1包括存儲模組10、第一運行模組20、第二運行模組30及檢測模組40。 Please refer to Figure 2, which is an architecture diagram of the pin naming verification system 1 according to the embodiment of the present application. Verification system 1 is used to perform the verification method of pin naming. The verification system 1 includes a storage module 10 , a first operation module 20 , a second operation module 30 and a detection module 40 .

存儲模組10用於預設並存儲複數零件之資訊,存儲之零件資訊可作為驗證之標準。 The storage module 10 is used to preset and store information on a plurality of parts, and the stored part information can be used as a standard for verification.

第一運行模組20可為基礎設計工具包,基礎設計工具包中包含運行待驗證電路之程式,藉由運行待驗證電路並生成零件引腳報告,即待驗證電路中之零件之資訊。 The first running module 20 can be a basic design toolkit. The basic design toolkit includes a program for running the circuit to be verified. By running the circuit to be verified and generating a component pin report, that is, the information of the components in the circuit to be verified.

第二運行模組30可為OrCAD,OrCAD可生成零件清單,零件清單中包括各種零件之資訊。於一些實施例中,當存儲模組10中缺少待驗證電路中之零件資訊時,可從第二運行模組30中獲取零件之資訊並進行預設與存儲。 The second running module 30 can be OrCAD, and OrCAD can generate a parts list, and the parts list includes information on various parts. In some embodiments, when the storage module 10 lacks component information in the circuit to be verified, the component information can be obtained from the second operating module 30 and preset and stored.

檢測模組40包含預設之程式,用於將第一運行模組20中生成之零件引腳報告及存儲模組10中存儲之零件之資訊進行比較,進而檢測待驗證電路中零件引腳之命名是否正確。 The detection module 40 includes a preset program for comparing the component pin report generated in the first running module 20 with the component information stored in the storage module 10, and then detecting the component pins in the circuit to be verified. Is the naming correct?

請參閱圖3,為本申請實施例之驗證系統1之結構示意圖。於一個實施例中,所述驗證系統1包括記憶體50及至少一個處理器60。本領域技術人員應該瞭解,圖3示出之驗證系統1之結構並不構成本申請實施例之限定,所述驗證系統1還可包括比圖示更多或更少之其他硬體或者軟體,或者不同之部件佈置。 Please refer to Figure 3, which is a schematic structural diagram of the verification system 1 according to the embodiment of the present application. In one embodiment, the verification system 1 includes a memory 50 and at least one processor 60 . Those skilled in the art should understand that the structure of the verification system 1 shown in Figure 3 does not constitute a limitation of the embodiment of the present application. The verification system 1 may also include more or less other hardware or software than shown in the figure. Or different component arrangements.

於一些實施例中,所述驗證系統1包括一種能夠按照事先設定或存儲之指令,自動進行數值計算與/或資訊處理之終端,其硬體包括但不限於微處理器、專用積體電路、可程式設計閘陣列、數文書處理器及嵌入式設備等。於一些實施例中,記憶體50用於存儲程式碼與各種資料。所述記憶體50可包括唯讀記憶體(Read-Only Memory,ROM)、隨機記憶體(Random Access Memory,RAM)、可程式設計唯讀記憶體(Programmable Read-Only Memory,PROM)、可擦除可程式設計唯讀記憶體(Erasable Programmable Read-Only Memory, EPROM)、一次可程式設計唯讀記憶體(One-time Programmable Read-Only Memory,OTPROM)、電子擦除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、唯讀光碟(Compact Disc Read-Only Memory,CD-ROM)或其他光碟記憶體、磁碟記憶體、磁帶記憶體、或者能夠用於攜帶或存儲資料之電腦可讀之任何其他介質。 In some embodiments, the verification system 1 includes a terminal that can automatically perform numerical calculations and/or information processing according to preset or stored instructions. Its hardware includes but is not limited to microprocessors, special integrated circuits, Programmable gate arrays, digital processors and embedded devices, etc. In some embodiments, the memory 50 is used to store program codes and various data. The memory 50 may include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable memory. In addition to programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), one-time programmable read-only memory (OTPROM), electronically erasable programmable read-only memory (EEPROM), read-only disc (Compact Disc Read-Only Memory, CD-ROM) or other optical disc memory, magnetic disk memory, tape memory, or any other computer-readable medium that can be used to carry or store data.

於一些實施例中,所述至少一個處理器60可包括積體電路,例如可包括單個封裝之積體電路,亦可包括多個相同功能或不同功能封裝之積體電路,包括微處理器、數文書處理晶片、圖形處理器及各種控制晶片之組合等。至少一個處理器60是驗證系統1之控制核心(Control Unit),藉由運行或執行存儲於所述記憶體50內之程式或者模組,以及調用存儲於所述記憶體50內之資料,以執行驗證系統1之各種功能與處理資料,例如第一運行模組20之運行。 In some embodiments, the at least one processor 60 may include an integrated circuit, for example, may include a single packaged integrated circuit, or may include multiple integrated circuits packaged with the same function or different functions, including a microprocessor, Combinations of digital word processing chips, graphics processors and various control chips, etc. At least one processor 60 is the control core (Control Unit) of the verification system 1, by running or executing programs or modules stored in the memory 50, and calling data stored in the memory 50, to Execute various functions and process data of the verification system 1, such as the operation of the first operation module 20.

上述以軟體功能模組之形式實現之集成之單元,可存儲於一個電腦可讀取存儲介質中。上述軟體功能模組存儲於一個存儲介質中,包括複數指令用以使得一台電腦設備(可是個人電腦,終端,或者網路設備等)或處理器(processor)執行本申請各個實施例所述方法之部分。 The above-mentioned integrated units implemented in the form of software function modules can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium and includes a plurality of instructions to cause a computer device (such as a personal computer, terminal, or network device, etc.) or processor to execute the methods described in various embodiments of this application. part.

所述記憶體50中存儲有程式碼,且所述至少一個處理器60可調用所述記憶體50中存儲之程式碼以執行相關之功能。於本申請之一個實施例中,所述記憶體50存儲多個指令,所述多個指令被所述至少一個處理器60所執行以實現引腳命名之驗證方法。具體地,所述至少一個處理器60對上述指令之具體實現方法可參考圖1對應實施例中相關步驟之描述,於此不贅述。 Program codes are stored in the memory 50 , and the at least one processor 60 can call the program codes stored in the memory 50 to perform related functions. In one embodiment of the present application, the memory 50 stores a plurality of instructions, and the plurality of instructions are executed by the at least one processor 60 to implement the pin naming verification method. Specifically, for the specific implementation method of the above instructions by the at least one processor 60, reference can be made to the description of the relevant steps in the corresponding embodiment in Figure 1, which will not be described again here.

請參閱圖4,為本申請實施例之第一零件S1之結構示意圖。本實施例以第一零件S1為例來介紹引腳命名之驗證方法之運行。 Please refer to FIG. 4 , which is a schematic structural diagram of the first component S1 according to the embodiment of the present application. This embodiment uses the first component S1 as an example to introduce the operation of the pin naming verification method.

於本實施例中,第一零件S1可為Dual N-MOS零件,物料號為DMN601DWK-7,存儲模組10中預設及存儲之第一零件S1之邏輯輸出方式為反向邏輯輸出。 In this embodiment, the first part S1 can be a Dual N-MOS part, and the material number is DMN601DWK-7. The logic output mode of the first part S1 preset and stored in the storage module 10 is reverse logic output. .

於本實施例中,第一零件S1包括第一引腳A及第二引腳B。第一引腳A為輸入口,第二引腳B為對應第一引腳A之輸出口。第一引腳A之命名為CPLD_CPU_RST,命名中不包含尾碼“N”,則第一引腳A之訊號為高準位元訊號。第二引腳B之命名為CPU1_RST_N,命名中包含尾碼“N”,則第二引腳B之訊號為低準位元訊號。由此可得出,第一零件S1之邏輯輸出方式為反向邏輯輸出。 In this embodiment, the first component S1 includes a first pin A and a second pin B. The first pin A is an input port, and the second pin B is an output port corresponding to the first pin A. The name of the first pin A is CPLD_CPU_RST. If the name does not include the suffix "N", the signal of the first pin A is a high-level bit signal. The second pin B is named CPU1_RST_N, and the name contains the suffix "N", then the signal of the second pin B is a low-level bit signal. It can be concluded that the logic output mode of the first component S1 is reverse logic output.

進而第一零件S1之運行結果與存儲模組10中存儲之零件之資訊相一致,藉由引腳命名之驗證方法進行驗證,可得出第一零件S1之第一引腳A及第二引腳B命名正確。 Furthermore, the operation result of the first part S1 is consistent with the information of the part stored in the storage module 10. Through the verification method of pin naming, it can be obtained that the first pin A and the first pin A of the first part S1 are The second pin B is named correctly.

請參閱圖5,為本申請實施例之第二零件S2之結構示意圖。本實施例以第二零件S2為例來介紹引腳命名之驗證方法之運行。 Please refer to FIG. 5 , which is a schematic structural diagram of the second component S2 according to the embodiment of the present application. This embodiment uses the second part S2 as an example to introduce the operation of the pin naming verification method.

於本實施例中,第二零件S2可為GTL transceiver零件,物料號為GTL2014PW,存儲模組10中預設及存儲之第二零件S2之邏輯輸出方式為同向邏輯輸出。 In this embodiment, the second part S2 can be a GTL transceiver part, and the material number is GTL2014PW. The logic output mode of the second part S2 preset and stored in the storage module 10 is a same-direction logic output.

於本實施例中,第二零件S2包括第三引腳C及第四引腳D。第三引腳C為輸入口,第四引腳D為對應第三引腳C之輸出口。第三引腳C之命名為CPLD_CPU_PROCHOT,命名中不包含尾碼“N”,則第三引腳C之訊號為高準位元訊號。第四引腳D之命名為LVC1_PROCHOT_R_N,命名中包含尾碼“N”,則第四引腳D之訊號為低準位元訊號。由此可得出,第二零件S2之邏輯輸出方式為反向邏輯輸出。 In this embodiment, the second component S2 includes a third pin C and a fourth pin D. The third pin C is an input port, and the fourth pin D is an output port corresponding to the third pin C. The name of the third pin C is CPLD_CPU_PROCHOT. If the name does not include the suffix "N", the signal of the third pin C is a high-level bit signal. The fourth pin D is named LVC1_PROCHOT_R_N, and the name contains the suffix "N", so the signal of the fourth pin D is a low-level bit signal. It can be concluded that the logic output mode of the second part S2 is reverse logic output.

進而第二零件S2之運行結果與存儲模組10中存儲之零件之資訊不一致,藉由引腳命名之驗證方法進行驗證,可得出第二零件S2中之第三引腳C及第四引腳D命名正確。 Furthermore, the operation result of the second part S2 is inconsistent with the information of the part stored in the storage module 10. By verifying the pin naming verification method, it can be concluded that the third pin C and the third pin C in the second part S2 are The four-pin D is named correctly.

上述內容提出之引腳命名之驗證方法所用到之程式編碼與資料可存儲於一個電腦可讀取存儲介質中。基於這樣之理解,本申請實現上述實施例方法中之全部或部分流程,亦可藉由電腦程式來指令相關之硬體來完成,項所 述之電腦程式可存儲於一電腦可讀存儲介質中,所述電腦程式於被處理器執行時,可實現上述各個方法實施例之步驟。其中,所述電腦程式包括電腦程式代碼,所述電腦程式代碼可為原始程式碼形式、物件代碼形式、可執行檔或某些中間形式等。所述電腦可讀介質可包括:能夠攜帶所述電腦程式代碼之任何實體或裝置、記錄介質、U盤、移動硬碟機、磁碟、光碟、電腦記憶體、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)。 The program code and data used in the pin naming verification method proposed above can be stored in a computer-readable storage medium. Based on this understanding, the present application can implement all or part of the processes in the above embodiment methods by instructing relevant hardware through computer programs. The computer program described above can be stored in a computer-readable storage medium, and when executed by a processor, the computer program can implement the steps of each of the above method embodiments. Wherein, the computer program includes computer program code, and the computer program code can be in the form of original program code, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, mobile hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read -Only Memory), random access memory (RAM, Random Access Memory).

本申請提出之引腳命名之驗證方法,本方法藉由將零件之資訊預設並存儲於存儲模組10中,並結合第一運行模組20即第二運行模組30之運行,再藉由檢測模組40判斷零件之引腳命名是否符合預設。即根據第一運行模組20之程式運行待驗證電路,而生成零件引腳報告,進而檢測模組40藉由將零件引腳報告與預設之零件規格進行對比,判斷零件之引腳是否命名正確。同時藉由第二運行模組30之程式運行生成之零件清單來補充驗證時所需之零件之資訊。由此提高了驗證引腳命名之效率與準確性。 The pin naming verification method proposed in this application presets and stores the part information in the storage module 10, and combines the operation of the first operation module 20 and the second operation module 30, and then borrows The detection module 40 determines whether the pin naming of the component matches the preset. That is, the circuit to be verified is run according to the program of the first running module 20 to generate a part pin report, and then the detection module 40 determines whether the pins of the part are named by comparing the part pin report with the preset part specifications. correct. At the same time, the parts list generated by running the program of the second running module 30 is used to supplement the parts information required for verification. This improves the efficiency and accuracy of verifying pin naming.

本技術領域之普通技術人員應當認識到,以上之實施方式僅是用以說明本申請,而並非用作為對本申請之限定,僅要於本申請之實質精神範圍之內,對以上實施例所作之適當改變與變化均應該落於本申請要求保護之範圍之內。 Persons of ordinary skill in the art should realize that the above embodiments are only used to illustrate the present application and are not used to limit the present application. The above embodiments should only be modified within the scope of the essential spirit of the present application. Appropriate changes and variations should fall within the scope of protection claimed in this application.

S101~S107:步驟 S101~S107: Steps

Claims (9)

一種引腳命名之驗證方法,其改良在於,所述方法包括:存儲複數零件之資訊;運行待驗證電路,並生成零件引腳報告;對比所述零件引腳報告與存儲之所述複數零件之資訊,以確認待驗證電路中之零件引腳命名是否正確;當對比得出所述零件引腳報告與存儲之所述複數零件之資訊不同,則確認所述待驗證電路中之零件引腳命名不正確;當對比得出所述零件引腳報告與存儲之所述複數零件之資訊相同,則確認所述待驗證電路中之零件引腳命名正確;以及根據所述零件之邏輯輸出方式,確認引腳之命名是否正確;當存儲之所述零件之邏輯輸出方式與所述待驗證電路中零件之邏輯輸出方式相同時,則所述待驗證電路中零件之引腳命名正確;當存儲之所述零件之邏輯輸出方式與所述待驗證電路中零件之邏輯輸出方式不同時,則所述待驗證電路中零件之引腳命名不正確。 A pin naming verification method, the improvement of which is that the method includes: storing information of a plurality of parts; running the circuit to be verified, and generating a part pin report; comparing the part pin report with the stored information of the plurality of parts Information to confirm whether the component pin naming in the circuit to be verified is correct; when the comparison shows that the component pin report is different from the stored information of the multiple components, confirm the component pin naming in the circuit to be verified Incorrect; when the comparison shows that the part pin report is the same as the stored information of the plurality of parts, it is confirmed that the part pins in the circuit to be verified are named correctly; and based on the logic output method of the part, confirm Whether the pin naming is correct; when the logic output mode of the stored component is the same as the logic output mode of the component in the circuit to be verified, then the pin naming of the component in the circuit to be verified is correct; when the stored location When the logic output mode of the component is different from the logic output mode of the component in the circuit to be verified, the pin naming of the component in the circuit to be verified is incorrect. 如請求項1所述之引腳命名之驗證方法,其中,所述方法還包括,運行所述待驗證電路前,檢測所述待驗證電路中之零件,並確認所述待驗證電路中是否有零件之資訊未進行預設及存儲;當確認所述待驗證電路中存於有零件之資訊未進行預設及存儲時,則根據零件清單對未預設及存儲之零件之資訊進行預設與存儲;當確認待驗證電路中之零件均已經被存儲時,運行所述待驗證電路。 The pin naming verification method as described in claim 1, wherein the method further includes, before running the circuit to be verified, detecting the components in the circuit to be verified, and confirming whether there are any components in the circuit to be verified. The information of the parts has not been preset and stored; when it is confirmed that the information of the parts in the circuit to be verified has not been preset and stored, the information of the parts that have not been preset and stored will be preset and stored according to the parts list. Store; when it is confirmed that the parts in the circuit to be verified have been stored, run the circuit to be verified. 如請求項1所述之引腳命名之驗證方法,其中,所述方法還包括,所述零件引腳報告包括所述零件之引腳及引腳之命名;當所述零件之引腳以預設字母為尾碼命名時,則所述引腳傳輸之訊號為第一訊號;當所述零件之引腳未以預設字母為尾碼命名時,則所述引腳傳輸之訊號為第二訊號。 The method for verifying pin naming as described in claim 1, wherein the method further includes: the part pin report includes the pin of the part and the naming of the pin; when the pin of the part is predetermined When the letter is the suffix, the signal transmitted by the pin is the first signal; when the pin of the part is not named with the preset letter as the suffix, the signal transmitted by the pin is the second signal. signal. 如請求項1所述之引腳命名之驗證方法,其中,所述根據所述零件之邏輯輸出方式,確認引腳之命名是否正確包括:當所述零件之輸入引腳傳輸之訊號與輸出引腳訊號傳輸之訊號相同時,則所述零件之邏輯輸出方式是進行同向邏輯輸出;當所述零件之輸入引腳傳輸之訊號與輸出引腳傳輸之訊號不同時,則所述零件之邏輯輸出方式是進行反向邏輯輸出。 The method for verifying pin naming as described in claim 1, wherein the step of confirming whether the pin naming is correct according to the logic output mode of the component includes: when the signal transmitted by the input pin of the component is connected to the output pin. When the signals transmitted by the pin signals are the same, the logic output mode of the part is to perform logic output in the same direction; when the signals transmitted by the input pins of the parts are different from the signals transmitted by the output pins, the logic output mode of the parts is The output mode is reverse logic output. 如請求項1所述之引腳命名之驗證方法,其中,所述方法還包括,當判斷所述待驗證電路中之零件引腳命名不正確時,發出提示,提示所述待驗證電路需進行修改。 The pin naming verification method as described in request item 1, wherein the method further includes: when it is determined that the component pin naming in the circuit to be verified is incorrect, issuing a prompt to remind the circuit to be verified that the circuit to be verified needs to be Revise. 一種引腳命名之驗證系統,其改良在於,所述引腳命名之驗證系統用於實現如請求項1至5中任意一項所述之引腳命名之驗證方法;所述引腳命名之驗證系統包括:存儲模組,所述存儲模組用於預設並存儲複數零件之資訊;第一運行模組,所述第一運行模組用於運行待驗證電路,並生成零件引腳報告;檢驗模組,所述檢驗模組用於將所述第一運行模組中生成之零件引腳報告與所述存儲模組中存儲之所述複數零件之資訊進行對比。 A pin naming verification system, the improvement of which is that the pin naming verification system is used to implement the pin naming verification method as described in any one of claims 1 to 5; the pin naming verification The system includes: a storage module used to preset and store information on a plurality of parts; a first running module used to run the circuit to be verified and generate a part pin report; An inspection module, the inspection module is used to compare the part pin report generated in the first running module with the information of the plurality of parts stored in the storage module. 如請求項6所述之引腳命名之驗證系統,其中,所述引腳命名之驗證系統還包括第二運行模組;所述第二運行模組用於生成零件清單,所述零件清單包括各種零件之資訊。 The pin naming verification system according to claim 6, wherein the pin naming verification system further includes a second running module; the second running module is used to generate a parts list, and the parts list includes Information on various parts. 如請求項7所述之引腳命名之驗證系統,其中,當所述存儲模組中缺少所述待驗證電路中之零件資訊時,所述存儲模組從所述第二運行模組中獲取缺少之零件之資訊並進行預設與存儲。 The pin naming verification system as described in claim 7, wherein when the storage module lacks component information in the circuit to be verified, the storage module obtains it from the second running module Information about missing parts is preset and stored. 一種電腦可讀存儲介質,其上存儲至少一條電腦指令,其改良在於,所述電腦指令由處理器載入並執行如請求項1至5中任意一項所述之引腳命名之驗證方法。 A computer-readable storage medium on which at least one computer instruction is stored. The improvement is that the computer instruction is loaded by a processor and executes the pin naming verification method described in any one of claims 1 to 5.
TW111120327A 2022-05-31 2022-05-31 Verification method,system and computer readable storage medium for pin naming TWI816415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111120327A TWI816415B (en) 2022-05-31 2022-05-31 Verification method,system and computer readable storage medium for pin naming

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111120327A TWI816415B (en) 2022-05-31 2022-05-31 Verification method,system and computer readable storage medium for pin naming

Publications (2)

Publication Number Publication Date
TWI816415B true TWI816415B (en) 2023-09-21
TW202349250A TW202349250A (en) 2023-12-16

Family

ID=88966309

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111120327A TWI816415B (en) 2022-05-31 2022-05-31 Verification method,system and computer readable storage medium for pin naming

Country Status (1)

Country Link
TW (1) TWI816415B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200413975A (en) * 2003-01-16 2004-08-01 Via Tech Inc Method for verifying pin name of a chip
US7168041B1 (en) * 2002-06-10 2007-01-23 Cadence Design Systems, Inc. Method and apparatus for table and HDL based design entry
CN112818616A (en) * 2021-01-15 2021-05-18 珠海泰芯半导体有限公司 Pin naming method, register excitation source adding method and electronic device
CN113449485A (en) * 2021-06-24 2021-09-28 深圳砺芯半导体有限责任公司 Lead generation method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7168041B1 (en) * 2002-06-10 2007-01-23 Cadence Design Systems, Inc. Method and apparatus for table and HDL based design entry
TW200413975A (en) * 2003-01-16 2004-08-01 Via Tech Inc Method for verifying pin name of a chip
CN112818616A (en) * 2021-01-15 2021-05-18 珠海泰芯半导体有限公司 Pin naming method, register excitation source adding method and electronic device
CN113449485A (en) * 2021-06-24 2021-09-28 深圳砺芯半导体有限责任公司 Lead generation method, device, equipment and storage medium

Also Published As

Publication number Publication date
TW202349250A (en) 2023-12-16

Similar Documents

Publication Publication Date Title
US7293204B2 (en) Computer peripheral connecting interface system configuration debugging method and system
JP6289778B2 (en) Test case generation apparatus and test case generation program
EP4345611A1 (en) Bootloader loading method, apparatus and system, electronic device and medium
CN117131834A (en) Chip design reorganization method, electronic equipment and medium
TWI816415B (en) Verification method,system and computer readable storage medium for pin naming
CN114218882A (en) SoC chip inspection method, device and related equipment
US20190286544A1 (en) Method, device and server for checking a defective function
US7290174B1 (en) Methods and apparatus for generating test instruction sequences
CN111352492A (en) Digital power-on reset circuit, method, device and storage medium
CN115687108A (en) Verification method, platform, terminal and storage medium based on combination of UVM and FPV
CN117131824A (en) Method for automatically generating chip design RTL code, electronic equipment and medium
CN107247646A (en) The method and guiding flow of mainboard VR chip FW versions can be accurately positioned
US20070169117A1 (en) Firmware loading device
CN117195822A (en) Verification method and system for pin naming and computer readable storage medium
US20060218338A1 (en) Method for preventing software from being wrongly burned
US11200069B1 (en) Systems and methods for generating a software application
CN114968864B (en) Verification environment construction method, chip verification method and system
TWI834494B (en) Firmware burning method, device, electronic equipment and computer storage media
CN112468296B (en) Key programming method, system, electronic equipment and storage medium
US6782523B2 (en) Parallel configurable IP design methodology
CN116467131B (en) ECC function verification method, device, medium and equipment of processor
TWI769484B (en) Method of displaying connection status of pins of chip, computer device and storage medium
CN118036523A (en) Verification apparatus and method for integrated circuit
CN110688144B (en) Method and device for optimizing service interface configuration and electronic equipment
JP3114909B2 (en) Calculation error processing method of programmable controller