Embodiment
Below in conjunction with drawings and Examples the present invention is described in further detail.Shown in Fig. 1-1, Fig. 1-2 and Fig. 1-3, in the method for the present invention, the setting of small grain size macrocell GCELL, on P type silicon substrate P-sub, set up N channel metal-oxide-semiconductor field NMOS, and set up P channel metal-oxide-semiconductor field PMOS in N well region N-well the inside, drain terminal D, source end S, the grid G of NMOS pipe and PMOS pipe are all unsettled, and the CELL length and width are the integral multiple of grid (is the grid of unit with minimum wiring spacing pitch).PMOS pipe, NMOS pipe are connected with other circuit parts in the external world by leakage D, source S, grid G on the circuit structure, to realize complete circuit; On the physical structure, polysilicon poly, high concentration P type ion doped region P
+District and high concentration N type ion doped region N
+The district is connected with outside other circuit parts by ohmic contact contact, through hole via, metal connecting line metal, and concrete annexation is determined by its driving force and function.
As shown in Figure 2, in the method for the present invention, some small grain size macrocell GCELL is set obtains cell library, may further comprise the steps: one, according to the logic function of standard cell needs realization and the Capability Requirement of driving load thereof, determine the number of desired small grain size macrocell GCELL, be generally several to dozens of; Two, determine the inside annexation of small grain size macrocell GCELL circuit, the annexation between the macrocell to realize required logic, obtains element circuit structure storehouse and unit symbol storehouse; Three, according to circuit connecting relation, on physical structure, realize connecting, obtain the standard cell of cell library, obtain the domain storehouse.Standard cell: generally preestablish and provide, adopt full customization mode to be provided with, have the various basic logic functions modules of equal altitudes by technology manufacturer.These functional modules can realize various basic logic functions, and can realize the logic of any complexity in theory by combination.As inverter INV, buffer BUFFER, with door, or door, AND, trigger, latch, triple gate etc.Four, use the logic parameter extracting tool, the circuit performance parameters storehouse of extracting standard cell, i.e. logic parameter storehouse; Wherein also comprised the functional description storehouse.Five, obtain design rule and device parameter storehouse from technology manufacturer, thereby set up complete cell library; Comprise the required unit symbol of integrated circuit (IC) design storehouse, element circuit structure storehouse, domain storehouse, circuit performance parameters storehouse, functional description storehouse, design rule and device parameter storehouse.
Be that example specifies wiring method with the driving force inverter INVX1 of unit, 2 times of driving force inverter INVX2 respectively below, the standard cell that this method obtains is compared with standard cell in the traditional handicraft storehouse, physical structure is neat, and the various standard cells in the standard cell lib all can be decomposed into the GCELL of some at poly, active, N-Well layer.
Shown in Fig. 3-1,, realize the wiring process of INVX1 by small grain size macrocell GCELL is set.INVX1 is a unit driving force inverter, only needs 1 small grain size macrocell GCELL just can realize.Unit driving force inverter need link to each other source end S ground connection, the PMOS pipe that the source end S of PMOS pipe is connected to power supply, NMOS pipe with the drain terminal D of NMOS pipe, PMOS manages and links to each other with the grid G of NMOS pipe, just can obtain inverter, grid G is exported as input, drain terminal D, realized inverter and outside being connected.
Shown in Fig. 3-2, after the connection that the unit's of finishing driving force inverter circuit is provided with, in the kit virtuoso of Kai Dengsi cadence company, finish the connection of physical structure.Ohmic contact contact is abbreviated as CT in the unit driving force inverter physical structure, ground floor metal metal1 is abbreviated as M1, corresponding annexation:
1, the source end S of PMOS is connected to power supply: one of them P of PMOS pipe
+Link to each other with power supply by CT, M1;
2, the source end S ground connection of NMOS pipe: one of them N of NMOS pipe
+Link to each other with power supply by CT, M1;
3, the PMOS pipe links to each other with the drain terminal D of NMOS pipe: another P of PMOS
+Another N with NMOS
+Link to each other by CT, M1;
4, the PMOS pipe links to each other with the grid G of NMOS pipe: the PMOS pipe links to each other by CT, M1 with the grid G of NMOS pipe.
Shown in Fig. 4-1,, realize the wiring process of INVX2 by programming small grain size macrocell GCELL.INVX2 is 2 times of driving force inverters, can by and meet two small grain size macrocell GCELL and realize.2 times of driving force inverters need earlier two small grain size macrocell GCELL to be embodied as INVX1 respectively, link to each other the input of two INVX1, export continuous then, be specially: source end S ground connection, all PMOS pipe that the source end S of PMOS pipe is connected to power supply, NMOS pipe links to each other with the drain terminal D of NMOS pipe, all PMOS manage and link to each other with the grid G of NMOS pipe, grid G is exported as input, drain terminal D, realized inverter and outside being connected.
Shown in Fig. 4-2, after finishing 2 times of driving force inverter circuits connections, in the kit virtuoso of Kai Dengsi cadence company, finish the connection of physical structure.CT is that contact, M1 are metal1 in 2 times of driving force inverter physical structures, and corresponding annexation is as follows:
1, the source end S of PMOS pipe is connected to power supply: one of them P of PMOS pipe
+Link to each other with power supply by CT, M1;
2, the source end S ground connection of NMOS pipe: one of them N of NMOS pipe
+Link to each other with power supply by CT, M1;
3, the PMOS pipe links to each other with the drain terminal D of NMOS pipe: another P of all PMOS pipes
+Another N with the NMOS pipe
+Link to each other by CT, M1; G1 realizes that by V1, M2 drain terminal D links to each other with G2;
4, the PMOS pipe links to each other with the grid G of NMOS pipe: all PMOS pipes link to each other by CT, M1 with the grid G of NMOS pipe; G1 realizes that by V1, M2 grid G links to each other with G2.
After the circuit structure storehouse of having set up standard cell and domain storehouse, use Library Construction Kit [Microsoft FoxPro], as the logic parameter storehouse that library software siliconsmart obtains standard cell of building of MAGMA company, and then set up complete standard cell lib.
As shown in Figure 5, prior art ASIC is provided with and manufacture method, may further comprise the steps: one, application-specific integrated circuit (ASIC) setting and emulation: the concrete function that will realize according to circuit, with hardware setting language register transfer and design language RTL code description hardware effort process, and carry out code emulation; Two, application-specific integrated circuit (ASIC) comprehensively reaches emulation: comprehensively be meant and use the electric design automation eda tool, the RTL code is become the process of the domain of representing bottom side circuit physical connection structure, use synthesis tool, logic synthesis tool Design Compiler (DC) as new think of Synopsys, the RTL code is carried out comprehensively, and the net table that comprehensive back is produced carries out emulation; Net table: describe the file of whole logic in the circuit level, wherein transistor kind, size, the interconnection situation used have been made concrete description, can be by identifications such as emulation tools; Emulation: in computer, utilize software environment, the ruuning situation of simulation side circuit; Three, placement-and-routing and emulation: use placement-and-routing's instrument, the instrument ENCOUNTER of placement-and-routing as Kai Dengsi Cadance company, net table after calling comprehensively carries out placement-and-routing, on physical layer, each circuit part is arranged in place, spatially rationally arrange various lines, and the net table that produces carried out emulation, technology manufacturer manufactures to can directly giving of producing, and represents the graphics description file domain of side circuit physical structure to be Design Rule Checking DRC (Design Ruler Check), domain and logical circuit consistency check LVS (LayoutVS Schematic); Four, chip light shield and production: finish the production and the flow of whole masks; Five, chip testing: chip is tested.
Prior art adopt the ASIC wiring of standard cell design to have the problem of the following aspects and the production that can not realize master slice in advance to save cost: 1, each standard logical unit of standard cell lib technology library that is used for designing that is provided by technology factory is at poly, P
+/ N
+Physical layer enough not regular so that it can be split as the granule of same structure; 2, in above-mentioned steps three, except that the specific design project needs, without any restriction, each macrocell SRAM SRAM, phase-locked loop pll particular location do not have any restriction on the space yet in concrete locus in the placement-and-routing zone on whole chips; 3, in above-mentioned steps four, whenever finish and arrange a new integrated circuit project, need produce whole masks again, also need to finish all processes of flow, as injecting N-Well, growth Poly.
As shown in Figure 6, the structured ASIC implementation method based on the small grain size macrocell of the present invention based on the structuring realization of small grain size macrocell, is divided into time production of master slice setting and general layer, special chip setting and rest layers time production.General level is meant the confirmable physical level of being determined by the bottom domain to realizing that different chips all are suitable for; The residue level is meant in order to finish the production of complete chip, the level that also need continue to produce on general layer.
Time production of master slice setting and general layer may further comprise the steps: one, small grain size macrocell GCELL is set, as shown in Figure 1, is made up of a PMOS pipe and a NMOS pipe, length and width are the integral multiple of grid; Two, cell library is set, shown in Fig. 2, Fig. 3-1, Fig. 3-2, Fig. 4-1 and 4-2, all standard logical units are programmed by metal wire by small grain size macrocell GCELL in the cell library, arrange that suitable line builds; Three, the array of being made up of small grain size macrocell GCELL is set, on master slice, marks off the zone that needs scale (as the 50W door), the horizontal vertical both direction GCELL unit that gathers; Four, other required general utility functions modules that realized of circuit are set, it is structurized module, comprise input-output unit IO, SRAM SRAM, phase-locked loop pll, required various intellectual property macroblocks, and set up the comprehensive storehouse of general utility functions module; Five, physical layer pre-layout is carried out physically arrangement with the position of each type of structured unit by structure, integrated mode and combined density; Six, prewiring aspect physical structure, carries out manual wiring to the line of determining, for connecting with metal wire inner the connection in advance of clear and definite power supply, interconnection resource and unit; Seven, preceding road light shield and production are transferred to the manufacturer with fixed circuit bottom domain and are produced, and produce master slice.
Time production of special chip setting and rest layers may further comprise the steps: one, the special chip logic is provided with, the setting of logical circuit and emulation, the checking of function sequential.Special chip logic herein is provided with, and is the chip setting of complete circuit function, comprises general module and variable logic.Two, use eda tool to carry out the comprehensive of special chip, it becomes the variable logic circuit synthesis by the circuit that the unit connected in the standard cell lib, and general module is corresponded to corresponding module in the comprehensive storehouse of general module; And gate leve checking.Three, back wiring, net table that obtains after comprehensive and constraint are handled through mapping, both used assistant software, the unit that comprehensively obtains is corresponded to standard cell in the cell library, again placement-and-routing's information of master slice is imported layout tool layout together, finish the placement-and-routing of physical structure.Four, special chip is produced in road light shield and production behind the chip.Five, chip testing.
As shown in Figure 7, the back wiring may further comprise the steps: one, special chip net table and the mapping of constraint process that is provided with according to customer requirements, merge the practical layout wiring information of master slice, the net table is made specific aim revise, at the new net table and the constraint of net table generation of actual master slice; Constraint is mainly position constraint, tells which space of wiring tool to have the unit, can not be used for connecting up; And the device resource that provides on the various actual master slice of not using in user's design comprises the SRAM that does not use, PLL, and IP, PAD etc. are supplied it by tool software, even user's part net table extends to the complete net table on the actual master slice; Two, be the logical block of basic building owing to having adopted with GCELL in the net table, new net table in order to prevent dislocation, is provided with the integral multiple that cell gap is the GCELL width, placement-and-routing under the support of cell library; Three, do not use in the domain that the user comprehensively obtains, but exist the place of GCELL to fill small grain size macrocell GCELL on the actual master slice, domain that obtains and actual master slice correspondence produce domain.
Structured ASIC implementation method based on the small grain size macrocell of the present invention, compare based on the ASIC design of standard cell with prior art, main difference is that prior art ASIC is resolved into twice based on the light shield in the ASIC of the standard cell design to be finished, and its characteristics are: 1, in the cell library each unit at poly, P
+/ N
+Physical layer regular structure is arranged, can resolve into the granule of same structure; 2, the contrast prior art is based on the ASIC design procedure three of standard cell, except that project needs, the placement-and-routing zone is spatially restricted, each macrocell, as SRAM, PLL, particular location is also restricted, because defined the particular location of placement-and-routing zone and each macrocell on the master slice; 3, a new special chip is produced in each design, only need to produce again the mask of layers such as contact, Via, Metal, and the operation that master slice has been finished is omitted, and can directly continue to produce on the basis of master slice, can save cost, the shortening construction cycle of part mask and operation.
Present other structured ASIC implementation method compared to existing technology, the main distinction is that other structured ASIC generally adopts coarse granule (approximately also will comprise 3-4 gate circuit in the most fine grain logic module, great majority then are 20-40 gate circuit), the mode of look-up table is so that by the quick conversion of FPGA to ASIC; It realizes that density is lower, and needs special design tool and flow process.And the present invention has adopted short grained macrocell, can realize higher functional density, and compatible tradition is based on the IC design cycle and the eda tool of standard cell, various IC design experiences before can utilizing, higher reliability is arranged, and save tool software cost and manpower learning cost again.
Structured gate array technology compared to existing technology, the present invention has adopted Structured Design, and has partly adopted the mode of sea of gates at variable logic; But the wiring of structured gate array adopts CAD (computer-aided design) software to carry out, can only be communicated with each several part and can not sequential be optimized, can not make full use of present various advanced persons' EDA wiring tool, be difficult to realize chip functions, be on the verge of to be eliminated in the wiring step.The present invention is then by setting up based on the small grain size macrocell, complete standard cell lib, and the control by when wiring, each standard cell that comprehensively obtains is mapped on each small grain size macrocell of master slice just, thereby compatible ASIC design cycle and various corresponding tool software based on standard cell, realize the wiring process that temporal constraint drives, its wiring is optimized very much, can well realize chip functions.
Embodiment, as Fig. 8 and shown in Figure 9, present embodiment is at the instrument ENCOUTER of Cadance placement-and-routing environment, file designation: master slice associated documents called after asic.xxx, special chip associated documents called after fifo.xxx, the file designation that back wiring mapping produces is eda.xxx.
Step 1: the structuring unit is provided with, various IP is provided with.Master slice concrete application under the main consideration certain scale is set, accomplish to satisfy the most of demand under this kind scale as far as possible.This is provided with scale is the 50W gate, and the SRAM and the PLL of configuration some.
Resource: comprise small grain size macrocell GCELL array, SRAM, PLL, four parts of I0, wherein 4 PLL, 264kbit dual-port SRAM, 160 two-way IO, 20 couples of VDD/GND.
The door number:
Die size core size 4200 * 4200um * um=17.6mm * mm
Static memory sram 1213.7 * 907.9 * 4um * um=4.4mm * mm
250.5×216.7×32um×um=1.7mm×mm
Phase-locked loop pll 621 * 265 * 4um * um=0.7mm * mm
Macrocell gcell (17.6-4.4-1.7-0.7)/(5.22 * 1.74 * 10e-6)=1.19 * 10e6
So according to 85% utilance, master slice can provide 100W small grain size macrocell GCELL, i.e. 50W door.
Arrange: as shown in Figure 8, PLL splits four corners, and SRAM is symmetrically distributed, and VDD/GND distributes according to current driving ability.
Step 2: pre-layout wiring:
(1), analyzes layout macrocell position, small grain size macrocell GCELL array region in ENCOUNTER by the master slice designer according to step 1;
(2) on the domain of master slice, finish being connected of VDD/GNDPAD and power ring;
(3) use ENCOUNTER to derive physical layout information asic.pdef.The concrete operations language is: Design->Save->PDEF;
(4) fill small grain size macrocell GCELL, derive GDS.The concrete operations language is: Design->Save->GDS.
Step 3: master slice preceding road light shield and production:
(1) submits to GDS to give mask factory, finish and determine N-Well, Active, P
+/ N
+, the needed mask of Poly layer;
(2) submit the mask manufacturer to, finish N-Well, Active, P
+/ N
+, the needed operation of Poly layer;
(3) preserve the silicon chip of finishing the part operation in the step (2).
Step 4: special chip setting and emulation, finish the setting of FIFO:
(1) determines the designing requirement SPEC of special chip;
(2) algorithm is set;
(3) write code;
(4) use Modelsim/NC verilog emulation.
Step 5: special chip comprehensively reaches emulation:
(1) integrated environment is set;
(2) write comprehensive constraint;
(3) call Design Compile and carry out comprehensively, and produce net table (.v), constraint (.sdc) and time-delay file (.sdf);
(4) use Modelsim/NC verilog emulation, and reactionary slogan, anti-communist poster delayed data SDF.
Step 6: the back wiring, earlier the information of the information of master slice and special chip is merged, tool using software produces new net table, placement-and-routing's information, controls the LAYOUT instrument then and finishes placement-and-routing.
(1) net table mapping (.v); In the top layer of fifo_pad.v additional untapped PAD, SRAM, PLL module, generate new net table eda.v;
(2) placement-and-routing's information (.pdef) according to the call level of special chip to SRAM, is revised the path of SRAM among the asic.pdef, generates the new information eda.pdef of placement-and-routing.
(3) as shown in Figure 9, net table eda.v is read in placement-and-routing, and calls in the information eda.pdef of placement-and-routing, finishes layout cloth;
(4) fill small grain size macrocell GCELL, and derive GDS.
Step 7: back road light shield and production:
(1) submits to GDS to give mask factory, finish and determine Contact, Via, the needed mask of Metal layer;
(2) submit mask to, on the master slice basis, finish Contact, Via, the needed operation of Metal layer;
(3) obtain special chip.
Step 8: test, chip is tested.
Promptly finish total ASIC setting up procedure.
Method embodiment of the present invention is based on layout layout instrument placement-and-routing the time, and standard cell all is to be arranged on the grid point, if: (1) all standard cells all can cut into the minimum unit of same structure level; (2) the minimum unit length and width are the grid integral multiple; (3) the standard unit interval is the minimum unit integral multiple during placement-and-routing; Then behind placement-and-routing, filling minimum unit, can on the grid in placement-and-routing zone, form compact arranged minimum unit array.Therefore, based on the result of placement-and-routing of said method, most of physical layer can be general in the different product exploitation.
Above-mentioned minimum unit is defined as the small grain size macrocell in the method for the present invention, is designated as GCELL.It is made up of a NMOS pipe and a PMOS pipe, and the drain-source grid are all unsettled.Length and width all are the integral multiples of grid.Its poly, P
+/ N
+Layer is connected with outside the realization by contact, via, metal.
All standard cells all are the small grain size macrocell GCELL by some in the cell library, obtain different driving, difference in functionality by programming contact, via, metal.Because each standard cell is by integer transversely arranged forming of small grain size macrocell GCELL, and the length and width of small grain size macrocell GCELL all are the integral multiples of grid, therefore, the length and width of each standard cell also are the integral multiples of grid.They are connected with outside the realization by via, metal.
The support of cell library has been arranged, when placement-and-routing,, revises by technical papers as long as being carried out part, the integral multiple that is spaced apart small grain size macrocell GCELL between the standard cell, after placement-and-routing is intact, fill small grain size macrocell GCELL, form a small grain size macrocell GCELL and closely arrange the array that forms, additional contact, via, metal just can get the specific product that needs to the end.If the placement-and-routing zone is certain, in any case operation, the small grain size macrocell GCELL array of Huo Deing is in full accord at last.
Method of the present invention utilizes the structuring of small grain size macrocell to realize ASIC, and the application-specific integrated circuit (ASIC) product is resolved into two stages: be provided with and produce general level, promptly be provided with and produce master slice earlier; At certain concrete setting, under the support of cell library, finish comprehensive and automatic placement and routing, obtain contact, via, the metal layer of special chip, light shield and production on the basis of master slice obtain special chip.The master slice setting comprises (1) small grain size macrocell GCELL array, (2) phase-locked loop pll/AD conversion unit ADC analog module setting, the setting of (3) SRAM memory module, (4) PAD, promptly all confirmable parts can be included in during master slice is provided with, and can produce the physical layer that GCELL determines in advance.Wiring after the setting of dedicated IC chip is finished, concrete operation method is that master slice information is called in layout (layout) instrument, placement-and-routing is finished in the constrained layout zone.
As shown in figure 10, aspect physics, it is that coordinate carries out that the setting of actual domain is based on the network lattice point, and the unit of network lattice point is decided by the wire distribution distance pitch of technology decision.Among the last figure, two wire frames are two parallel metal connecting lines, and its width is determined by technology; Need to satisfy the minimum spacing that rule request is set between two metal line, so in order to realize correct wiring, the center line of two metal line needs the width at a distance of a pitch.This point is identical with whole standard cell ASIC design cycle.The following metal wire of layer 6 metal uses identical pitch, and the layer 6 metal wire uses 2 times pitch.