Macro layout verification apparatus to detect error when connecting macro terminal in LSI design layout

A macro layout verification apparatus for verifying a layout of a macro to be placed as a functional block on a semiconductor device. The apparatus includes: a unit, which assumes as a virtual wiring line, a wiring line that uses an unused intra-macro channel located adjacent to an intra-macro wiring line; a unit which calculates a parallel wiring length along which the virtual wiring line and the intra-macro wiring line run; and a unit which outputs information concerning the virtual wiring line when the parallel wiring length exceeds a reference value defined as a design rule.

FIELD

Embodiments discussed herein are related to an apparatus for verifying the layout of a macro designed as a functional block in the development process of a semiconductor device, such as an LSI.

BACKGROUND

As depicted inFIG. 1, when designing an LSI (Large Scale Integrated) circuit, first the layout of a macro itself as a functional block is designed in accordance with design rules (step102). Next, the macro is placed on the LSI and inter-macro wiring is made (step104). Finally, the entire LSI and the layout of the macro on the LSI are verified (step106).

Since the layout within the macro is referred to when verifying the LSI layout, the amount of data to be handled increases, resulting in an increase in processing time. Further, macro terminals have to be connected on the LSI in order to place the macro on the LSI and make inter-macro wiring, but if there are not enough channels to connect the terminals, the macro cannot be placed and wired on the LSI.

Furthermore, even when the layout of the macro itself satisfies the design rules, there can occur cases where the relationship between the LSI wiring and the intra-macro wiring fails to satisfy the design rules when the macro is placed and wired on the LSI. For example, a rule violation associated with the parallel wiring of the LSI wiring and intra-macro wiring may be detected. In this way, problems that can occur due to interference between the layout within the macro and the LSI wiring when the macro is placed and wired on the LSI cannot be detected unless the macro is actually placed and wired on the LSI.

In designing the layout of the LSI, if an error occurs in the layout verification in relation to the intra-macro wiring, the intra-macro wiring cannot be modified without greatly affecting the design process. To address this, a method is employed that prohibits the use of wiring channels located adjacent to the intra-macro wiring during the LSI wiring so that the macro can be placed and wired on the LSI without having to be conscious of the layout within the macro. However, in designing the layout of the LSI, if the use of wiring channels located adjacent to the intra-macro wiring is prohibited, a problem occurs in that the number of channels available for use decreases, resulting in a degradation of wiring characteristics.

Patent document 1 cited below as a prior art document related to the present invention discloses an LSI design rule verification method wherein the verification of design rules is made by considering the hierarchy used in automatic layout. On the other hand, patent document 2 cited below discloses a functional macro design method that achieves connectivity having a high degree of wiring freedom without violating the design rules when connecting with other cells.Patent document 1: Japanese Unexamined Patent Publication No. H05-102307Patent document 2: Japanese Unexamined Patent Publication No. 2000-269341

SUMMARY

According to an aspect of the invention, a macro layout verification apparatus for verifying a layout of a macro to be placed as a functional block on a semiconductor device includes: a unit configured to assume as a virtual wiring line a wiring line that uses an unused intra-macro channel located adjacent to an intra-macro wiring line; a unit configured to calculate a parallel wiring length along which the virtual wiring line and the intra-macro wiring line run; and a unit configured to output information concerning the virtual wiring line when the parallel wiring length exceeds a reference value defined as a design rule.

DESCRIPTION OF EMBODIMENTS

Embodiments of the present invention will be explained with reference to the accompanying drawings.

FIG. 2is a block diagram depicting the hardware configuration of a macro layout verification apparatus according to one embodiment. As illustrated, the macro layout verification apparatus according to the present embodiment is implemented by running a macro layout verification program on a conventional workstation (WS) which comprises a computer main unit210having a central processing unit (CPU)212and a main storage (MS)214, a display220as an output device, a keyboard222as an input device, a mouse224as an input device, and a hard disk device230as an auxiliary (external) storage device.

FIG. 3is a schematic flow diagram of macro layout verification according to one embodiment. As depicted in the diagram, first the layout of a macro as a functional block is designed (step302). Next, the macro layout verification according to the present embodiment is performed (step304). Then, the macro is placed on the LSI and inter-macro wiring is made (step306).

As depicted inFIG. 3, in the macro layout verification (step304), macro layout information310, information312defining LSI wiring layers, wiring line widths, via contact geometry, etc., and design rules314are taken as inputs, and a verification result320on the macro itself and information322, such as information concerning wiring lines that can cause an error in the LSI design layout, are output. The verification result320on the macro itself is fed back to the design of the macro. On the other hand, the information322, such as the information concerning wiring lines that can cause an error in the LSI design layout, is used when placing and wiring the macro on the LSI. This serves to avoid an error that can occur after the placement and wiring, achieving a reduction in the number of layout steps. Furthermore, the wiring characteristics can be enhanced by making effective use of the wiring channels within the macro.

In the present embodiment, the first item of the macro layout verification concerns verifying the parallel wiring length at the time of LSI circuit wiring. When two wiring lines run in parallel in close proximity to each other, crosstalk noise can occur; therefore, in the layout rules, the maximum allowable length (parallel wiring length) along which two wiring lines run is defined according to the wiring line width, the spacing between the two wiring lines, etc. In the present embodiment, the verification of the parallel wiring length is performed to verify whether or not the layout within the macro satisfies the LSI layout rules when unused channels within the macro are used for the wiring of the LSI circuit.FIG. 4is a flowchart illustrating a procedure for verifying the parallel wiring length, andFIG. 5is a diagram depicting an example of how the parallel wiring length is verified.

First, information defining the wiring layers of the LSI circuit and the wiring line width used in each wiring layer is acquired from the layout conditions of the LSI circuit (step402). When a plurality of wiring layers are defined for the LSI circuit, information defining the plurality of wiring layers is acquired in advance. Further, when a plurality of wiring line widths are defined for the respective wiring layers, information defining the plurality of wiring line widths is acquired in advance.

Next, for each intra-macro wiring line, unused wiring channels in the LSI circuit that are located adjacent to that intra-macro wiring line are detected as virtual wiring channels, and a virtual wiring center line is set that interconnects the detected virtual wiring channels (step404). The unused wiring channels to be detected here are those that are formed in the same wiring layer as the wiring layer containing the intra-macro wiring line, that satisfy the spacing requirements of the intra-macro wiring, and that are closest to the intra-macro wiring line. For LSI fabrication reasons, a prescribed spacing must be provided between a metal forming a given intra-macro wiring line and a metal forming another intra-macro wiring line; therefore, spacing rules are defined that prohibit the use of channels located within the prescribed spacing distance from the boundary of the intra-macro wiring line, the spacing distance being determined according to the wiring line width.

In the example ofFIG. 5, virtual wiring center lines511,513, and515are set for the intra-macro wiring line500. Since channel520violates the spacing rules, no virtual wiring center line is set between the channels520and522. In step404, all the virtual wiring center lines (each defined by the wiring layer and the channels) that can be set for each intra-macro wiring line are acquired.

Next, from among the thus set virtual wiring center lines, one virtual wiring center line for assuming the virtual wiring line to be verified is extracted (step406). Then, the wiring line width information is retrieved that is used for the wiring layer in which the extracted virtual wiring center line is placed (step408). If there is a plurality of such wiring line width information, a given one of the plurality of pieces of wiring line width information is retrieved. Next, the wiring line width retrieved in step408is applied to the virtual wiring center line extracted in step406, and the resulting wiring line is assumed as the virtual wiring line to be verified (step410).

In the example ofFIG. 5, for the virtual wiring center lines511,513, and515, the wiring lines512,514, and516, each provided with a physical wiring line width, are assumed as the virtual wiring lines to be verified.

Next, the parallel wiring length is calculated that represents the length along which each virtual wiring line assumed in step410as the virtual wiring line to be verified runs in parallel with the intra-macro wiring line (step412). Then, it is determined whether or not the calculated parallel wiring length exceeds a specified value (reference value) defined in the design rules (step414).

If the calculated parallel wiring length exceeds the specified value, a report indicating the possibility of an error is output, and at the same time, the wiring layer, wiring line width, and channel information associated with that virtual wiring line is output as the information concerning the wiring line that can cause an error in the LSI circuit design layout, and the information is stored on the hard disk device230(FIG. 2) (step416).

Further, if the parallel wiring length exceeds the specified value, it is determined whether there is a channel one step farther away from the intra-macro wiring line than the channel in which the virtual wiring line has been assumed (step418); if there is such a channel, a virtual wiring line is set for that channel, and the process returns to step412.

In the example ofFIG. 5, if the virtual wiring line516, for example, is found to cause an error, it is determined whether there is a channel one step farther away from the intra-macro wiring line than the channels where the virtual wiring line516is placed. Since there are channels one step farther away, a virtual wiring line518interconnecting such channels is assumed, and it is verified whether or not the virtual wiring line518causes an error. If the virtual wiring line518causes an error, it is determined whether there is a channel located still farther away, and the process for verifying the virtual wiring line interconnecting such channels is repeated. Then, the conditions under which the virtual wiring line causes an error are stored. The virtual wiring line verification is repeated until there is no longer any error.

When the verification is completed for a given wiring line width, it is determined whether the verification is completed for all the wiring line widths (step422); if there is any wiring line width yet to be verified, the process returns to step408to retrieve the wiring line width information. Then, the virtual wiring line verification is performed based on the retrieved wiring line width.

When the verification is completed for all the wiring line widths for a given virtual wiring center line, it is determined whether the verification is completed for all the virtual wiring center lines (step424). If there is any virtual wiring center line yet to be verified, the process returns to step406to extract the virtual wiring center line information. Then, the virtual wiring line verification is performed for the extracted virtual wiring line. When the verification is completed for all the virtual wiring center lines, the routine is terminated.

In the present embodiment, the second item of the macro layout verification concerns verifying the connections of a macro terminal to via contacts. This verification is performed to verify whether or not the relationship between each via contact and the layout within the macro satisfies the layout rules when the via contact is placed on the macro terminal for the inter-macro wiring on the LSI circuit.FIG. 6is a flowchart illustrating a procedure for verifying the connections of a macro terminal to via contacts, andFIG. 7is a diagram depicting an example of how the connections of the macro terminal to via contacts are verified.

First, unused channels on the macro terminal are detected as feed channels (step602). In the example ofFIG. 7, it is assumed that feed channels702-1,702-2, and702-3, for example, are detected on the macro terminal700.

Next, assuming that via contacts are placed on all the feed channels, it is checked to see whether or not the spacing between each via contact and the intra-macro wiring line adjacent to it satisfies the design rules (step604). In the example ofFIG. 7, via contacts704-1,704-2, and704-3are assumed. Then, for each assumed via contact704, the spacing D from the intra-macro wiring line706adjacent to it is checked.

Next, the result of the check in step604is evaluated (step606). If it is determined that, for all of the assumed via contacts, the spacing D from the adjacent intra-macro wiring line is smaller than a reference value and thus violates the design rules, an error message to that effect is output and the information is stored on the hard disk device230(FIG. 2) (step608).

On the other hand, if it is determined that, for some of the assumed via contacts, the spacing from the adjacent intra-macro wiring line violates the rules, in other words, there are feed channels that do not cause an error, a warning message is output to the effect that an error can occur in the LSI circuit design layout, and the information is stored on the hard disk device230(step610).

If, for all of the assumed via contacts, the spacing from the adjacent intra-macro wiring line satisfies the design rules, i.e., if there is no error, the process is terminated without issuing any message.

In the present embodiment, the third item of the macro layout verification concerns verifying the feed channels of the macro terminal. This verification is performed to verify whether or not the macro contains an unused channel that can be brought out in a continuous fashion from the macro terminal to a designated wiring layer for the inter-macro wiring on the LSI circuit. The designated wiring layer here refers to the wiring layer where the destination macro terminal, to which signals from the macro terminal under verification are to be fed, is placed.

FIG. 8is a flowchart illustrating a procedure for verifying the feed channels of the macro terminal, andFIGS. 9A,9B, and9C are diagrams depicting an example of how the feed channels of the macro terminal are verified. Specifically, the example ofFIG. 9depicts the case where the designated wiring layer is located one layer above the wiring layer in which the macro terminal under verification is placed. For convenience, the wiring layer in which the macro terminal is placed is referred to as the lower layer, and the designated wiring layer as the upper layer; then,FIG. 9Ais a diagram depicting the wiring on the upper layer in a superimposed fashion on the wiring on the lower layer,FIG. 9Bis a diagram depicting the wiring on the lower layer, andFIG. 9Cis a diagram depicting the wiring on the upper layer.

First, the wiring layer containing the macro terminal is set as the target wiring layer, and channels covered by the macro terminal are detected (step802). Next, unused channels located in the vicinity of the detected channels are detected (step804).

In the example ofFIG. 9, the virtual wiring line902functions as the macro terminal. InFIG. 9A, a dashed line904and other dashed lines indicate the spacing provided around the wiring line. By carrying out the steps802and804, a total of 29 channels indicted by black dots inFIG. 10Aare detected for the macro terminal902depicted inFIG. 9.

Next, those channels that are located in the spacing belonging to other metal wiring lines are removed from the detected channels (step806).

In the example ofFIG. 9, six channels1006depicted inFIG. 10Bare removed as they are located in the spacing belonging to the metal wiring line906, and two channels1008depicted inFIG. 10Bare removed as they are located in the spacing belonging to the metal wiring line908. As a result, the number of detected channels is given as 29−6−2=21.

Next, those channels that cannot be brought out to the adjacent wiring layer on the designated wiring layer side are removed from the detected channels (step808). The channels that cannot be brought out to the adjacent wiring layer each refer to a channel that becomes connected to a metal wiring line on the adjacent wiring layer or runs into the spacing belonging to it when a connection is made from that channel to the adjacent wiring layer through a via contact.

In the example ofFIG. 9, four channels1020depicted inFIG. 10Care removed as they become connected to the metal wiring line920on the upper layer, and six channels1022depicted inFIG. 10Care removed as they become connected to the metal wiring line922on the upper layer or run into the spacing belonging to it. As a result, the number of detected channels is given as 21−4−6=11.

Next, it is determined whether the adjacent wiring layer is the designated wiring layer itself (step810). If it is not, the target wiring layer is shifted to the adjacent wiring layer (step812), and the process returns to step804, to repeat the above process based on the number of currently detected channels. On the other hand, if it is the designated wiring layer, the process proceeds to step814.

In the example ofFIG. 9, since the adjacent wiring layer is the designated wiring layer itself, the process proceeds to step814.

In step814, the number of currently detected channels is taken to represent the number N of channels that can be brought out to the designated wiring layer in a continuous fashion, and the value of N is evaluated. If the value of N is “0”, since signals cannot be fed from the macro terminal to the designated wiring layer within the macro, an error message to that effect is output and the information is stored on the hard disk device230(step816). If the value of N is not “0” but is smaller than a reference value R (for example, “10”), it is determined that signals may not be able to be fed to the designated wiring layer, so that an error message to that effect is output and the information is stored on the hard disk device230(step818). If the value of N is not smaller than the reference value R, the process is terminated without issuing any message.

In the example ofFIG. 9, since the value of N is “11”, and the reference value R is set to “10”, the process is terminated without issuing any message. Finally, in the example ofFIG. 9, it is determined for the macro terminal902that the channels indicated by X are the channels that cannot be brought out and that the channels indicated by ∘ (11 channels) are the channels that can be brought out.

According to the macro layout verification apparatus disclosed herein, since parallel wiring errors that can occur due to interference between the intra-macro wiring and the wiring (inter-macro wiring) to be made at the time of LSI layout design are detected in advance at the time of the macro layout verification, any error to be output at the time of the LSI layout verification can be predicted and avoided in advance, which serves to reduce the number of process steps required for the LSI layout design.

Furthermore, according to the macro layout verification apparatus disclosed herein, an error that can occur when connecting the macro terminal in the LSI design layout or the possibility of the occurrence of such an error can be detected in advance when designing the macro layout.