CN105912380A - Method for converting EDIF netlist file to Protel netlist file - Google Patents

Method for converting EDIF netlist file to Protel netlist file Download PDF

Info

Publication number
CN105912380A
CN105912380A CN201610227390.5A CN201610227390A CN105912380A CN 105912380 A CN105912380 A CN 105912380A CN 201610227390 A CN201610227390 A CN 201610227390A CN 105912380 A CN105912380 A CN 105912380A
Authority
CN
China
Prior art keywords
protel
file
edif
net meter
meter file
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.)
Pending
Application number
CN201610227390.5A
Other languages
Chinese (zh)
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.)
Guilin University of Electronic Technology
Original Assignee
Guilin University of Electronic Technology
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 Guilin University of Electronic Technology filed Critical Guilin University of Electronic Technology
Priority to CN201610227390.5A priority Critical patent/CN105912380A/en
Publication of CN105912380A publication Critical patent/CN105912380A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/425Lexical analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a method for converting an EDIF (Electronic Design Interchange Format) netlist file to a Protel netlist file, and belongs to the test field. <{EN2}>The EDIF file is used to realize transplantability of electronic designs among different manufacturers and language description schemes of data exchange among various CAD/CAD systems; the Protel netlist file is a bridge between a simpplified schematic and a PCB. <{EN3}>A compiling module designed by Flex and Bision is used to inspect morphology and grammar of the EDIF file and proceed error processing; the EDIF file includes a physical device name, a network device name, a pin input-output type, and split charging attribute. <{EN4}>By writing codes, extracted information is written in the Protel netlist file in the format of the Protel netlist file. <{EN5}>The advantages of the invention are that the EDIF netlist file can be converted to Protel netlist file conveniently; the problem of long time consuming in the analysis process is solved; the utility effect is good; and an electronic designer and a boundary scan-and-test personnel can work conveniently.

Description

A kind of method that EDIF net meter file turns Protel net meter file
Technical field
The present invention relates to the technical field of software algorithm, a kind of method that EDIF net meter file turns Protel net meter file.
Background technology
nullAlong with integrated circuit technique obtains being continuously updated and developing,People enter huge size integrated circuit or even super large-scale integration epoch,Along with succession scale constantly increases,Its complexity is consequently increased,The most increasing to its difficulty tested,Boundary scan technique is by the feature of self,Have become as one of method of testing of current main flow,The most domestic have complete boundary scan testing platform,It carries out boundary scan testing by the compiling of Protel net meter file and BSDL file is generated corresponding scan chain to circuit-under-test,And should have a set of perfect Protel net meter file and the compiler of BSDL file,And generally circuit board is described by EDIF net meter file,This is accomplished by certain method and EDIF file is resolved and generated corresponding Protel net meter file,Boundary scan testing can effectively be carried out.
Summary of the invention
The method that a kind of EDIF net meter file that the invention aims to solve the problems referred to above and design turns Protel net meter file, the method quickly can resolve to EDIF net meter file and generate corresponding Protel net meter file, practical function is good and greatly reduces workload, and boundary scan testing personnel are provided many convenience.
The technical solution adopted for the present invention to solve the technical problems is: carry out EDIF net meter file carries out morphological analysis based on flex and syntactic analysis based on Bison under Linux environment, first morphological analysis is carried out, according to relevant criterion, the EDIF net meter file of input is carried out word block segmentation, coupling morphological rule pattern described by regular expression, after the match is successful, form corresponding mark stream, provide basis for follow-up syntactic analysis;Syntactic analysis phase, according to the grammatical rules of EDIF file, utilize the mark stream that morphological analysis returns, utilize Bison instrument to automatically generate syntactic analyser.Write morphological analysis and syntactic analysis that C code utilizes Flex and Bison collaborative work to generate according to the rule of Protel net meter file, generate corresponding executable program, it is achieved the conversion to Protel net meter file of the EDIF net meter file.
Accompanying drawing explanation
Fig. 1 is EDIF net meter file morphological analysis flow chart.
Fig. 2 is EDIF net meter file syntactic analysis flow chart.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage are clearer, below in conjunction with accompanying drawing and example, are described in further detail.
Under Linux environment, by the research to EDIF net meter file, according to dependency rule, the EDIF net meter file of input is carried out word block segmentation, morphological rule is write in * * .l file, * * .yy.c file is generated by Flex, in this application, morphological analysis is used in combination with syntactic analysis, in morphological analysis, as shown in Figure 1, it is first turned on EDIF net meter file, input file content, coupling morphological rule pattern described by regular expression, when the match is successful, return corresponding mark stream, when pattern cannot be matched, carry out miscue, until whole file scan is terminated, mark stream is provided for syntactic analysis.In syntactic analysis, as in figure 2 it is shown, grammatical rules to be write the file of * * .y, and comprise corresponding header file, by Bison, EDIF file is carried out the structure inspection of grammer, stores relevant information after carrying out clash handle and fault processing, and generate * * .tab.c and * * .tab.h file.Then utilize C language to call morphological analysis and the syntactic analysis of Flex Yu Bison generation, extract relevant information, according still further to the rule of Protel net meter file, write information into Protel net meter file.Boundary scan testing after making can effectively be carried out.
The foregoing is only presently preferred embodiments of the present invention, every professional who are familiar with this art, after understanding the technological means of the present invention, natural energy, according to actual needs, is changed under the teachings of the present invention.The most all equal changes made according to scope of the present invention patent and modification, once should still remain within the scope of the patent.

