[go: up one dir, main page]

CN112100973A - Mirror image via hole inspection and replacement method based on ALLEGRO software - Google Patents

Mirror image via hole inspection and replacement method based on ALLEGRO software Download PDF

Info

Publication number
CN112100973A
CN112100973A CN202010973614.3A CN202010973614A CN112100973A CN 112100973 A CN112100973 A CN 112100973A CN 202010973614 A CN202010973614 A CN 202010973614A CN 112100973 A CN112100973 A CN 112100973A
Authority
CN
China
Prior art keywords
via hole
replacement
inspection
items
item
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202010973614.3A
Other languages
Chinese (zh)
Other versions
CN112100973B (en
Inventor
朱忠刚
李庆海
吴均
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Edadoc Co ltd
Original Assignee
Edadoc Co ltd
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 Edadoc Co ltd filed Critical Edadoc Co ltd
Priority to CN202010973614.3A priority Critical patent/CN112100973B/en
Publication of CN112100973A publication Critical patent/CN112100973A/en
Application granted granted Critical
Publication of CN112100973B publication Critical patent/CN112100973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/398Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2115/00Details relating to the type of the circuit
    • G06F2115/12Printed circuit boards [PCB] or multi-chip modules [MCM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a mirror image via hole inspection and replacement method based on ALLEGRO software, which is characterized in that an inspection and replacement tool of a mirror image via hole is arranged in the ALLEGRO software, the inspection and replacement tool acquires a mirror image via hole list to be replaced according to requirements, and replaces the original mirror image via hole with a non-mirror image via hole by copying original via hole attribute data, deleting the original via hole, creating a new via hole, copying via hole attribute to the new via hole, thereby avoiding the test problem and the process problem caused by the mirror image via hole, ensuring the test efficiency and the product yield, automatically acquiring the mirror image via hole, providing a one-key replacement function of replacing a single via hole or all via holes, reducing the workload of designers caused by the mirror image via hole, improving the design efficiency and shortening the research and development period.

Description

一种基于ALLEGRO软件的镜像过孔检查替换方法A replacement method for mirrored via inspection based on ALLEGRO software

技术领域technical field

本发明涉及PCB设计技术领域,更具体地说,是涉及一种基于ALLEGRO软件的镜像过孔检查替换方法。The invention relates to the technical field of PCB design, and more particularly, to a method for checking and replacing mirrored via holes based on ALLEGRO software.

背景技术Background technique

在PCB板设计领域中,尤其是服务器通讯用板卡,在进行研发设计时通常会在研发PCB板上添加测试点,以用于后期测试板卡功能,方便调试,提高设计效率,缩短研发周期。为了获取更好、更全面的调试数据,需要提供大量的测试点,测试点密度较高。在PCB板设计过程中,若出现镜像的测试点,测试时易造成测具选择层面不正确导致测试出现问题的情况发生。除此之外,在某些设计中,要求靠近BGA侧的过孔盘比远离BGA的过孔盘小,由于BGA都是电子元器件间距密度较高的器件,需要小过孔盘均在同侧才能够保证安全间距,若出现镜像的过孔,那么过孔与引脚之间的间距过小,生产工艺难以满足,生产的板卡产品会存在短路的风险。而在这种情况下,PCB板设计的主流软件ALLEGRO并没有针对过孔镜像问题的检查功能,设计人员需要自行导出测试点或过孔的坐标,逐一检查,增加设计人员的工作量,降低设计效率,加长研发周期,极大地提高生产产品所用的周期。In the field of PCB board design, especially for server communication boards, test points are usually added on the R&D PCB board during R&D and design to test the function of the board in the later stage, which is convenient for debugging, improves design efficiency and shortens the R&D cycle. . In order to obtain better and more comprehensive debugging data, a large number of test points need to be provided, and the test point density is high. In the process of PCB board design, if there are mirrored test points, it is easy to cause incorrect selection of measuring tools during testing, which may lead to problems in testing. In addition, in some designs, the via pads close to the BGA side are required to be smaller than the via pads farther from the BGA. Since BGAs are all devices with high pitch density of electronic components, it is required that the small via pads are all on the same The safe distance can be guaranteed only on the side. If there are mirrored vias, the distance between the vias and the pins is too small, the production process is difficult to meet, and the board products produced will have the risk of short circuit. In this case, the mainstream software ALLEGRO for PCB board design does not have the inspection function for the problem of via mirroring. Designers need to export the coordinates of test points or vias and check them one by one, which increases the workload of designers and reduces design. Efficiency, lengthen the research and development cycle, and greatly improve the cycle used to produce products.

以上不足,有待改进。The above is insufficient and needs to be improved.

发明内容SUMMARY OF THE INVENTION

为了克服现有的技术的不足,本发明提供一种基于ALLEGRO软件的镜像过孔检查替换方法。In order to overcome the deficiencies of the prior art, the present invention provides a replacement method for mirrored via inspection based on ALLEGRO software.

本发明技术方案如下所述:The technical scheme of the present invention is as follows:

一种基于ALLEGRO软件的镜像过孔检查替换方法,在ALLEGRO软件中创建检查替换工具,检查替换工具获取PCB文件中所有过孔信息并记录于第一列表中,根据检查选择项的需求指示,将满足检查选择项需求且为镜像控件的过孔记录至第二列表中,根据替换选择项的需求指示,提取第二列表中满足替换选择项的过孔属性,删除原有过孔,创建新过孔并将提取的过孔属性复制至新过孔。A method of checking and replacing mirrored vias based on ALLEGRO software, creating a checking and replacing tool in ALLEGRO software, the checking and replacing tool obtains all the via information in the PCB file and records it in the first list, and according to the requirements of the checking options, the The vias that meet the requirements of the inspection options and are mirror controls are recorded in the second list. According to the requirements of the replacement options, extract the properties of the vias that meet the replacement options in the second list, delete the original vias, and create new vias. hole and copy the extracted via properties to the new via.

上述的一种基于ALLEGRO软件的镜像过孔检查替换方法,检查替换工具的创建步骤包括:The above-mentioned mirrored via inspection and replacement method based on ALLEGRO software, the creation steps of the inspection and replacement tool include:

步骤A1.创建检查替换工具命令并设置检查替换工具的命令窗口;Step A1. Create a check and replace tool command and set the command window of the check and replace tool;

步骤A2.检查替换工具设置检查选择项与替换选择项,检查选择项包括仅测试过孔检查项与所有过孔检查项,替换选择项包括单过孔替换项与所有过孔替换项,所有检查选择项与替换选择项均分别设置初始值;Step A2. Check replacement tool settings Check selection and replacement selection, check selection includes only test via check and all via check, replacement selection includes single via replacement and all via replacement, all checks The selection item and the replacement selection item both set the initial value respectively;

步骤A3.检查替换工具获取PCB文件中所有过孔信息并记录于第一列表中。Step A3. Check the replacement tool to obtain all the via information in the PCB file and record it in the first list.

上述的一种基于ALLEGRO软件的镜像过孔检查替换方法,检查替换工具检查镜像过孔的步骤包括The above-mentioned method for checking and replacing mirrored vias based on ALLEGRO software, the step of checking the mirrored vias with the replacement tool includes:

步骤B1.接收检查命令;Step B1. Receive an inspection order;

步骤B2.检查选择项包括测试过孔检查项与所有过孔检查项,根据测试过孔检查项与所有过孔检查项的现有反馈值与初始值的对比,判断测试过孔检查项与所有过孔检查项的选择状态,若测试过孔检查项处于被选择状态时,执行步骤B3-1,若所有过孔检查项处于被选择状态时,执行步骤B3-2;Step B2. The inspection options include the test via inspection item and all via inspection items. According to the comparison of the existing feedback value of the test via inspection item and all via inspection items with the initial value, determine the test via inspection item and all via inspection items. The selection state of the via inspection item, if the test via inspection item is in the selected state, go to step B3-1; if all the via inspection items are in the selected state, go to step B3-2;

步骤B3-1.逐一判断第一列表中的过孔是否为镜像控件,判断第一列表中的过孔是否含有测试孔属性,若过孔既为镜像控件又含有测试孔属性,则记录至第二列表中;Step B3-1. Determine whether the vias in the first list are mirrored controls one by one, and determine whether the vias in the first list contain test hole attributes. If the vias are both mirrored controls and test hole attributes, record the in the second list;

步骤B3-2.逐一判断第一列表中的过孔是否为镜像控件,若过孔为镜像控件,则记录至第二列表中。Step B3-2. Determine whether the vias in the first list are mirrored controls one by one, and if the vias are mirrored controls, record them in the second list.

进一步的,在步骤B2中,测试过孔检查项的反馈值与初始值相同,测试过孔检查项处于选择状态,测试过孔检查项的反馈值与初始值不相同,测试过孔检查项不处于选择状态;所有过孔检查项的反馈值与初始值相同,所有过孔检查项处于选择状态,所有过孔检查项的反馈值与初始值不同,所有过孔检查项不处于选择状态。Further, in step B2, the feedback value of the test via inspection item is the same as the initial value, the test via inspection item is in the selected state, the feedback value of the test via inspection item is different from the initial value, and the test via inspection item is not. In the selected state; the feedback value of all via inspection items is the same as the initial value, all via inspection items are in the selected state, the feedback value of all via inspection items is different from the initial value, and all via inspection items are not in the selected state.

进一步的,在步骤B3-1或步骤B3-2中,检查替换工具初始设置计数值,计数值初始为零,每判定一个镜像过孔,计数值数值加一,在步骤B3-1或步骤B3-2后,将最终的计数值显示在计数栏中。Further, in step B3-1 or step B3-2, check the initial setting of the count value of the replacement tool, the count value is initially zero, and each time a mirrored via is determined, the count value is incremented by one, in step B3-1 or step B3 After -2, display the final count value in the count column.

进一步的,在步骤B3-1或步骤B3-2后,逐一获取第二列表中所有过孔的中心坐标,按照设定格式在显示列表中展示并高亮显示第二列表内的过孔。Further, after step B3-1 or step B3-2, the center coordinates of all vias in the second list are acquired one by one, and the vias in the second list are displayed and highlighted in the display list according to the set format.

再进一步的,根据显示列表中过孔的选择状态,获取对应的过孔中心坐标,以该坐标为中心,缩放PCB文件的显示窗口。Further, according to the selection state of the via hole in the display list, the corresponding via hole center coordinate is obtained, and the display window of the PCB file is scaled with the coordinate as the center.

上述的一种基于ALLEGRO软件的镜像过孔检查替换方法,检查替换工具替换镜像过孔的步骤包括:The above-mentioned method for checking and replacing mirrored vias based on ALLEGRO software, the step of checking and replacing the mirrored vias with a replacement tool includes:

步骤C1.接收替换命令;Step C1. Receive a replacement command;

步骤C2.替换选择项包括单过孔替换项与所有过孔替换项,根据单过孔替换项与所有过孔替换项的现有反馈值与初始值的对比,判断单过孔替换项与所有过孔替换项的选择状态,若单过孔替换项处于被选择状态时,执行步骤C3-1,若所有过孔替换项处于被选择状态时,执行步骤C3-2;Step C2. The replacement options include a single via replacement item and all via replacement items. According to the comparison of the existing feedback values of the single via replacement item and all via replacement items with the initial value, determine the single via replacement item and all via replacement items. The selection state of the via replacement item, if the single via replacement item is in the selected state, execute step C3-1; if all the via replacement items are in the selected state, execute step C3-2;

步骤C3-1包括Step C3-1 includes

步骤C3-1-1.确定第二列表中处于选择状态的过孔;Step C3-1-1. Determine the vias in the selected state in the second list;

步骤C3-1-2.获取过孔的信息;Step C3-1-2. Obtain via information;

步骤C3-1-3.删除过孔;Step C3-1-3. Delete vias;

步骤C3-1-4.创建新的过孔并将原有过孔信息复制至新过孔中;Step C3-1-4. Create a new via and copy the original via information to the new via;

步骤C3-2包括Step C3-2 includes

步骤C3-2-1.获取第二列表中过孔的信息;Step C3-2-1. Obtain the information of the via holes in the second list;

步骤C3-2-2.删除原有过孔;Step C3-2-2. Delete the original via;

步骤C3-2-3.创建新的过孔并将原有过孔信息复制至新过孔中;Step C3-2-3. Create a new via and copy the original via information to the new via;

步骤C3-2-4.循环步骤C3-2-1至步骤C3-2-3。Step C3-2-4. Cycle Step C3-2-1 to Step C3-2-3.

进一步的,在步骤C2中,单过孔替换项的反馈值与初始值相同,单过孔替换项处于选择状态,单过孔替换项的反馈值与初始值不相同,单过孔替换项不处于选择状态;所有过孔替换项的反馈值与初始值相同,所有过孔替换项处于选择状态,所有过孔替换项的反馈值与初始值不同,所有过孔替换项不处于选择状态。Further, in step C2, the feedback value of the single-via replacement item is the same as the initial value, the single-via replacement item is in the selected state, the feedback value of the single-via replacement item is different from the initial value, and the single-via replacement item is not. In the selected state; the feedback value of all via replacement items is the same as the initial value, all via replacement items are in the selected state, the feedback value of all via replacement items is different from the initial value, and all via replacement items are not in the selected state.

上述的一种基于ALLEGRO软件的镜像过孔检查替换方法,检查替换工具通过镜像关键词判断过孔是否为镜像控件,若过孔属性中包含镜像关键词,该过孔即为镜像控件,若过孔属性中不包含镜像关键词,该过孔不为镜像控件。The above-mentioned mirrored via inspection and replacement method based on ALLEGRO software, the inspection and replacement tool judges whether the via is a mirrored control through the mirroring keyword. If the via attribute contains the mirroring keyword, the via is a mirroring control. The hole attribute does not contain the mirror keyword, and the via is not a mirror control.

根据上述方案的本发明,其有益效果在于,本发明在ALLEGRO软件中设置镜像过孔的检查替换工具,检查替换工具按照需求获取待替换的镜像过孔清单,通过复制原有过孔属性数据-删除原有过孔-创建新过孔-复制过孔属性至新过孔这一流程,将原有的镜像过孔替代为非镜像的过孔,从而避免因镜像过孔导致的测试问题与工艺问题,保证测试效率与产品良品率,该检查替换工具能够自动获取镜像过孔,提供单个过孔替换或全部过孔一键替换功能,减少设计人员因镜像过孔产生的工作量,从而提高设计效率,缩短研发周期。According to the present invention of the above scheme, the beneficial effect is that the present invention sets up a mirrored via inspection and replacement tool in the ALLEGRO software, and the inspection and replacement tool obtains a list of mirrored vias to be replaced as required, and by copying the original via attribute data- The process of deleting original vias - creating new vias - copying via properties to new vias replaces the original mirrored vias with non-mirrored vias to avoid test problems and processes caused by mirrored vias The inspection and replacement tool can automatically obtain mirrored vias, provide single via replacement or one-key replacement of all vias, and reduce the workload of designers due to mirrored vias, thereby improving design efficiency. Shorten the development cycle.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本发明的流程图。FIG. 1 is a flow chart of the present invention.

图2为检查替换工具的创建流程图。Figure 2 is a flow chart for the creation of the inspection and replacement tool.

图3为检查替换工具的检查流程图。FIG. 3 is an inspection flow chart for inspecting the replacement tool.

图4为检查替换工具的替换流程图。FIG. 4 is a flow chart of the replacement of the inspection replacement tool.

图5为镜像过孔检查替换工具的窗口界面结构示意图。FIG. 5 is a schematic diagram of the window interface structure of the mirrored via inspection replacement tool.

图6为镜像过孔替换前的结构示意图。FIG. 6 is a schematic diagram of the structure before the mirrored via is replaced.

图7为镜像过孔替换后的结构示意图。FIG. 7 is a schematic diagram of the structure after the mirrored via is replaced.

具体实施方式Detailed ways

为了使本发明所要解决的技术问题、技术方案及有益效果更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

需要说明的是,当部件被称为“设置”另一个部件,它可以直接或者间接位于该另一个部件上。术语“第一”、“第二”等仅用于便于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明技术特征的数量。“若干个”的含义是一个或一个以上,除非另有明确具体的限定。It should be noted that when a component is referred to as "disposing" another component, it can be directly or indirectly located on the other component. The terms "first", "second", etc. are only used for the purpose of description, and should not be construed as indicating or implying relative importance or implying indicating the number of technical features. "Several" means one or more than one, unless expressly specifically defined otherwise.

一种基于ALLEGRO软件的镜像过孔检查替换方法,如图1所示,在ALLEGRO软件中创建检查替换工具,检查替换工具获取PCB文件中所有过孔信息并记录于第一列表中,根据检查选择项的需求指示,将满足检查选择项需求且为镜像控件的过孔记录至第二列表中,根据替换选择项的需求指示,提取第二列表中满足替换选择项的过孔属性,删除原有过孔,创建新过孔并将提取的过孔属性复制至新过孔。An inspection and replacement method of mirrored vias based on ALLEGRO software, as shown in Figure 1, creates an inspection and replacement tool in ALLEGRO software, and the inspection and replacement tool obtains all the via information in the PCB file and records it in the first list, and selects it according to the inspection According to the requirement indication of the replacement option, the vias that meet the requirements of the inspection option and are mirror controls are recorded in the second list, and according to the requirement indication of the replacement option, the via properties that meet the replacement option in the second list are extracted, and the original one is deleted. Via, creates a new via and copies the extracted via properties to the new via.

如图2、图3、图4所示,镜像过孔检查替换工具的创建及检查替换步骤包括:As shown in Figure 2, Figure 3, and Figure 4, the steps for creating and replacing a mirrored via inspection tool include:

步骤A1.创建检查替换工具命令并设置检查替换工具的命令窗口。Step A1. Create the Check Replace Tool command and set the Check Replace tool's command window.

步骤A2.检查替换工具设置检查选择项与替换选择项,检查选择项包括仅测试过孔检查项与所有过孔检查项,替换选择项包括单过孔替换项与所有过孔替换项,所有检查选择项与替换选择项均分别设置初始值。Step A2. Check replacement tool settings Check selection and replacement selection, check selection includes only test via check and all via check, replacement selection includes single via replacement and all via replacement, all checks The selection item and the replacement selection item both set the initial value respectively.

在ALLEGRO软件中通过axlCmdRegister函数创建检查替换工具命令,使用axlFormSetField函数、axlUIWPrint函数等设置检查替换工具的窗口界面,如图5所示。In the ALLEGRO software, use the axlCmdRegister function to create the check and replace tool command, and use the axlFormSetField function, axlUIWPrint function, etc. to set the window interface of the check and replace tool, as shown in Figure 5.

检查替换工具窗口包括选择区(Options)、计数栏(Number)、显示列表、替换区(Change)以及若干个选择功能按钮。其中,选择区中设置两个单项选择项,分别是仅测试过孔检查项与所有过孔检查项,前者仅检查含有测试孔属性的过孔,后者检查PCB文件中所有过孔。计数栏中显示检查替换工具按需求检查出的镜像过孔的数量。显示列表中显示检查结果,即,按需求检查后所得的PCB文件中镜像过孔的清单,其格式包括序号、过孔网络名称及过孔坐标,如图6、图7所示。替换区中设置两个单项选择项,分别是单过孔替换项与所有过孔替换项,前者的功能为替换单独一个选中过孔,后者为替换所有检查结果的过孔,即,在显示列表中显示的所有过孔。功能按钮包括检查命令按钮(Check)与替换命令按钮(Change),使用者在选择区选择后,点击检查命令按钮,令检查替换工具执行检查命令;使用者在替换区选择后,点击替换命令按钮,令检查替换工具执行替换命令。The check and replace tool window includes a selection area (Options), a count bar (Number), a display list, a replacement area (Change), and several selection function buttons. Among them, there are two single selection items set in the selection area, namely, only test vias inspection items and all vias inspection items. The former only checks the vias with test hole properties, and the latter checks all the vias in the PCB file. The Count column shows the number of mirrored vias that the Check Replace tool checked out on demand. The inspection result is displayed in the display list, that is, the list of mirrored vias in the PCB file obtained after inspection as required. The format includes serial number, via network name and via coordinates, as shown in Figure 6 and Figure 7. Two single options are set in the replacement area, namely the single via replacement item and the all via replacement item. All vias shown in the list. The function buttons include a check command button (Check) and a replacement command button (Change). After the user selects in the selection area, click the check command button to make the check replacement tool execute the check command; after the user selects in the replacement area, click the replacement command button. , instructs the Check Replace tool to execute the replace command.

步骤A3.检查替换工具获取PCB文件中所有过孔信息并记录于第一列表中。检查替换工具通过打开VIA CLASS/TOP(过孔类顶层)和VIA CLASS/BOTTOM(过孔类底层)注意获取PCB文件中所有过孔信息,因此,设计人员在执行本检查替换工具的同时,需要打开VIA(过孔)层面,以便检查替换工具获取过孔信息,作为后期运行的数据基础。Step A3. Check the replacement tool to obtain all the via information in the PCB file and record it in the first list. Check and replace tool by opening VIA CLASS/TOP (via top layer) and VIA CLASS/BOTTOM (via bottom layer) pay attention to get all the via information in the PCB file. Therefore, designers need to Open the VIA (via) level so that the inspection replacement tool can obtain via information as a data basis for later runs.

步骤B1.接收检查命令。设计人员通过检查命令按钮向检查替换工具下达检查命令。点击检查命令按钮后,检查替换工具启动检查模块,对第一列表中的过孔执行筛选检查功能。Step B1. Receive an inspection order. The designer issues a check command to the check replacement tool through the check command button. After clicking the check command button, the check replacement tool starts the check module and performs the screening check function for the vias in the first list.

步骤B2.根据测试过孔检查项与所有过孔检查项的现有反馈值与初始值的对比,判断测试过孔检查项与所有过孔检查项的选择状态,若测试过孔检查项处于被选择状态时,执行步骤B3-1,若所有过孔检查项处于被选择状态时,执行步骤B3-2。Step B2. According to the comparison between the existing feedback values of the test via inspection item and all via inspection items and the initial value, determine the selection status of the test via inspection item and all via inspection items. When the state is selected, go to step B3-1, and if all the via inspection items are in the selected state, go to step B3-2.

步骤B3-1.逐一判断第一列表中的过孔是否为镜像控件,判断第一列表中的过孔是否含有测试孔属性,若过孔既为镜像控件又含有测试孔属性,则记录至第二列表中。Step B3-1. Determine whether the vias in the first list are mirrored controls one by one, and determine whether the vias in the first list contain test hole attributes. If the vias are both mirrored controls and test hole attributes, record the in the second list.

步骤B3-2.逐一判断第一列表中的过孔是否为镜像控件,若过孔为镜像控件,则记录至第二列表中。Step B3-2. Determine whether the vias in the first list are mirrored controls one by one, and if the vias are mirrored controls, record them in the second list.

在步骤B3-1或步骤B3-2中,包含镜像属性的过孔,检查替换工具通过isMirrored函数捕捉PCB文件中的镜像关键词,并以此判断该过孔是否为镜像过孔。镜像过孔其属性中带有镜像关键词,isMirrored函数通过捕捉该镜像关键词(t, 'GEOMETRY),并根据镜像关键词的有无输出反馈值,检查替换工具获得isMirrored函数的反馈值为“t”时,判定该过孔为镜像过孔,若isMirrored函数的反馈值为“nil”时,判定该过孔不为镜像过孔。而测试孔属性,则通过判断过孔是否从属于测试孔集合来确定其测试孔属性,若在测试孔集合包括该过孔,则过孔包含测试孔属性,若集合中不包括,则过孔不含测试孔属性。In step B3-1 or step B3-2, the inspection and replacement tool captures the mirror keyword in the PCB file through the isMirrored function for vias that include mirrored attributes, and judges whether the via is a mirrored via. The mirrored via has a mirror keyword in its attributes. The isMirrored function captures the mirror keyword (t, 'GEOMETRY) and outputs the feedback value according to the presence or absence of the mirror keyword. Check the replacement tool to obtain the feedback value of the isMirrored function as "" t", it is determined that the via is a mirrored via, and if the feedback value of the isMirrored function is "nil", it is determined that the via is not a mirrored via. For the test hole attribute, the test hole attribute is determined by judging whether the via belongs to the test hole set. If the via hole is included in the test hole set, the via hole contains the test hole attribute. Test hole properties are not included.

在步骤B3-1或步骤B3-2中,检查初始设置计数值,每判定一个镜像过孔,计数值数值加一,待检查替换工具将第一列表中符合条件的所有过孔判断完毕后,将最终的计数值显示在计数栏中。In step B3-1 or step B3-2, check the initial setting count value, each time a mirrored via is determined, the count value is incremented by one. Display the final count value in the count column.

在步骤B3-1或步骤B3-2后,得出第二列表后逐一循环获取列表中所有过孔的中心坐标,同时设定显示格式,在显示列表中逐一展示。且通过axlHighlightObject函数高亮第二列表中所有过孔,方便设计人员查找相关过孔。After step B3-1 or step B3-2, after the second list is obtained, the center coordinates of all vias in the list are obtained in a loop one by one, and the display format is set at the same time, and displayed one by one in the display list. In addition, all vias in the second list are highlighted through the axlHighlightObject function, which is convenient for designers to find related vias.

在第二列表中的过孔在显示列表中显示出来之后,设计人员选择通过axlFormListGetSelItems函数获取显示列表中的选择项,提取选择的过孔坐标信息,将其拆分,使用axlSingleSelectPoint函数锁定坐标,再以此坐标为中心,通过axlZoomToDbid函数进行缩放,令PCB显示窗口放大显示该选中过孔,方便设计人员查找,以进行下一步修改。After the vias in the second list are displayed in the display list, the designer chooses to obtain the selection items in the display list through the axlFormListGetSelItems function, extract the coordinate information of the selected vias, split them, use the axlSingleSelectPoint function to lock the coordinates, and then use the axlSingleSelectPoint function to lock the coordinates. Taking this coordinate as the center, zoom through the axlZoomToDbid function, so that the PCB display window is enlarged to display the selected via hole, which is convenient for designers to find and modify in the next step.

步骤C1.接收替换命令。设计人员通过替换命令按钮向检查替换工具下达替换命令。点击替换命令按钮后,检查替换工具启动替换模块,对第一列表中的过孔执行替换功能。Step C1. Receive a replacement command. The designer issues replacement commands to the Check Replace tool through the Replace Command button. After clicking the Replace command button, the Check Replace tool starts the Replace module and performs the replace function on the vias in the first list.

步骤C2.根据单过孔替换项与所有过孔替换项的现有反馈值与初始值的对比,判断单过孔替换项与所有过孔替换项的选择状态,若单过孔替换项处于被选择状态时,执行步骤C3-1,若所有过孔替换项处于被选择状态时,执行步骤C3-2。Step C2. According to the comparison between the existing feedback values of the single via replacement item and all the via replacement items and the initial value, determine the selection status of the single via replacement item and all the via replacement items. When the state is selected, step C3-1 is performed, and if all via replacement items are in the selected state, step C3-2 is performed.

步骤C3-1包括Step C3-1 includes

步骤C3-1-1.确定第二列表中处于选择状态的过孔。Step C3-1-1. Determine the vias in the selected state in the second list.

步骤C3-1-2.获取过孔的信息。Step C3-1-2. Obtain via information.

步骤C3-1-3.删除过孔。Step C3-1-3. Delete vias.

步骤C3-1-4.创建新的过孔并将原有过孔信息复制至新过孔中。Step C3-1-4. Create a new via and copy the original via information to the new via.

步骤C3-2包括Step C3-2 includes

步骤C3-2-1.获取第二列表中过孔的信息。Step C3-2-1. Obtain the information of the via holes in the second list.

步骤C3-2-2.删除原有过孔。Step C3-2-2. Delete the original via.

步骤C3-2-3.创建新的过孔并将原有过孔信息复制至新过孔中。Step C3-2-3. Create a new via and copy the original via information to the new via.

步骤C3-2-4.循环步骤C3-2-1至步骤C3-2-3。Step C3-2-4. Cycle Step C3-2-1 to Step C3-2-3.

在步骤C3-1或步骤C3-2中,无论是针对单个选择状态的过孔还是针对第二列表中所有的过孔,检查替换工具均先提取过孔的属性数据,包括焊盘名称、网络名称、过孔坐标、过孔类型等,将这些属性数据暂存,然后通过axlDeleteObject函数删除原有过孔,axlDBCreateVia函数创建一个新的过孔,并将之前提取的属性数据复制到新创建的过孔中,其中,测试孔属性通过axlTestPoint函数重新赋予。如此,新创建的过孔并非镜像过孔,检查替换工具很好地完成替换镜像过孔的工作。在步骤C3-2中,检查替换工具完成一个过孔的属性提取-删除原有过孔-创建新过孔-复制过孔属性的过程后,才进行下一个过孔的操作。在完成替换功能之后,即,步骤C3-1-4或步骤C3-2-4滞后,检查替换工具进行弹窗提示替换工作已完成。In step C3-1 or step C3-2, whether it is for a single via in the selected state or for all vias in the second list, the inspection and replacement tool first extracts the attribute data of the via, including the pad name, net Name, via coordinates, via type, etc., temporarily store these attribute data, then delete the original via through the axlDeleteObject function, create a new via with the axlDBCreateVia function, and copy the previously extracted attribute data to the newly created via. hole, where the test hole attribute is re-assigned by the axlTestPoint function. As such, the newly created vias are not mirrored vias, and the Check Replace tool does a good job of replacing mirrored vias. In step C3-2, the next via operation is performed only after the inspection and replacement tool completes the process of extracting the properties of a via hole - deleting the original via hole - creating a new via hole - copying the properties of the via hole. After the replacement function is completed, that is, step C3-1-4 or step C3-2-4 lags, the check replacement tool performs a pop-up prompting that the replacement work has been completed.

在步骤C3-1-2或步骤C3-2-1中,当过孔为测试过孔时,由于通常情况下,测试孔的测试符存在于TOP(顶层)或BOTTOM(底层)中,因此,在获取测试过孔信息的过程中,需要先判定该过孔是否含有测试属性,若含有测试属性,需要自顶层或底层获取相对应过孔的测试符,以将其复制到新的测试孔属性中,从而保证测试孔属性的完整与正确。In step C3-1-2 or step C3-2-1, when the via hole is a test via hole, since normally, the test symbol of the test hole exists in TOP (top layer) or BOTTOM (bottom layer), therefore, In the process of acquiring test via information, it is necessary to first determine whether the via contains test attributes. If it contains test attributes, it is necessary to obtain the test symbol of the corresponding via from the top or bottom layer to copy it to the new test hole attribute. , so as to ensure the integrity and correctness of the test hole properties.

在步骤A2、步骤B2及步骤C2中,所有的选择项均设置初始值,由于每个步骤的选择均为单选,且都为二选一的情况,故选择项的初始值设置包括选择与非选择两种情况。当测试过孔检查项处于选择状态时,该选择项的反馈值与初始值相同,检查替换工具执行测试过孔检查;若测试过孔检查项不处于选择状态,反馈值与初始值不相同,检查替换工具执行所有过孔检查。同理,所有过孔检查项处于选择状态时,该选择项的反馈值与初始值相同,检查替换工具执行所有过孔检查;若所有过孔检查项不处于选择状态时,该选择项的反馈值与初始值不同,检查替换工具执行测试过孔检查。在步骤C2中,单过孔替换项处于选择状态时,反馈值与初始值相同,检查替换工具执行单个过孔替换功能,反之,单过孔替换项不处于选择状态时,反馈值与初始值不同,检查替换工具执行所有过孔替换功能。所有过孔替换项处于选择状态时,反馈值与初始值相同,检查替换工具执行所有过孔替换功能;所有过孔替换项不处于选择状态时,反馈值与初始值不同,检查替换工具执行单个过孔替换功能。In step A2, step B2 and step C2, all options are set with initial values. Since the options in each step are single-choice, and they are all two-choice situations, the initial value setting of options includes selection and Two cases are not selected. When the test via check item is selected, the feedback value of the selected item is the same as the initial value, and the check replacement tool executes the test via check; if the test via check item is not selected, the feedback value is different from the initial value. The Check Replacement tool performs all via checks. Similarly, when all via inspection items are selected, the feedback value of the selected item is the same as the initial value, and the inspection and replacement tool executes all via inspections; if all via inspection items are not selected, the feedback value of the selected item is The value is different from the initial value, and the check replacement tool performs a test via check. In step C2, when the single via replacement item is in the selected state, the feedback value is the same as the initial value, and the inspection and replacement tool executes the single via replacement function. On the contrary, when the single via replacement item is not in the selected state, the feedback value is the same as the initial value. Differently, the Check Replace tool performs all via replacement functions. When all via replacement items are selected, the feedback value is the same as the initial value, and the check replacement tool executes all via replacement functions; when all via replacement items are not selected, the feedback value is different from the initial value, and the check replacement tool executes a single Via replacement function.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (10)

1. A mirror image via hole inspection and replacement method based on ALLEGRO software is characterized in that an inspection and replacement tool is created in the ALLEGRO software, the inspection and replacement tool acquires all via hole information in a PCB file and records the via hole information in a first list, via holes meeting the requirements of inspection options and serving as mirror image controls are recorded in a second list according to the requirements of inspection options, via hole attributes meeting the requirements of replacement options in the second list are extracted according to the requirements of the replacement options, original via holes are deleted, new via holes are created, and the extracted via hole attributes are copied to the new via holes.
2. The method of claim 1, wherein the step of creating a check-and-replace tool comprises:
a1, creating a command for checking a replacement tool and setting a command window for checking the replacement tool;
a2, setting an inspection selection item and a replacement selection item by an inspection replacement tool, wherein the inspection selection item comprises only a testing via hole inspection item and all via hole inspection items, the replacement selection item comprises a single via hole replacement item and all via hole replacement items, and all the inspection selection items and all the replacement selection items are respectively set with initial values;
and A3, the inspection replacement tool acquires all via hole information in the PCB file and records the via hole information in the first list.
3. The method of claim 1, wherein the step of inspecting the mirror via of the replacement tool comprises inspecting the mirror via of the replacement tool
Step B1, receiving a checking command;
b2, checking the selection items including a test via hole check item and all via hole check items, judging the selection states of the test via hole check item and all via hole check items according to the comparison of the existing feedback values of the test via hole check item and all via hole check items with the initial values, executing the step B3-1 if the test via hole check item is in the selected state, and executing the step B3-2 if all via hole check items are in the selected state;
step B3-1, judging whether the via holes in the first list are mirror image controls one by one, judging whether the via holes in the first list contain test hole attributes, and recording the via holes in the second list if the via holes are mirror image controls and contain test hole attributes;
and step B3-2, judging whether the via holes in the first list are mirror image controls one by one, and if the via holes are mirror image controls, recording the via holes in the second list.
4. The mirror via inspection replacement method based on ALLEGRO software as claimed in claim 3, wherein in step B2, the feedback value of the test via inspection item is the same as the initial value, the test via inspection item is in the selected state, the feedback value of the test via inspection item is not the same as the initial value, and the test via inspection item is not in the selected state; the feedback values of all the via hole checking items are the same as the initial values, all the via hole checking items are in a selection state, the feedback values of all the via hole checking items are different from the initial values, and all the via hole checking items are not in the selection state.
5. The method of claim 3, wherein in step B3-1 or step B3-2, the replacement tool is checked to set a count value initially to zero, the count value is incremented every time a mirror via is determined, and the final count value is displayed in the count field after step B3-1 or step B3-2.
6. The method as claimed in claim 3, wherein after step B3-1 or step B3-2, the center coordinates of all vias in the second list are obtained one by one, and the vias in the second list are displayed and highlighted in the display list according to a set format.
7. The method as claimed in claim 6, wherein the coordinates of the center of the corresponding via hole are obtained according to the selection status of the via hole in the display list, and the display window of the PCB file is scaled by using the coordinates as the center.
8. The method of claim 1, wherein the step of checking the replacement tool to replace the mirrored via comprises:
step C1, receiving a replacement command;
c2. replacement selection items comprise a single via hole replacement item and all via hole replacement items, the selection states of the single via hole replacement item and all via hole replacement items are judged according to the comparison of the existing feedback values of the single via hole replacement item and all via hole replacement items with the initial values, if the single via hole replacement item is in the selected state, the step C3-1 is executed, and if all via hole replacement items are in the selected state, the step C3-2 is executed;
step C3-1 includes
Step C3-1-1, determining the via hole in the second list in the selected state;
step C3-1-2, obtaining the information of the via hole;
c3-1-3, deleting the via hole;
step C3-1-4, creating a new via hole and copying the original via hole information to the new via hole;
step C3-2 includes
Step C3-2-1, obtaining the information of the via holes in the second list;
c3-2-2, deleting the original via hole;
step C3-2-3, creating a new via hole and copying the original via hole information to the new via hole;
step C3-2-4. step C3-2-1 to step C3-2-3 are cycled.
9. The mirror via inspection replacement method based on allegoro software as claimed in claim 8, wherein in step C2, the feedback value of the single via replacement is the same as the initial value, the single via replacement is in the selected state, the feedback value of the single via replacement is not the same as the initial value, and the single via replacement is not in the selected state; the feedback values of all the via hole replacement items are the same as the initial values, all the via hole replacement items are in a selection state, the feedback values of all the via hole replacement items are different from the initial values, and all the via hole replacement items are not in the selection state.
10. The method as claimed in claim 1, wherein the inspection and replacement tool determines whether the via is a mirror control by using a mirror keyword, and if the via attribute contains the mirror keyword, the via is the mirror control, and if the via attribute does not contain the mirror keyword, the via is not the mirror control.
CN202010973614.3A 2020-09-16 2020-09-16 Mirror image via hole checking and replacing method based on ALLEGRO software Active CN112100973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010973614.3A CN112100973B (en) 2020-09-16 2020-09-16 Mirror image via hole checking and replacing method based on ALLEGRO software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010973614.3A CN112100973B (en) 2020-09-16 2020-09-16 Mirror image via hole checking and replacing method based on ALLEGRO software

Publications (2)

Publication Number Publication Date
CN112100973A true CN112100973A (en) 2020-12-18
CN112100973B CN112100973B (en) 2024-02-02

Family

ID=73760164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010973614.3A Active CN112100973B (en) 2020-09-16 2020-09-16 Mirror image via hole checking and replacing method based on ALLEGRO software

Country Status (1)

Country Link
CN (1) CN112100973B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114417770A (en) * 2022-01-19 2022-04-29 上海闻泰电子科技有限公司 Inspection method, device, terminal equipment and storage medium for printed circuit board

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4680141A (en) * 1984-11-29 1987-07-14 Mcdonnell Douglas Corporation Solder composition
US20030165051A1 (en) * 2000-03-13 2003-09-04 Kledzik Kenneth J. Modular integrated circuit chip carrier
CN101847339A (en) * 2009-03-27 2010-09-29 北京四维图新科技股份有限公司 Topology information generating method and device for road network of electronic map
CN106202608A (en) * 2016-06-23 2016-12-07 浪潮集团有限公司 A kind of Allegro software is replaced method automatically that choose via
CN106815433A (en) * 2017-01-16 2017-06-09 盛科网络(苏州)有限公司 The method for replacing via automatically according to rule setting
CN107783800A (en) * 2017-10-31 2018-03-09 济南浪潮高新科技投资发展有限公司 A kind of method for replacing specified aperture via automatic in Allegro softwares
CN108226754A (en) * 2017-12-27 2018-06-29 西门子数控(南京)有限公司 Method, apparatus, computing device and the storage medium of generative circuit layout
CN108573108A (en) * 2018-04-25 2018-09-25 济南浪潮高新科技投资发展有限公司 A kind of method and device of via that changing PCB based on Allegro
CN111586969A (en) * 2020-04-28 2020-08-25 中国科学院计算技术研究所 Circuit wiring method, DDR4 internal memory circuit and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4680141A (en) * 1984-11-29 1987-07-14 Mcdonnell Douglas Corporation Solder composition
US20030165051A1 (en) * 2000-03-13 2003-09-04 Kledzik Kenneth J. Modular integrated circuit chip carrier
CN101847339A (en) * 2009-03-27 2010-09-29 北京四维图新科技股份有限公司 Topology information generating method and device for road network of electronic map
CN106202608A (en) * 2016-06-23 2016-12-07 浪潮集团有限公司 A kind of Allegro software is replaced method automatically that choose via
CN106815433A (en) * 2017-01-16 2017-06-09 盛科网络(苏州)有限公司 The method for replacing via automatically according to rule setting
CN107783800A (en) * 2017-10-31 2018-03-09 济南浪潮高新科技投资发展有限公司 A kind of method for replacing specified aperture via automatic in Allegro softwares
CN108226754A (en) * 2017-12-27 2018-06-29 西门子数控(南京)有限公司 Method, apparatus, computing device and the storage medium of generative circuit layout
CN108573108A (en) * 2018-04-25 2018-09-25 济南浪潮高新科技投资发展有限公司 A kind of method and device of via that changing PCB based on Allegro
CN111586969A (en) * 2020-04-28 2020-08-25 中国科学院计算技术研究所 Circuit wiring method, DDR4 internal memory circuit and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
廖继海;谢雨锟;黄麟桓;周俊生;: "快速制作双面印制电路板的方法研究", 科技创新导报, no. 28 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114417770A (en) * 2022-01-19 2022-04-29 上海闻泰电子科技有限公司 Inspection method, device, terminal equipment and storage medium for printed circuit board

Also Published As

Publication number Publication date
CN112100973B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
JP7141669B2 (en) Circuit open/short inspection method, detection system and electronic device for PCB design layout
CN111832236A (en) A chip regression test method, system, electronic device and storage medium
US7480878B2 (en) Method and system for layout versus schematic validation of integrated circuit designs
US8086980B2 (en) Efficient power region checking of multi-supply voltage microprocessors
CN107194058A (en) One kind is segmented isometric automatic checking method and system based on differential pair on PCB
US20080178159A1 (en) Methods, systems and program products for annotating system traces with control program information and presenting annotated system traces
CN108536915B (en) A method and device for designing pads in a PCB design diagram of a printed circuit board
CN101364174B (en) Printed circuit board test file generation system and method
JP2008217651A (en) Design support apparatus, design support method, and program
CN114595657A (en) Chip layout method and device and electronic equipment
CN112100974A (en) A Test Point Checking Method Based on ALLEGRO Software
CN112100973A (en) Mirror image via hole inspection and replacement method based on ALLEGRO software
CN113705143A (en) Automatic simulation system and automatic simulation method
CN110502848A (en) Delete method, apparatus, equipment and the storage medium in back drill hole in PCB design figure
CN111259620B (en) Method, system, equipment and medium for checking blind buried hole in PCB
CN111625880A (en) Method for rapidly checking and changing height information of PCB design file
CN115757099B (en) Automatic testing method and device for platform firmware protection and recovery function
CN116955193A (en) Interface testing method, device, equipment and storage medium
CN114578210B (en) Mainboard testing method, device, equipment and storage medium
JP4480947B2 (en) Product inspection content setting method, product inspection content changing method, product inspection content setting system, and product inspection content changing system
CN115344966A (en) A method and system for replacing parts of a CAD assembly
JP5605087B2 (en) Design support apparatus, design support method, and design support program
US10878164B1 (en) Methods, systems, and computer program product for interactively probing a multi-fabric electronic design
CN106445826A (en) Preparing method and producing device of differential package
CN102214249A (en) Method and system for managing integrated circuit design process

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 11F, Metro financial technology building, 9819 Shennan Avenue, Shenda community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Applicant after: EDADOC Co.,Ltd.

Address before: 518000 Kangjia R&D Building, 28 Sci-tech South 12 Road, Nanshan District, Shenzhen City, Guangdong Province, 12H-12I, 12th floor

Applicant before: EDADOC Co.,Ltd.

GR01 Patent grant
GR01 Patent grant