CN106855894B - Method and device for acquiring position information of storage unit in memory - Google Patents

Method and device for acquiring position information of storage unit in memory Download PDF

Info

Publication number
CN106855894B
CN106855894B CN201510907330.3A CN201510907330A CN106855894B CN 106855894 B CN106855894 B CN 106855894B CN 201510907330 A CN201510907330 A CN 201510907330A CN 106855894 B CN106855894 B CN 106855894B
Authority
CN
China
Prior art keywords
memory
layout file
storage units
position information
gds layout
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.)
Active
Application number
CN201510907330.3A
Other languages
Chinese (zh)
Other versions
CN106855894A (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201510907330.3A priority Critical patent/CN106855894B/en
Publication of CN106855894A publication Critical patent/CN106855894A/en
Application granted granted Critical
Publication of CN106855894B publication Critical patent/CN106855894B/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/392Floor-planning or layout, e.g. partitioning or placement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Architecture (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • User Interface Of Digital Computer (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a method and a device for acquiring position information of a storage unit in a memory. The method comprises the following steps: reading and analyzing a GDS layout file of a memory input by a user, and establishing a corresponding data structure of the GDS layout file of the memory input by the user; and acquiring the position information of all storage units in the memory based on the corresponding data structure of the GDS layout file of the memory input by the user. The invention can quickly and accurately acquire the position information of the storage unit in the memory.

Description

Method and device for acquiring position information of storage unit in memory
Technical Field
The present invention relates to the field of integrated circuit technologies, and in particular, to a method and an apparatus for obtaining location information of a storage unit in a memory.
Background
In the field of integrated circuit technology, a GDS (Graphic data stream, called graphics data stream) file is usually generated after the memory is designed, and the GDS file is a layout file stored in a binary form and is a semiconductor physical layout storage format accepted in the industry today.
In the using process of the memory, the position information of the memory storage unit of the memory is often required to be acquired, but the GDS layout file is stored in a binary form, so that a user cannot directly acquire the position information of the memory storage unit of the memory. The conventional general method is to import a GDS layout file corresponding to a memory by using an IC layout tool, and obtain location information of a memory cell of the memory by manually checking a graph.
In the process of implementing the invention, the inventor finds that at least the following technical problems exist in the prior art:
1) the GDS layout file is imported by means of the IC layout tool and is required to be converted from text to graph, so that the operation of acquiring the position information of the memory storage unit is complex and time-consuming;
2) obtaining the location information of the memory storage unit by manually checking the graph is time-consuming and error-prone.
Disclosure of Invention
The method and the device for acquiring the position information of the storage unit in the memory have the advantages of simple and convenient operation, and quick and accurate acquisition of the position information of the storage unit in the memory.
In a first aspect, the present invention provides a method for obtaining location information of a storage unit in a memory, including:
reading and analyzing a GDS layout file of a memory input by a user, and establishing a corresponding data structure of the GDS layout file of the memory input by the user;
and acquiring the position information of all storage units in the memory based on the corresponding data structure of the GDS layout file of the memory input by the user.
Optionally, after the obtaining of the location information of all the storage units in the memory based on the corresponding data structure of the GDS layout file of the memory input by the user, displaying the obtained location information of all the storage units in the memory is further included.
Optionally, the displaying the acquired location information of all storage units in the memory includes:
writing the acquired position information of all storage units in the memory into a bitmap file;
and displaying the bitmap file so that a user can directly acquire the position information of all storage units in the memory.
Optionally, before writing the obtained location information of all storage units in the memory into the bitmap file, the method further includes: and verifying the accuracy of the acquired position information of all the storage units in the memory, writing the acquired position information of all the storage units in the memory into a bitmap file if the verification is successful, and acquiring the position information of all the storage units in the memory again based on a corresponding data structure of a GDS layout file of the memory input by the user if the verification is failed.
Optionally, the verifying the accuracy of the acquired location information of all storage units in the memory includes: extracting the graphic information of all storage units in the memory from the GDS layout file to generate a first GDS layout file; according to the obtained position information of all storage units in the memory, splicing all the storage units used for splicing the memory again to generate a second GDS layout file; comparing the first GDS layout file with the second GDS layout file, if the first GDS layout file is consistent with the second GDS layout file, the verification is successful, and if the first GDS layout file is inconsistent with the second GDS layout file, the verification is failed.
In a second aspect, the present invention provides an apparatus for obtaining location information of a memory cell in a memory, where the apparatus includes a preparation module and an obtaining module, where the preparation module is configured to read and analyze a GDS layout file of the memory input by a user, and establish a corresponding data structure of the GDS layout file of the memory input by the user; the acquisition module is used for acquiring the position information of all storage units in the memory based on the corresponding data structure of the GDS layout file of the memory input by the user.
Optionally, the apparatus further includes a display module, where the display module is configured to display the acquired location information of all storage units in the memory.
Optionally, the display module includes a writing unit and a display unit, and the writing unit is configured to write the acquired location information of all storage units in the memory into a bitmap file; and the display unit is used for displaying the bitmap file so that a user can directly acquire the position information of all the storage units in the memory.
Optionally, the apparatus further includes a verification module, where the verification module is configured to perform accuracy verification on the acquired location information of all the storage units in the memory, and when the verification is successful, trigger the write-in unit to write the acquired location information of all the storage units in the memory into a bitmap file, and when the verification is failed, trigger the acquisition module to acquire the location information of all the storage units in the memory based on the corresponding data structure of the GDS layout file of the memory input by the user again.
Optionally, the verification module includes a first generation unit, a second generation unit, and a comparison unit, where the first generation unit is configured to extract graphic information of all storage units in the memory from the GDS layout file to generate a first GDS layout file; the second generation unit is used for splicing all the storage units used for splicing the memory again according to the acquired position information of all the storage units in the memory so as to generate a second GDS layout file; the comparison unit is used for comparing the first GDS layout file with the second GDS layout file, triggering the write-in unit to write the acquired position information of all the storage units in the memory into a bitmap file when the first GDS layout file is consistent with the second GDS layout file, and triggering the acquisition module to acquire the position information of all the storage units in the memory again based on the corresponding data structure of the GDS layout file of the memory input by the user when the first GDS layout file is inconsistent with the second GDS layout file.
Compared with the prior art, on one hand, the method and the device for acquiring the position information of the storage unit in the memory do not need the time-consuming process of mutual conversion of the text and the graph, but establish the data structure according to the GDS layout file of the memory input by the user, so that the position information of the storage unit in the memory is acquired, and compared with the prior art that the acquisition operation is complicated and consumes time, the acquisition operation of the method and the device for acquiring the position information of the storage unit in the memory is simple and convenient, and the position information of the storage unit in the memory can be quickly acquired; on the other hand, the invention realizes the automatic acquisition of the position information of the storage unit in the memory, thereby saving the time spent on acquiring the position information of the storage unit in the memory by manually checking the graph in the prior art and accurately acquiring the position information of the storage unit in the memory.
Drawings
FIG. 1 is a flowchart illustrating a method for obtaining location information of a memory cell in a memory according to an embodiment of the invention;
FIG. 2 is a flowchart illustrating a method for obtaining location information of a memory cell in a memory according to another embodiment of the invention;
FIG. 3 is a flowchart illustrating a method for obtaining location information of a memory cell in a memory according to another embodiment of the invention;
FIG. 4 is a flowchart illustrating a detailed procedure of the step of verifying the location information of the memory cell in the memory according to the embodiment;
FIG. 5 is a schematic structural diagram of an apparatus for obtaining location information of a storage unit in a memory according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an apparatus for obtaining location information of a storage unit in a memory according to another embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an apparatus for obtaining location information of a storage unit in a memory according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram of the verification module in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a method for acquiring location information of a storage unit in a memory, as shown in fig. 1, the method includes:
s11, reading and analyzing a GDS layout file of the memory input by the user, and establishing a corresponding data structure;
and S12, acquiring the position information of all the storage units in the memory based on the corresponding data structure.
Compared with the prior art, on one hand, the method for acquiring the position information of the storage unit in the memory provided by the embodiment of the invention does not need the time-consuming process of mutual conversion of the text and the graph, but establishes the data structure according to the GDS layout file of the memory input by the user so as to acquire the position information of the storage unit in the memory, so that compared with the prior art, which is complicated in acquisition operation and consumes time, the method for acquiring the position information of the storage unit in the memory is simple and convenient in acquisition operation, and can quickly acquire the position information of the storage unit in the memory; on the other hand, the invention realizes the automatic acquisition of the position information of the storage unit in the memory, thereby saving the time spent on acquiring the position information of the storage unit in the memory by manually checking the graph in the prior art and accurately acquiring the position information of the storage unit in the memory.
Further, as shown in fig. 2, the method further includes:
and S13, displaying the acquired position information of all storage units in the memory.
The method specifically comprises the following steps:
s131, writing the acquired position information of all storage units in the memory into a bitmap file;
s132, displaying the bitmap file so that a user can directly acquire the position information of all storage units in the memory.
The bitmap file is a bitmap file, and a user can intuitively acquire the position information of the storage unit.
Further, as shown in fig. 3, in the method for acquiring location information of storage units in a memory provided in the above embodiment, a step of verifying the accuracy of the acquired location information of all storage units in the memory is added, and specifically, before the step S131, the method further includes:
and S14, verifying the accuracy of the acquired position information of all the storage units in the memory, if the verification is successful, turning to the step S131, and if the verification is failed, turning to the step S12.
Therefore, compared with the prior art, the method and the device have the advantages that the step of verifying the accuracy of the acquired position information of all the storage units in the memory is added, so that the reliability of the acquired result can be further enhanced.
Optionally, as shown in fig. 4, the step S14 may be specifically completed by the following steps:
s141, extracting the graphic information of all storage units in the memory from the GDS layout file to generate a first GDS layout file;
s142, according to the obtained position information of all the storage units in the memory, splicing all the storage units used for splicing the memory again to generate a second GDS layout file;
s143, comparing the first GDS layout file with the second GDS layout file, if the first GDS layout file is consistent with the second GDS layout file, indicating that verification is successful, and turning to the step S131, and if the first GDS layout file is inconsistent with the second GDS layout file, indicating that verification is failed, and turning to the step S12.
Therefore, the method for verifying the accuracy of the acquired position information of all the storage units in the memory is simple and convenient to operate, and the reliability of the acquired result can be ensured.
An embodiment of the present invention further provides an apparatus for acquiring location information of a storage unit in a memory, as shown in fig. 5, the apparatus includes a preparation module 21 and an acquisition module 22,
the preparation module 21 is configured to read and analyze a GDS layout file of a memory input by a user, and establish a corresponding data structure;
the obtaining module 22 is configured to obtain location information of all storage units in the memory based on a corresponding data structure of the GDS layout file of the memory input by the user.
Compared with the prior art, on one hand, the device for acquiring the position information of the storage unit in the memory provided by the embodiment of the invention does not need the time-consuming process of mutual conversion of the text and the graph, but establishes the data structure according to the GDS layout file of the memory input by the user so as to acquire the position information of the storage unit in the memory, so that compared with the prior art, which is complicated in acquisition operation and consumes time, the device for acquiring the position information of the storage unit in the memory provided by the embodiment of the invention is simple and convenient in acquisition operation, and can quickly acquire the position information of the storage unit in the memory; on the other hand, the invention realizes the automatic acquisition of the position information of the storage unit in the memory, thereby saving the time spent on acquiring the position information of the storage unit in the memory by manually checking the graph in the prior art and accurately acquiring the position information of the storage unit in the memory.
Further, as shown in fig. 6, the apparatus further includes a display module 23, where the display module 23 is configured to display the acquired location information of all storage units in the memory.
Specifically, the display module 23 includes a writing unit 231 and a display unit 233, where the writing unit 231 is configured to write the acquired location information of all storage units in the memory into a bitmap file; the display unit 232 is configured to display the bitmap file, so that a user can directly obtain the location information of all storage units in the memory.
As shown in table 1, for example, the memory with a size of 8 × 4, the location information of all the storage units in the memory with a size of 8 × 4 is displayed in the form of the bitmap file.
TABLE 1
Figure DEST_PATH_GDA0000930292520000081
Further, as shown in fig. 7, the apparatus further includes a verification module 24, where the verification module 24 is configured to perform accuracy verification on the acquired location information of all the storage units in the memory, and when the verification is successful, trigger the write unit 231 to write the acquired location information of all the storage units in the memory into a bitmap file, and when the verification fails, trigger the acquisition module 22 to acquire the location information of all the storage units in the memory again based on the corresponding data structure of the GDS layout file of the memory input by the user.
Therefore, compared with the prior art, the invention also adds the verification module for verifying the accuracy of the acquired position information of all the storage units in the memory, thereby further enhancing the reliability of the acquired result.
Optionally, as shown in fig. 8, the verification module 24 includes a first generation unit 241, a second generation unit 242, and a comparison unit 243.
The first generating unit 241 is configured to extract graphic information of all storage units in the memory from the GDS layout file to generate a first GDS layout file;
the second generating unit 242 is configured to re-splice the storage units used for splicing the memory according to the acquired location information of all the storage units in the memory, so as to generate a second GDS layout file;
the comparison unit 243 is configured to compare the first GDS layout file with the second GDS layout file, trigger the write unit 231 to write the acquired location information of all the storage units in the memory into the bitmap file when the first GDS layout file is consistent with the second GDS layout file, and trigger the acquisition module 22 to acquire the location information of all the storage units in the memory based on the corresponding data structure of the GDS layout file of the memory input by the user again when the first GDS layout file is inconsistent with the second GDS layout file.
Therefore, the method for verifying the accuracy of the acquired position information of all the storage units in the memory is simple and convenient to operate, and the reliability of the acquired result can be ensured.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (2)

1. A method for obtaining location information of a memory location in a memory, comprising:
reading and analyzing a GDS layout file of a memory input by a user, and establishing a corresponding data structure of the GDS layout file of the memory input by the user;
acquiring the position information of all storage units in the memory based on the corresponding data structure of the GDS layout file of the memory input by the user;
extracting graphic information of all storage units in a memory from a GDS layout file of the memory input by a user to generate a first GDS layout file, splicing all storage units used for splicing the memory again according to the acquired position information of all storage units in the memory to generate a second GDS layout file, comparing the first GDS layout file with the second GDS layout file, writing the acquired position information of all storage units in the memory into a bitmap file if the first GDS layout file is consistent with the second GDS layout file, and acquiring the position information of all storage units in the memory again based on corresponding data structures of the GDS layout file of the memory input by the user if the first GDS layout file is inconsistent with the second GDS layout file;
and writing the acquired position information of all the storage units in the memory into a bitmap file, and displaying the bitmap file so that a user can directly acquire the position information of all the storage units in the memory.
2. An apparatus for acquiring location information of a storage unit in a memory, the apparatus comprising a preparation module, an acquisition module, a verification module, and a display module, wherein,
the preparation module is used for reading and analyzing the GDS layout file of the memory input by the user and establishing a corresponding data structure of the GDS layout file of the memory input by the user;
the acquisition module is used for acquiring the position information of all storage units in the memory based on the corresponding data structure of the GDS layout file of the memory input by the user;
the verification module is used for extracting the graphic information of all the storage units in the memory from the GDS layout file of the memory input by the user to generate a first GDS layout file, according to the acquired position information of all the storage units in the memory, splicing the storage units used for splicing the memory again to generate a second GDS layout file, comparing the first GDS layout file with the second GDS layout file, if the first GDS layout file is consistent with the second GDS layout file, writing the acquired position information of all the storage units in the memory into a bitmap file, if the first GDS layout file is inconsistent with the second GDS layout file, acquiring the position information of all storage units in the memory again based on the corresponding data structure of the GDS layout file of the memory input by the user;
and the display module is used for writing the acquired position information of all the storage units in the memory into a bitmap file and displaying the bitmap file so that a user can directly acquire the position information of all the storage units in the memory.
CN201510907330.3A 2015-12-09 2015-12-09 Method and device for acquiring position information of storage unit in memory Active CN106855894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510907330.3A CN106855894B (en) 2015-12-09 2015-12-09 Method and device for acquiring position information of storage unit in memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510907330.3A CN106855894B (en) 2015-12-09 2015-12-09 Method and device for acquiring position information of storage unit in memory

Publications (2)

Publication Number Publication Date
CN106855894A CN106855894A (en) 2017-06-16
CN106855894B true CN106855894B (en) 2020-04-14

Family

ID=59132569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510907330.3A Active CN106855894B (en) 2015-12-09 2015-12-09 Method and device for acquiring position information of storage unit in memory

Country Status (1)

Country Link
CN (1) CN106855894B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112668667B (en) * 2021-01-22 2024-05-14 上海华虹宏力半导体制造有限公司 Layout file scanning method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408923A (en) * 2007-11-16 2009-04-15 清华大学 Method for affirming IP nuclear publishing rights by using digital watermarking technology
CN102446230A (en) * 2010-10-11 2012-05-09 上海华虹Nec电子有限公司 Method for merging GDSII layout data
CN103106294A (en) * 2012-12-24 2013-05-15 西安华芯半导体有限公司 Territory programming method for static random access memory compiler

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408923A (en) * 2007-11-16 2009-04-15 清华大学 Method for affirming IP nuclear publishing rights by using digital watermarking technology
CN102446230A (en) * 2010-10-11 2012-05-09 上海华虹Nec电子有限公司 Method for merging GDSII layout data
CN103106294A (en) * 2012-12-24 2013-05-15 西安华芯半导体有限公司 Territory programming method for static random access memory compiler

Also Published As

Publication number Publication date
CN106855894A (en) 2017-06-16

Similar Documents

Publication Publication Date Title
JP6868119B2 (en) Holographic anti-counterfeit code inspection method and equipment
US9841826B2 (en) Automatic test system and test method for computer, record medium, and program product
CN107025174B (en) Method, device and readable storage medium for user interface anomaly test of equipment
US9767090B2 (en) Correcting questionable line breaks after an OCR
CN108734304B (en) Training method and device of data model and computer equipment
US20180089151A1 (en) Recognizing unseen fonts based on visual similarity
CN110990274A (en) Data processing method, device and system for generating test case
CN112306495A (en) Picture verification method and device, computer equipment and computer-readable storage medium
CN112115059A (en) Application program compatibility testing method and device and computer equipment
CN104346035A (en) Indicating automatically corrected words
WO2017211202A1 (en) Method, device, and terminal device for extracting data
US20150332482A1 (en) Detecting conformance of graphical output data from an application to a convention
CN106855894B (en) Method and device for acquiring position information of storage unit in memory
CN111310912A (en) Machine learning system, domain conversion device, and machine learning method
CN111291531A (en) Method and device for checking electrical relevant design rule of integrated circuit
CN114339208A (en) Video testing method and device, electronic equipment and computer storage medium
CN107515821B (en) Control testing method and device
WO2018211546A1 (en) Screen test device and screen test program
CN115168575A (en) Subject supplement method applied to audit field and related equipment
CN112966671A (en) Contract detection method and device, electronic equipment and storage medium
CN109710651B (en) Data type identification method and device
CN111914741A (en) House property certificate identification method, device and equipment
CN113010128A (en) Multi-screen interaction method and system based on BIM (building information modeling)
JP2022085668A (en) Character break check device, character break check method, and character break check program
US20230072081A1 (en) Vector Object Stylization from Raster Objects

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant