Other objects, features and advantages of the embodiment will become more apparent from the following detailed description when read in conjunction with the accompanying drawings, in which:
In the following, an embodiment will be described with reference to the accompanying drawings.
A simulation system realizing a circuit design method according to the embodiment has a hardware configuration as shown in
In
The CPU 11 controls the simulation system 100 in accordance with a program stored in the memory unit 12. The memory unit 12 includes a RAM (Random Access Memory), a ROM (Read-Only Memory), and a like, and stores programs executed by the CPU 11, data necessary to be processed by the CPU 11, data acquired in an execution of CPU 11, and a like. Also, an area of the memory unit 12 is partially assigned as a work area which is used in a process of the CPU 11.
The display unit 13 is controlled by the CPU 11 to display various types of information. The output unit 14 includes a printer and a like, and is used to output various types of information in response to an instruction of a user. The input unit 15 includes a mouse, a keyboard, and a like, and is used for the user to input various types of information which are necessary for the CPU 11 to process.
The communication unit 16 is a unit which controls communications for the simulation system 100 through a network such as the Internet, a LAN (Local Area Network), or a like.
The storage unit 17 includes a hard disk unit, and stores programs and data to perform various processes.
For example, a program realizing a process conducted by the simulation system 100 in the circuit design method is provided by a recording medium 19 such as a CD-ROM (Compact Disk Read-Only Memory) or a like. That is, when the recording medium 19 storing the program is inserted into the driver 18, the driver 18 reads out the program from the recording medium 18, and the program is installed to the storage unit 17 via the system bus B. After that, when the program is executed, the CPU 11 starts the process in accordance with the program being stored in the storage unit 17.
It is noted that a medium for storing the program is not limited to the CD-ROM but may be any computer-readable recording medium. The program realizing the process in the circuit design method according to the embodiment may be downloaded through a network by the communication unit 16, and may be installed to the storage unit 17. Also, in a case in which the simulation system 100 includes an interface such as a USB (Universal Serial Bus) for connecting an external recording medium, the program may be read from the external recording medium by a USB connection.
The circuit design method conducted by the CPU 11, in which the power to be consumed is calculated considering the IR-drop, will be described with reference to
In
The CPU 11 calculates power to be consumed for each cell and total power to be consumed in the entire chip (step S23), and analyzes a power supply network by using the power consumed for each cell and a resistance network of power supply (step S24). In step S23, a voltage which is set beforehand is used when the repeat process is conducted at a first time, and a voltage which is defined in step S26-4 is used when the repeat process is conducted at a second time or later, so as to calculate the power for each cell and the total power to be consumed in the entire chip.
Next, the CPU 11 calculates the IR-drop for each cell based on a length of a power supply terminal acquired from a result of the calculated power and the analysis of the power supply network in the step S23. The CPU 11 calculates power decreased due to the IR-drop by using the calculated IR-drop and sets as an IR-drop to use (step S25).
After that, the CPU 11 determines whether or not the repeat process is conducted at the first time, by referring to values stored in the specific cell storage area 32 (step S26). When the specific cell storage area 32 is initialized, the CPU 11 determines that it is the first time. On the other hand, when the specific cell storage area 32 stores the cell identification information, the CPU 11 determines that it is not the first time.
In step S26, when the repeat process is conducted for the first time, the CPU 11 specifies a greatest IR-drop value, which indicates a voltage when the IR-drop-occurs at the greatest difference from the IR-drop value for each cell calculated in the step S25, specifies a cell which causes the greatest IR-drop, and sets the specified cell to the specific cell storage area 32 (step S26-2).
Subsequently, the CPU 11 defines a voltage after the IR-drop for each cell, by using the IR-drop value for each cell calculated in the step S25 (step S26-4). After that, the CPU 11 goes back to the step S23 to repeat the above-described process.
On the other hand, in the step S26, when the repeat process is conducted for the second time or more, the CPU 11 determines whether or not a difference between a current IR-drop value of the cell specified in the step S26-2 and the previous IR-drop value is equal to or less than a predetermined value, by referring to the specific cell storage area 32 (step S27). For example, the predetermined value may be set as one percent of the previous IR-drop.
In the step S27, when the difference is not more than the predetermined value, the CPU 11 advances to the step S26-4 to repeat the above-described process.
On the other hand, in the step S27, when the difference is equal to or less than the predetermined value, the CPU 11 conducts the delay calculation and the timing analysis considering the IR-drop (step S28). After the delay calculation and the timing analysis, the IR-drop value for each cell is used as a voltage value.
The CPU 11 determines whether or not there is an error, based on the analysis result (step S29). When there is an error, the CPU 11 modifies a layout by changing the layout data 31 (step S29-2), and goes back to the step S21 to repeat the above-described process. On the other hand, when there is not an error, the CPU 11 terminates the circuit design process.
In the step S25 in the above-described circuit design process, the power consumed due to the previous IR-drop value is used to calculate the current IR-drop value.
For a determination process in the step S27, the predetermined value to be compared may be set by a user so as that a count of the repeat process is restricted within a count considering a TAT (Turn Around Time).
Next, a data structure developed in a storage area by the repeat process will be described.
For example, when one voltage is defined as an initial voltage for each of cells, by the step S23 through the step S25 in
In the step S26-4 in
As a result of the second repeat in the storage area, values of the voltage item, the power item, and the IR-drop are stored similar to the first repeat. For example, in
For example, in a case in which the predetermined value to be compared in the step S27 in
In the step S26-4 in
As a result of the third repeat, values of the voltage item, the power consumption item, the IR-drop item are stored in the storage area for each cell, similar to the first and second repeats. For example, as shown in
A difference between the IR-drop values at the third repeat and the second repeat for the cell identification information “cell B” is 0.05 voltage. In the step S27, it is determined that the IR-drop value at the third repeat is less than the IR-drop value at the second repeat. Accordingly, the repeat process is not continued and the step S28 is conducted.
As described above, the IR-drop value is calculated every time the repeat process is conducted, the power consumption is calculated considering the IR-drop. Therefore, it is possible to acquire more accurate values which are closer to values at a practical circuit operation.
Referring to
In the circuit design method according to the embodiment, a cell of which the IR-drop is the greatest in other cells is specified and a convergence of the IR-drop is determined for the cell having the greatest IR-drop every time the repeat process is conducted. Accordingly, it is possible to determine a more precise voltage range to be guaranteed and it is possible to acquire more accurate power consumption. Therefore, it is not required to guarantee more than necessary and it is possible to properly conduct the circuit design.
According to the aforementioned embodiment, it is possible to calculate the power consumption considering the IR-drop.
Alternatively, the circuit design method can be realized by a program product for causing a computer to perform the above-described step, a computer-readable recording medium recorded with a computer program for causing the computer to perform the above-described step, and a simulation system concerning a circuit design for performing the above-described step.
The present invention is not limited to the specifically disclosed embodiments, and variations and modifications may be made without departing from the scope of the embodiment.
Number | Date | Country | Kind |
---|---|---|---|
2006-261070 | Sep 2006 | JP | national |