CN107480481B - Method for automatically generating watermark on IP - Google Patents
Method for automatically generating watermark on IP Download PDFInfo
- Publication number
- CN107480481B CN107480481B CN201710818729.3A CN201710818729A CN107480481B CN 107480481 B CN107480481 B CN 107480481B CN 201710818729 A CN201710818729 A CN 201710818729A CN 107480481 B CN107480481 B CN 107480481B
- Authority
- CN
- China
- Prior art keywords
- watermark
- information
- target
- fountain
- name
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000004883 computer application Methods 0.000 abstract description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/16—Program or content traceability, e.g. by watermarking
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
The invention discloses a method for automatically generating a watermark on an IP (Internet protocol), and relates to the technical field of computer application. The method comprises the following steps: judging whether the target IP starts writable permission or not; if the target IP has started the writable right, entering the next step; if the target IP does not start the writable right, popping up a warning, and returning to the previous step; reading IP process information of a target IP; reading pre-stored watermark hierarchy list information; matching the watermark level list information with the IP process information to obtain watermark level information required by a preset fountain in the watermark level list information; and reading the IP name of the target IP, and making the watermark layer information and the IP name into an IP watermark label of the target IP. According to the technical scheme, the IP process information and the IP name of the target IP and the pre-stored watermark level information are made into the IP watermark label, the watermark corresponding to fountain can be automatically marked on the target IP, the labor cost can be reduced, and the problems of format error and watermark level mismatching caused by manual processing can be solved.
Description
Technical Field
The invention relates to the technical field of computer application, in particular to a method for automatically watermarking a layout interface.
Background
When a software tool is used to design an IP core (intellectual property core) of an integrated circuit layout, a step of making a watermark of the IP core of the integrated circuit layout for a foundry to scan and identify is indispensable, and this behavior is called "watermarking". Due to the special format requirements and the definition differentiation of watermark layers in different generations of factories, each IP can generate a corresponding unique watermark.
However, at present, a corresponding watermarking program is not developed, and only each layer of the integrated circuit layout can be watermarked manually, so that the workload is high, and the problems of format errors or mismatched watermark layers and the like are easy to occur.
Disclosure of Invention
The invention mainly aims to provide a method for automatically generating a watermark on an IP (Internet protocol), aiming at reducing labor cost and working time.
In order to achieve the above object, the present invention provides a method for automatically generating a watermark on an IP, comprising the following steps:
s1, judging whether the target IP starts writable permission or not;
s2, if the target IP has opened the writable right, the step S3 is entered; if the target IP does not start the writable right, popping up a warning, and returning to the step S1;
s3, reading the IP process information of the target IP; reading pre-stored watermark hierarchy list information;
s4, matching the watermark hierarchy list information with the IP process information to obtain watermark hierarchy information required by a preset fountain in the watermark hierarchy list information;
s5, reading the IP name of the target IP, and making the watermark layer information and the IP name into an IP watermark label of the target IP.
Preferably, the IP process information includes process library hierarchy information of the target IP, process information used by the target IP, and fountain information corresponding to the process used.
Preferably, the watermark hierarchy list information includes a plurality of foundation information which are pre-stored, and process information used by each foundation.
Preferably, the matching the watermark hierarchical list information and the IP process information includes: and matching the fountain information in the watermark hierarchy list information with the fountain information corresponding to the process used by the target IP, and extracting the watermark hierarchy information corresponding to the matched fountain information.
Preferably, the IP name includes Vendor information, Project Num information, and Version information.
Preferably, the making the watermark hierarchy information and the IP name into the IP watermark label of the target IP further includes:
and generating an IP watermark module by the IP watermark label, and placing the IP watermark module on a newly built mark layer of the target IP.
Preferably, the IP watermarking module is placed at the coordinates (1, 1) of the mark layer.
Preferably, if the target IP does not turn on writable rights, a warning is popped up and returned to step S1, where the warning includes: and prompting a user to start the writable permission of the target IP.
According to the technical scheme, the IP process information and the IP name of the target IP and the pre-stored watermark level information are made into the IP watermark label, the watermark corresponding to the fountain can be automatically marked on the target IP, the fountain can be conveniently identified during processing and manufacturing, the automatic watermarking is performed through the program, the labor cost can be reduced, and the problems of format error and watermark level mismatching caused by manual processing can be reduced.
Drawings
Fig. 1 is a schematic flow chart of the method for automatically generating a watermark on an IP according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention is further described below with reference to the accompanying drawings.
The invention provides a method for automatically generating a watermark on an IP (Internet protocol), which comprises the following steps as shown in figure 1:
and S1, judging whether the target IP opens the writable right.
And integrating the written program into a program list of a right mouse button in advance by using a function HICreateSimpleMenu () (for creating a simple menu function), so that the program is ready to be run later. And opening a target IP to be watermarked, clicking a right mouse button, finding the program to be clicked and run, and capturing the authority mode of the IP environment by the program to judge whether the target IP can be written or not. Specifically, the target IP runs the program through layout view (layout interface).
S2, if the target IP has opened the writable right, the step S3 is entered; and if the target IP does not start the writable right, popping up a warning, and returning to the step S1. The warning includes: and prompting a user to start the writable permission of the target IP.
And if the target IP does not start the writable right, executing a show _ warning _ form () subprogram, popping up a warning dialog box, and prompting a user to start the writable right. The Show _ warning _ form () subroutine is implemented by the function hidisplayappbox () (create and display dialog window function). And when the user opens the target IP writable right, repeating the step S1.
S3, reading the IP process information of the target IP; and reading pre-stored watermark hierarchy list information.
The IP process information includes process library hierarchy information of the target IP, process information used by the target IP, and Foundry information corresponding to the process used.
Reading the IP process information of the target IP comprises the following steps: if the target IP has opened the writable permission, capturing a Process File (Process technology File) of the target IP by a function techngettefile () (a Process File information capturing function), namely IP Process information; meanwhile, the current time point is obtained through a function currenttime () (displaying the current time function), and a time format required when the target IP is finally watermarked is obtained through format conversion.
The watermark hierarchy list information comprises a plurality of foundation information which are prestored and process information used by each foundation. The fountain information is generally information corresponding to a mainstream agent factory in the technical field at present, and watermark hierarchical list information is generated from the information of all mainstream agent factories and stored.
And S4, matching the watermark hierarchy list information with the IP process information to obtain watermark hierarchy information required by a preset fountain in the watermark hierarchy list information.
Specifically, the matching the watermark hierarchical list information and the IP process information includes: and matching the fountain information in the watermark hierarchy list information with the fountain information corresponding to the process used by the target IP, and extracting the watermark hierarchy information corresponding to the matched fountain information.
S5, reading the IP name (IP name) of the target IP, and making the watermark layer information and the IP name into the IP watermark label of the target IP. And then, generating an IP watermark module by the IP watermark label, and placing the IP watermark module on a newly-built mark layer of the target IP. Finally, an IP watermarking module is placed at the coordinates (1, 1) of the mark layer.
The IP name includes Vendor information, Project Num information, and Version information.
Specifically, a function dbCreateLael () (create tag function) is used for creating a watermark tag in a format required by a target IP or a foundry, then a lemakeCell () (create sub-module function) is used for generating all formatted watermark tags in a mark layer of ViewType (graphic interface format), and a module IP watermark module is created.
And then, a function dbCreateInst () (a prototype function is created) is used for placing the established IP watermark module at the position of the coordinates (1, 1).
In a specific embodiment, the finally generated IP watermarking module information is as follows: (the font size + coordinates + watermark hierarchy has been ignored)
&Vendor “vendor”
&Instance “Project Num”
&Product “Foundry Process and IP name”
&Version “A”
&Time “Jun 8 2017”
According to the technical scheme, the IP process information and the IP name of the target IP and the pre-stored watermark level information are made into the IP watermark label, the watermark corresponding to the fountain can be automatically marked on the target IP, the fountain can be conveniently identified during processing and manufacturing, the automatic watermarking is performed through the program, the labor cost can be reduced, and the problems of format error and watermark level mismatching caused by manual processing can be reduced.
It should be understood that the above is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent structures or equivalent flow transformations that are made by the contents of the present specification and drawings, or used directly or indirectly in other related fields, are included in the scope of the present invention.
Claims (8)
1. A method for automatically generating a watermark on an integrated circuit layout design IP is characterized by comprising the following steps:
s1, judging whether the target IP starts writable permission or not;
s2, if the target IP has opened the writable right, the step S3 is entered; if the target IP does not start the writable right, popping up a warning, and returning to the step S1;
s3, reading the IP process information of the target IP; reading pre-stored watermark hierarchy list information;
s4, matching the watermark hierarchy list information with the IP process information to obtain watermark hierarchy information required by a preset fountain in the watermark hierarchy list information;
s5, reading the IP name of the target IP, and making the watermark layer information and the IP name into an IP watermark label of the target IP.
2. The method according to claim 1, wherein the IP process information includes process library level information of the target IP, process information used by the target IP, and fountain information corresponding to the process used.
3. The method according to claim 2, wherein the watermark hierarchical list information includes a plurality of pre-stored fountain information and process information used by each fountain.
4. The method of claim 3, wherein the matching the watermark hierarchical list information with the IP process information comprises: and matching the fountain information in the watermark hierarchy list information with the fountain information corresponding to the process used by the target IP, and extracting the watermark hierarchy information corresponding to the matched fountain information.
5. The method of claim 1, wherein the IP name comprises Vendor information, Project Num information, and Version information.
6. The method as claimed in claim 1, wherein the step of making the watermark level information and the IP name into the IP watermark label of the target IP further comprises:
and generating an IP watermark module by the IP watermark label, and placing the IP watermark module on a newly built mark layer of the target IP.
7. The method for automatically generating watermark on integrated circuit layout design IP according to claim 6, characterized in that the IP watermarking module is placed at the coordinates (1, 1) of the mark layer.
8. The method according to claim 1, wherein if the target IP does not turn on writable right, a warning is popped up and returned to step S1, and the warning includes: and prompting a user to start the writable permission of the target IP.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710818729.3A CN107480481B (en) | 2017-09-12 | 2017-09-12 | Method for automatically generating watermark on IP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710818729.3A CN107480481B (en) | 2017-09-12 | 2017-09-12 | Method for automatically generating watermark on IP |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107480481A CN107480481A (en) | 2017-12-15 |
CN107480481B true CN107480481B (en) | 2020-11-10 |
Family
ID=60585394
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710818729.3A Active CN107480481B (en) | 2017-09-12 | 2017-09-12 | Method for automatically generating watermark on IP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107480481B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7017043B1 (en) * | 1999-03-19 | 2006-03-21 | The Regents Of The University Of California | Methods and systems for the identification of circuits and circuit designs |
CN101408923A (en) * | 2007-11-16 | 2009-04-15 | 清华大学 | Method for affirming IP nuclear publishing rights by using digital watermarking technology |
CN101882297A (en) * | 2010-06-02 | 2010-11-10 | 青岛理工大学 | Digital watermarking method |
CN102750480A (en) * | 2012-05-23 | 2012-10-24 | 常熟南师大发展研究院有限公司 | Automatic watermark embedding method and device for geographic data network sharing platform |
CN105574246A (en) * | 2015-12-14 | 2016-05-11 | 上海华虹宏力半导体制造有限公司 | IP module merging method of layout |
-
2017
- 2017-09-12 CN CN201710818729.3A patent/CN107480481B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7017043B1 (en) * | 1999-03-19 | 2006-03-21 | The Regents Of The University Of California | Methods and systems for the identification of circuits and circuit designs |
CN101408923A (en) * | 2007-11-16 | 2009-04-15 | 清华大学 | Method for affirming IP nuclear publishing rights by using digital watermarking technology |
CN101882297A (en) * | 2010-06-02 | 2010-11-10 | 青岛理工大学 | Digital watermarking method |
CN102750480A (en) * | 2012-05-23 | 2012-10-24 | 常熟南师大发展研究院有限公司 | Automatic watermark embedding method and device for geographic data network sharing platform |
CN105574246A (en) * | 2015-12-14 | 2016-05-11 | 上海华虹宏力半导体制造有限公司 | IP module merging method of layout |
Non-Patent Citations (1)
Title |
---|
IP芯核水印技术研究进展;李东晓等;《电路与系统学报》;20070831;第12卷(第4期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN107480481A (en) | 2017-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107423322B (en) | Method and device for displaying label nesting hierarchy of webpage | |
US8843892B2 (en) | Visual representations of code in application development environments | |
US20020109704A1 (en) | Dynamic, live surface and model elements for visualization and modeling | |
EP2372533A1 (en) | Method and platform for integrating a heterogeneous collaborative design system of work group and product lifecycle management system | |
CN104680588B (en) | Event marker method and system based on BIM | |
US10534865B2 (en) | Flexible CAD format | |
US8930891B2 (en) | Method for visual manipulations of all kinds of programming objects | |
US11645438B2 (en) | Generating a template-driven schematic from a netlist of electronic circuits | |
GB2551940A (en) | Method of, and apparatus for, creating reference data items for an automated test of software with a graphical user interface | |
US8997037B2 (en) | User customizable queries to populate model diagrams | |
Stocco et al. | PESTO: A tool for migrating DOM-based to visual web tests | |
CN103793226A (en) | Pervasive application code framework fast-generating method and prototype system | |
CN112748923A (en) | Method and device for creating visual billboard, electronic equipment and storage medium | |
CN115510525A (en) | Automatic labeling method and system for pipeline three-dimensional building information model | |
CN108140059B (en) | Visualization of analytical process parameters for layout-based inspection | |
CN107480481B (en) | Method for automatically generating watermark on IP | |
US10896161B2 (en) | Integrated computing environment for managing and presenting design iterations | |
Elaasar et al. | Diagram definition: a case study with the UML class diagram | |
US7562317B2 (en) | Multitasking circuit layout diagram silkscreen text handling method and system | |
CN116956838A (en) | Project determining method and device for engineering quantity list | |
CN109543311B (en) | Three-dimensional visual definition method and system for technical state of part manufacturing | |
US11231909B2 (en) | Validation for graphical user interface | |
WO2001008007A9 (en) | Method and system of automated generation of program code from an object oriented model | |
CN108121841B (en) | Method for quickly marking PCBA (printed circuit board assembly) mounting device | |
US10558774B1 (en) | Electronic library and design generation using image and text processing |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |