CN105631127A - Automatic replacing method for FPGA-to-ASIC memorizer - Google Patents
Automatic replacing method for FPGA-to-ASIC memorizer Download PDFInfo
- Publication number
- CN105631127A CN105631127A CN201511003139.2A CN201511003139A CN105631127A CN 105631127 A CN105631127 A CN 105631127A CN 201511003139 A CN201511003139 A CN 201511003139A CN 105631127 A CN105631127 A CN 105631127A
- Authority
- CN
- China
- Prior art keywords
- model
- fpga
- storer
- asic
- memory
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/34—Circuit design for reconfigurable circuits, e.g. field programmable gate arrays [FPGA] or programmable logic devices [PLD]
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)
- Design And Manufacture Of Integrated Circuits (AREA)
Abstract
The invention discloses an automatic replacing method for an FPGA-to-ASIC memorizer. The method comprises the steps that an FPGA memorizer model is searched for; the type of the memorizer is confirmed; a target process database is correlated; the FPGA memorizer model is replaced with a target process database memorizer model; the replacing process of the memorizer model is corrected; an ASIC substitutive memorizer model is output; functional verification is carried out. According to the method, the process of replacing the FPGA memorizer model with the ASIC memorizer model is achieved automatically and fast, manpower cost is reduced, and the problem that the error rate of manual intervention is high is solved.
Description
Technical field
The present invention relates to a kind of storer automatization replacement method, particularly relate to a kind of FPGA and turn ASIC memory automatization replacement method, belong to integrated circuit (IC) design technical field.
Background technology
After using complicated programmable logic device part (CPLD) and Field Programmable Logic Array (FPGA) to carry out functional verification at present, realizing application specific integrated circuit (ASIC) design again is one of the most popular mode, their general character all has user's field-programmable characteristic, all supports boundary scan technique; But both have respective feature on integrated level, speed and programming mode. And the feature of ASIC is the demand towards specific user, wide in variety, few in batches, require that design is with short production cycle, the product that it is combined closely as complete machine or the system technology of integrated circuit technique and specific user, has the advantages such as volume is less, power consumption is lower, reliability raising, performance raising, confidentiality enhancing, cost reduction compared with FPGA. Therefore, utilize FPGA field-programmable characteristic, after first function module being carried out hardware checking, and then realize ASIC chip and become a kind of fashion trend.
For each the function module realized, storer (Memory) is an essential part. Owing to the storer model in FPGA is different from the storer model in ASIC, therefore realizing FPGA and turn in ASIC design flow, the replacement of storer also becomes the work of a repeatability and necessity by emulation assurance function consistence. Along with the integrated level of circuit layout is more and more higher, the replacement work of storer is more and more various, therefore urgently needing to find a kind of efficient method and solve the replacement work realizing storer in process, assurance function consistence, makes a large amount of repetitive operation complete rapidly and accurately simultaneously.
Summary of the invention
Technical problem to be solved by this invention turns ASIC memory automatization replacement method at a kind of FPGA of offer.
For solving above-mentioned technical field, the technical solution used in the present invention is:
A kind of FPGA turns ASIC memory automatization replacement method, comprises following concrete steps:
Step 1: search FPGA storer model: search the source file calling FPGA storer model in hardware description language file;
Step 2: confirm type of memory: obtain storer model parameter from the source file of the described FPGA of calling storer model, determine type of memory according to described storer model parameter;
Step 3: associated objects technology library: target setting technology library can the path of execute file;
Step 4: storer model is replaced: calls the shell script corresponding with described FPGA type of memory and is replaced by described storer model;
Step 5: revise storer model alternative Process: according to the supplementary correction storer model alternative Process performing window display;
Step 6: export ASIC and substitute storer model;
Step 7: functional verification: the input port that identical Random Test Stimulus is loaded into storer model, by comparing whether Output rusults unanimously judges that whether replacement process is accurate.
In described step 6, during output file, port title and the described FPGA storer model of described replacement ASIC memory model are consistent, and the storer model of module title and FPGA is inconsistent, and naming rule is the form of FPGA model name+asic.
The useful effect adopting technique scheme to bring is:
1. the present invention can realize replacement that FPGA storer model conversion is ASIC memory model and checking work automatically, reduces cost of labor, it is to increase working efficiency;
2. the present invention is in the process of ASIC memory model in FPGA storer model conversion, it is possible to accurately complete the replacement of storer model, reduces the mistake that manual intervention is introduced.
Accompanying drawing explanation
Fig. 1 is the schema of the present invention.
Embodiment
Embodiment 1:
As shown in Figure 1, a kind of FPGA turns ASIC memory automatization replacement method, comprises following concrete steps:
Step 1: search FPGA storer model: search the source file calling FPGA storer model in hardware description language file;
Step 2: confirm type of memory: obtain storer model parameter from the source file of the described FPGA of calling storer model, determine type of memory according to described storer model parameter;
Step 3: associated objects technology library: target setting technology library can the path of execute file;
Step 4: storer model is replaced: calls the shell script corresponding with described FPGA type of memory and is replaced by described storer model;
Step 5: revise storer model alternative Process: according to the supplementary correction storer model alternative Process performing window display;
Step 6: export ASIC and substitute storer model;
Step 7: functional verification: the input port that identical Random Test Stimulus is loaded into storer model, by comparing whether Output rusults unanimously judges that whether replacement process is accurate.
In described step 6, during output file, port title and the described FPGA storer model of described replacement ASIC memory model are consistent, and the storer model of module title and FPGA is inconsistent, and naming rule is the form of FPGA model name+asic.
In the present embodiment, running script fpga2asicxx, xx is folder title, searches in hardware description language (HardwareDescriptionLanguage) file with the file calling FPGA storer model altsyncram character string.
Type of memory has three kinds: single port RAM (spram), two-port RAM (dpram) and ROM; When after the storer model file confirming FPGA, Automatically invoked fpga2asic.pl script, calculating address port and input data port number, and judge type of memory according to address port number and input port number: 1 address port, 0 input data port is ROM; 1 address port, 1 input data port is spram; 2 address ports, 2 input data ports are dpram.
As required, intended target technology library MemoryCompiler can the path of execute file, support the target process storehouse of Duo Jia technique manufacturer, various features size.
Difference according to type of memory, script fpga2asic.pl selectivity call dpram_gen.pl, spram_gen.pl, rom_gen.pl one of them, complete the replacement of FPGA storer model to target process storehouse memorizer model; In this process, script file is also by the storer model encapsulation crust of ASIC so that it is keep consistent with module name and the port name of code in FPGA, it is achieved the seamless replacement of storer model.
In this process, print supplementary and to help to understand and improve the replacement process of storer model by the current window that performs; As: do not have the storer model file will print error message under catalogue; For larger storer model, if Aspect Ratio is inharmonious, warning message will be printed and require adjustment Aspect Ratio, avoid that storer deformity situation occurs.
Except exporting the HDL code after encapsulating, also export lib, lef, cdl, gds and test and excitation (testbench) file of storer; ASIC memory model code after having replaced is unified to be placed in mem_gen_asic folder, and the storer model of module and port title and FPGA is consistent, as the HDL code of ASIC version; Simultaneously, ASIC memory model code after having replaced also will be put in mem_gen_sim folder, the storer model of port title and FPGA is consistent, the storer model of module title and FPGA is inconsistent, naming rule is the form of FPGA model name+asic, for distinguishing two kinds of storer models in step S7;
After output file completes, Automatically invoked func_sim script carries out simulating, verifying; In testbench file, identical Random Test Stimulus is loaded into the input port of storer model, judges that whether replacement process is accurate by comparing Output rusults; Function unanimously prints " TestPass ", and function is inconsistent then prints " TestFail ".
The present invention, by searching the mode of storer model keyword under catalogue, record storage title, type of memory, port information and size, judges type of memory according to acquisition address port numbers amount and input port number. Then invocation target storehouse MemoryCompiler software, by the Data Enter of record, generates corresponding ASIC memory model.
In processing of documents script, main use BASH and PERL language, it is possible to simultaneously realize the batch processing mode that multiple storer is replaced.
The foregoing is only a kind of enforcement mode specifically of the present invention. Protection scope of the present invention is not limited thereto, and any is familiar with those skilled in the art in the technical scope that the present invention discloses, the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.
Claims (2)
1. a FPGA turns ASIC memory automatization replacement method, it is characterised in that comprise the following steps:
Step 1: search FPGA storer model: search the source file calling FPGA storer model in hardware description language file;
Step 2: confirm type of memory: obtain storer model parameter from the source file of the described FPGA of calling storer model, determine type of memory according to described storer model parameter;
Step 3: associated objects technology library: target setting technology library can the path of execute file;
Step 4: storer model is replaced: call the shell script corresponding with described FPGA type of memory and described FPGA storer model is replaced for target process storehouse memorizer model;
Step 5: revise storer model alternative Process: according to the supplementary correction storer model alternative Process performing window display;
Step 6: export ASIC and substitute storer model;
Step 7: functional verification: the input port that identical Random Test Stimulus is loaded into storer model, by comparing whether Output rusults unanimously judges that whether replacement process is accurate.
2. a kind of FPGA according to claim 1 turns the method that ASIC memory automatization is replaced, it is characterized in that: in described step 6, during output file, port title and the described FPGA storer model of described replacement ASIC memory model are consistent, the storer model of module title and FPGA is inconsistent, and naming rule is the form of FPGA model name+asic.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511003139.2A CN105631127A (en) | 2015-12-28 | 2015-12-28 | Automatic replacing method for FPGA-to-ASIC memorizer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511003139.2A CN105631127A (en) | 2015-12-28 | 2015-12-28 | Automatic replacing method for FPGA-to-ASIC memorizer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105631127A true CN105631127A (en) | 2016-06-01 |
Family
ID=56046056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511003139.2A Pending CN105631127A (en) | 2015-12-28 | 2015-12-28 | Automatic replacing method for FPGA-to-ASIC memorizer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105631127A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111814416A (en) * | 2020-06-05 | 2020-10-23 | 上海赛昉科技有限公司 | Method for automatically converting ASIC memory into IP core of FPGA and readable medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101976582A (en) * | 2010-10-15 | 2011-02-16 | 北京航天测控技术开发公司 | Storage modeling method and device |
US20130311961A1 (en) * | 2002-07-08 | 2013-11-21 | Raminda Madurawe | Timing exact design conversions from fpga to asic |
CN104361171A (en) * | 2014-11-07 | 2015-02-18 | 中国科学院微电子研究所 | Processing method of ROM (Read-Only-Memory) technology mapping |
-
2015
- 2015-12-28 CN CN201511003139.2A patent/CN105631127A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130311961A1 (en) * | 2002-07-08 | 2013-11-21 | Raminda Madurawe | Timing exact design conversions from fpga to asic |
CN101976582A (en) * | 2010-10-15 | 2011-02-16 | 北京航天测控技术开发公司 | Storage modeling method and device |
CN104361171A (en) * | 2014-11-07 | 2015-02-18 | 中国科学院微电子研究所 | Processing method of ROM (Read-Only-Memory) technology mapping |
Non-Patent Citations (3)
Title |
---|
HEE KONG PHOON,MATTHEW YAP,CHUAN KHYE CHAI: "A Highly Compatible Architecture Design for Optimum FPGA to Structured-ASIC Migration", 《2006 IEEE INTERNATIONAL CONFERENCE ON SEMICONDUCTOR ELECTRONICS》 * |
M.HUTTON,R.YUAN,J.SCHLEICHER,G.BAECKLER,S.CHEUNG,KAR KENG CHUA: "A Methodology for FPGA to Structured-ASIC Synthesis and Verification", 《PROCEEDINGS OF THE DESIGN AUTOMATION & TEST IN EUROPE CONFERENCE》 * |
屈晓声,孙进平: "《EDA技术基础及实践》", 1 August 2015 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111814416A (en) * | 2020-06-05 | 2020-10-23 | 上海赛昉科技有限公司 | Method for automatically converting ASIC memory into IP core of FPGA and readable medium |
CN111814416B (en) * | 2020-06-05 | 2023-08-25 | 上海赛昉科技有限公司 | Method for automatically converting ASIC memory into IP core of FPGA and readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10354031B2 (en) | Information processing by interpenetrating signal transmission channel in design for testability of chip | |
CN103793565B (en) | Method for rapidly generating netlist | |
US8555234B2 (en) | Verification of soft error resilience | |
CN109165025A (en) | The offline method for burn-recording of chip, device, system, computer storage medium and equipment | |
CN102682166A (en) | SMT (Surface Mounted Technology) equipment rapid processing system and method | |
CN112364024B (en) | Control method and device for automatic comparison of table data in batches | |
CN102279816A (en) | LCD (liquid crystal display) automatic identification method and device | |
CN110968509A (en) | Method and system for batch customizing of variables | |
CN106021101A (en) | Method and device for testing mobile terminal | |
CN105279092A (en) | Software testing method and apparatus | |
CN115098139A (en) | Firmware updating method and system, lower computer and storage medium | |
CN112181522A (en) | Data processing method and device and electronic equipment | |
CN113407254B (en) | Form generation method and device, electronic equipment and storage medium | |
CN103745050A (en) | Pin mapping method and system | |
CN105631127A (en) | Automatic replacing method for FPGA-to-ASIC memorizer | |
CN111352641B (en) | Automatic packing method, apparatus, computer device and storage medium by batch processing | |
CN109976751B (en) | Model operation method, related device and computer readable storage medium | |
CN115617819B (en) | Data storage method, system, computer device and storage medium | |
US9791509B2 (en) | Monitoring microprocessor interface information for a preset service using an address based filter | |
CN108334313A (en) | Continuous integrating method, apparatus and code management system for large-scale SOC research and development | |
US20230055464A1 (en) | Drc test pattern generation method and apparatus, electronic device, and storage medium | |
CN102750167B (en) | Application program launching method, device and computer system | |
US20150055169A1 (en) | Extendable system for preprocessing print document and method for the same | |
CN109657317A (en) | A kind of method, system and the equipment of CPLD pin assignments | |
US20220013051A1 (en) | Chip pin connection status display method, computer device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160601 |
|
RJ01 | Rejection of invention patent application after publication |