| Due to the increasing scale of electronic circuits and the increasing complexity of functions,the role of schematic view in the electronic design process is becoming more and more important.Although EDA tools currently available on the market provide schematic view functions,there are many problems in the user's use: First,there are many needs to consider during the review of the schematic.However,the current EDA tool can only provide a simple ERC(Electrical Rule Check)view,and can not fully meet the functional requirements of the schematic view;Secondly,although the use of many EDA tools greatly improves the efficiency of electronic design,but because each EDA tool has its own private data format for the storage of its design data,the design using some EDA tool can only continue to use the schematic view function supported by the EDA tool.This makes the cost of the schematic view increase sharply;finally,in the long-term development of the enterprise,a large number of schematic view experiences will inevitably emerge.Companies want to use these excellent experiences to continue to guide the design of new products,but existing EDA tools are not possible.In view of the problems existing in the current schematic view process,this paper fully studies the EDIF standard and the description of the schematic diagram of each EDA tool,and uses a variety of programming languages to design and implement a new schematic view system.Firstly,in order to realize the decoupling of this view system and EDA tools and support the schematic design of viewing various EDA tools,we use the lexical analyzer based on the design of the graphic data structure based on the extensively supported EDIF200 standard,and the parser,designed to implement the private data storage mode of the viewing system "schematic public data structure".The data storage method can comprehensively and accurately describe the schematic structure;Secondly,in order to cope with various viewing rules that may appear in the schematic view process,we specify the user's viewing rules in the form of Python scripts.Run the user's custom script by extending the embedded Python interpreter in the view system.At the same time,in order to improve the view efficiency,we independently designed and implemented four kinds of Python extended interface functions,which realized the extraction of design element information,the acquisition of attributes and the generation of view results.Based on these extended interface functions,users can quickly and easily customize arbitrary viewing rules in the form of Python scripts.Then,in order to inherit and share the excellent schematic view rules(Python scripts)in the enterprise,we use database technology to implement the storage,modification and invocation of Python scripts,which realizes that the development of the inspection rules is permanent and effective.Finally,in order to facilitate the user to develop the viewing rules(Python scripts),we developed a script development environment adapted to the system based on Py Charm.At the same time,in order to better enhance the user experience,we support feedback in the form of XML reports or graphical interfaces.The schematic view system developed by this project has been successfully applied in several product lines within Huawei,and has received widespread praise.At present,the view system is being fully promoted and used within Huawei. |