Claims (3)

1. the method that an EDIF net meter file turns Protel net meter file, it is characterised in that: swept by border Retouch tester in computer, input the former EDIF net meter file needing to be converted to Protel net meter file, by The EDIF net meter file write in advance turns the compiler of Protel net meter file and carries out EDIF net meter file Resolve, and generate corresponding Protel net meter file.
The method that EDIF net meter file the most according to claim 1 turns Protel net meter file, it is special Levy and be: described compiler is the compiler utilizing Flex Yu Bison to generate.
The method that EDIF net meter file the most according to claim 1 and 2 turns Protel net meter file: It is characterized in that: described compiler can be analyzed judging during compiling, only inputs correct EDIF net meter file, just can properly generate Protel net meter file.
CN201610227390.5A 2016-04-12 2016-04-12 Method for converting EDIF netlist file to Protel netlist file Pending CN105912380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610227390.5A CN105912380A (en) 2016-04-12 2016-04-12 Method for converting EDIF netlist file to Protel netlist file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610227390.5A CN105912380A (en) 2016-04-12 2016-04-12 Method for converting EDIF netlist file to Protel netlist file

Publications (1)

Publication Number Publication Date
CN105912380A true CN105912380A (en) 2016-08-31

Family

ID=56745973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610227390.5A Pending CN105912380A (en) 2016-04-12 2016-04-12 Method for converting EDIF netlist file to Protel netlist file

Country Status (1)

Country Link
CN (1) CN105912380A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210133A (en) * 2019-06-03 2019-09-06 哈尔滨工程大学 A kind of automatic fault method for implanting of EDIF netlist grade combinational logic circuit
US11546217B1 (en) * 2021-09-14 2023-01-03 Hewlett Packard Enterprise Development Lp Detecting configuration anomaly in user configuration

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
周晓亮: "基于EDIF边界扫描测试信息编译技相术的研究", 《万方学术》 *
周晓亮: "基于电子设计交换格式的网表文件编译器的研究与实现", 《计算机测量与控制》 *
李涣,颜学龙,陈寿宏: "编译器技术在边界扫描中的应用研究", 《计算机测量与控制》 *
李涣: "边界扫描测试的编译技术研究", 《万方学术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210133A (en) * 2019-06-03 2019-09-06 哈尔滨工程大学 A kind of automatic fault method for implanting of EDIF netlist grade combinational logic circuit
CN110210133B (en) * 2019-06-03 2022-07-08 哈尔滨工程大学 Automatic fault injection method for EDIF netlist-level combinational logic circuit
US11546217B1 (en) * 2021-09-14 2023-01-03 Hewlett Packard Enterprise Development Lp Detecting configuration anomaly in user configuration

Similar Documents

Publication Publication Date Title
CN106547739B (en) A kind of text semantic similarity analysis method
CN109376353B (en) Natural language processing-based power grid starting operation ticket generation device and method
CN103336760B (en) A kind of method and device based on reverse-engineering automatic generating software document
CN109783079A (en) A kind of code annotation generation method based on program analysis and Recognition with Recurrent Neural Network
CN102708098B (en) Dependency coherence constraint-based automatic alignment method for bilingual words
JP2010003008A (en) Detection program, detection device, and detection method
KR20090015604A (en) Method and apparatus for constructing translation knowledge
CN104063321A (en) Test verifying system and test verifying method for microblaze soft-core program
US20220171932A1 (en) Automated translation of design specifications of electronic circuits
CN101008962A (en) Verification method for configurable and replaceable reference model used by network chip
CN105912380A (en) Method for converting EDIF netlist file to Protel netlist file
CN102135957A (en) Clause translating method and device
CN109471637B (en) Circuit diagram examination script debugging method
US20100057425A1 (en) Automatically creating manufacturing test rules pertaining to an electronic component
CN112965909A (en) Test data, test case generation method and system, and storage medium
US7340727B2 (en) Verilog to C++ language translator
Meng et al. HDLcs1. 0: A Compiler and Simulator Framework for Hardware Description Language
Phodong et al. Improving Thai-English word alignment for interrogative sentences in SMT by grammatical knowledge
CN109635480A (en) A kind of control logic verifying and adjustment method based on graphics software
CN115712839B (en) Automatic matching system and method for relay protection device communication model
CN102426335B (en) Method for automatically generating test pattern vector of DSP (Digital Signal Processor) device
Becu et al. UTILE system: a unified environment from simulation to test
CN117592536A (en) Translation model training method, device, electronic equipment and storage medium
Chen et al. A general boundary scan test system based on EDIF netlist file transfer to Protel netlist file
CN117892664A (en) SoC mixed signal verification device and verification method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
CB03 Change of inventor or designer information

Inventor after: Chen Shouhong

Inventor after: Wang Zhuang

Inventor after: Hou Xingna

Inventor after: Yan Xuelong

Inventor after: Huang Xin

Inventor after: Ma Jun

Inventor before: Wang Zhuang

Inventor before: Chen Shouhong

COR Change of bibliographic data
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Guilin University of Electronic Technology

Document name: the First Notification of an Office Action

DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Guilin University of Electronic Technology

Document name: Notification that Application Deemed to be Withdrawn

DD01 Delivery of document by public notice
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160831

WD01 Invention patent application deemed withdrawn after publication