Power consumption calculating method
A power consumption calculating method comprises: generating operation information; obtaining functional block power consumption; and obtaining entire power consumption of an integrated circuit. The operation information indicates operation of a functional block. The operation information is generated based on a low-level circuit model by configuring the low-level circuit model from a behavioral-level circuit model describing the integrated circuit at a behavioral level. The behavioral-level circuit model has at least one functional block including the functional block. The low-level circuit model describes the integrated circuit at lower degree of abstraction than the behavioral level. The functional block power consumption is obtained as power consumption of the functional block based on the operation information and element power consumption as power consumption of element group constituting the functional block. The entire power consumption is obtained based on the functional block power consumption and number of times the functional block is executed in operation of the integrated circuit.
1 . A power consumption calculating method comprising:
generating operation information indicating operation of a functional block based on a low-level circuit model by configuring said low-level circuit model from a behavioral-level circuit model describing an integrated circuit at a behavioral level and having at least one functional block including said functional block wherein said low-level circuit model describes said integrated circuit at lower degree of abstraction than said behavioral level;
obtaining functional block power consumption as power consumption of said functional block based on said operation information and element power consumption as power consumption of element group constituting said functional block; and
obtaining entire power consumption of said integrated circuit based on said functional block power consumption and number of times said functional block is executed in operation of said integrated circuit.
2 . The power consumption calculating method according to claim 1 , wherein said generating said operation information includes:
generating said low-level circuit model by performing behavioral synthesis based on said integrated circuit model such that said low-level circuit model includes time information indicating required time of said operation of said functional block; and
generating said operation information based on said operation of said low-level circuit model at time units by executing a simulation of said low-level circuit model.
3 . The power consumption calculating method according to claim 2 , wherein said time information indicates total required time of said operation of said functional block, and
said low-level circuit model indicates said operation of said functional block at said time units in said total required time.
4 . The power consumption calculating method according to claim 1 , wherein said generating said operation information includes:
outputting control information indicating correspondence between said integrated circuit model and said low-level circuit model; and
generating said operation information based on said control information.
5 . The power consumption calculating method according to claim 1 , wherein said obtaining said functional block power consumption includes:
extracting number of times said element group operates in said operation of said functional block from said operation information; and
calculating said functional block power consumption based on said number and power consumption in a single operation of said element group.
6 . The power consumption calculating method according to claim 5 , wherein said element group include a plurality of resisters,
said functional block power consumption indicates a sum of a plurality of power consumptions of said plurality of resisters,
each of said plurality of said power consumptions indicates a product of a first power consumption and a first number,
said first power consumption is power consumption in a single operation of one of said plurality of resisters, and
said first number is number of times said one of said plurality of resisters operates.
7 . The power consumption calculating method according to claim 1 , wherein said obtaining said entire power consumption includes:
executing a simulation of said behavioral-level circuit model;
counting number of times said functional block is executed during executing said simulation; and
obtaining said entire power consumption based on a product of said number and said functional block power consumption.
8 . A computer-readable recording medium which records a program that when executed causes a computer to perform a method comprising:
generating operation information indicating operation of a functional block based on a low-level circuit model by configuring said low-level circuit model from a behavioral-level circuit model describing an integrated circuit at a behavioral level and having at least one functional block including said functional block wherein said low-level circuit model describes said integrated circuit at lower degree of abstraction than said behavioral level;
obtaining functional block power consumption as power consumption of said functional block based on said operation information and element power consumption as power consumption of element group constituting said functional block; and
obtaining entire power consumption of said integrated circuit based on said functional block power consumption and number of times said functional block is executed in operation of said integrated circuit.
9 . The computer-readable recording medium according to claim 8 , wherein said generating said operation information includes:
generating said low-level circuit model by performing behavioral synthesis based on said integrated circuit model such that said low-level circuit model includes time information indicating required time of said operation of said functional block; and
generating said operation information based on said operation of said low-level circuit model at time units by executing a simulation of said low-level circuit model.
10 . The computer-readable recording medium according to claim 9 , wherein said time information indicates total required time of said operation of said functional block, and
said low-level circuit model indicates said operation of said functional block at said time units in said total required time.
11 . The computer-readable recording medium according to claim 8 , wherein said generating said operation information includes:
outputting control information indicating correspondence between said integrated circuit model and said low-level circuit model; and
generating said operation information based on said control information.
12 . The computer-readable recording medium according to claim 8 , wherein said obtaining said functional block power consumption includes:
extracting number of times said element group operates in said operation of said functional block from said operation information; and
calculating said functional block power consumption based on said number and power consumption in a single operation of said element group.
13 . The computer-readable recording medium according to claim 12 , wherein said element group include a plurality of resisters,
said functional block power consumption indicates a sum of a plurality of power consumptions of said plurality of resisters,
each of said plurality of said power consumptions indicates a product of a first power consumption and a first number,
said first power consumption is power consumption in a single operation of one of said plurality of resisters, and
said first number is number of times said one of said plurality of resisters operates.
14 . The computer-readable recording medium according to claim 8 , wherein said obtaining said entire power consumption includes:
executing a simulation of said behavioral-level circuit model;
counting number of times said functional block is executed during executing said simulation; and
obtaining said entire power consumption based on a product of said number and said functional block power consumption.
15 . A library generating method comprising:
specifying a functional block as an object of generating a library from a plurality of functional blocks included in an integrated circuit model described at a behavioral level;
generating operation information indicating operation of said functional block based on a low-level intellectual property (IP) model by behavioral-synthesizing an intellectual property (IP) model including said functional block specified and by describing said low-level IP model including time information indicating required time of operation of said functional block at lower degree of abstraction than said behavioral level;
generating a functional block power calculation formula indicating power consumed in said functional block based on said operation information and a power calculation formula indicating power consumed in element group constituting said functional block; and
configuring said library by generating a functional block power calculation formula for each of said plurality of functional blocks.
16 . The library generating method according to claim 15 , wherein said time information indicates total required time of said operation of said functional block,
said low-level IP model indicates said operation of said functional block at time units in said total required time, and
said generating said operation information includes:
outputting control information indicating correspondence between said integrated circuit model and said low-level IP model; and
generating said operation information based on said control information and operation of said low-level IP model at time units obtained by executing a simulation of said low-level IP model.
17 . The library generating method according to claim 15 , wherein said generating said functional block power calculation formula includes:
extracting number of times said element group operates in said operation of said functional block from said operation information, and
generating said functional block power calculation formula based on said number and power consumption in a single operation of said element group.
18 . The library generating method according to claim 17 , wherein said element group includes a plurality of resisters,
said functional block power calculation formula indicates a sum of a plurality of power consumptions of said plurality of resisters,
each of said plurality of said power consumptions is a product of a first power consumption and a first number,
said first power consumption is power consumption in a single operation of one of said plurality of resisters, and
said first number is number of times said one of said plurality of resisters operates.