ANALOG-FUNCTION DESCRIPTION CREATION APPARATUS, ANALOG-FUNCTION DESCRIPTION CREATION METHOD AND STORAGE MEDIUM
20170262562 · 2017-09-14
Inventors
Cpc classification
G06F30/33
PHYSICS
International classification
Abstract
An analog-function description creation apparatus is provided with a design table generator to generate a design table to describe parameter information to be used in an analog-function description model to be designed, variable information specifiable by a user arbitrarily, input port information including a name of at least one input port, output port information including a name of at least one output port, and condition information from the input port to the output port, and an analog-function description creator to create the analog-function description model corresponding to the design table.
Claims
1. An analog-function description creation apparatus comprising: a design table generator to generate a design table to describe parameter information to be used in an analog-function description model to be designed, variable information specifiable by a user arbitrarily, input port information including a name of at least one input port, output port information including a name of at least one output port, and condition information from the input port to the output port; and an analog-function description creator to create the analog-function description model corresponding to the design table.
2. The analog-function description creation apparatus of claim 1 further comprising an analog-function description storage to store the analog-function description model created by the analog-function description creator.
3. The analog-function description creation apparatus of claim 1, wherein the design table comprises: a header part to describe identification information of at least the analog-function description model; a first description part to describe the parameter information; a second description part to describe the variable information; a third description part to describe the input port information; a fourth description part to describe the output port information; a fifth description part to describe the condition information; and an instruction part to instruct the analog-function description creator to create the analog-function description model with completion of description by the first to fifth description parts.
4. The analog-function description creation apparatus of claim 1, wherein the parameter information comprises a constant having an unchangeable value and a parameter for which a value is given from outside of the analog-function description creation apparatus.
5. The analog-function description creation apparatus of claim 1, wherein the variable information comprises at least either one of a variable having a variable value and an assignment expression for the variable.
6. The analog-function description creation apparatus of claim 1, wherein the input port information comprises a name of at least one input port, input impedance of a corresponding input port, and input physical quantity including at least either one of a voltage of and a current of the corresponding input port; and the output port information comprises a name of at least one output port, output impedance of a corresponding output port, and output physical quantity including at least either one of a voltage of and a current of the corresponding output port.
7. The analog-function description creation apparatus of claim 6, wherein the input impedance comprises at least either one of input resistance and input capacitance; and the output impedance comprises at least either one of output resistance and output capacitance.
8. The analog-function description creation apparatus of claim 1, wherein the condition information comprises at least either one of: function information for calculating at least either one of a voltage and a current each output from the output port using at least either one of a voltage and a current each input to the input port; and conditional branch information between at least either one of a voltage and a current each input to the input port and at least either one of a voltage and a current each output from the output port.
9. The analog-function description creation apparatus of claim 1, wherein, when an output port, having a name same as a name of at least one input port included in the input port information, is included in the output port information, the condition information corresponding to a port of the name defines a relationship between an input voltage and an output current or a relationship between an input current and an output voltage.
10. The analog-function description creation apparatus of claim 1, wherein the design table is a sheet form file formed by a spreadsheet.
11. An analog-function description creation method comprising: generating a design table to describe parameter information to be used in an analog-function description model to be designed, variable information specifiable by a user arbitrarily, input port information including a name of at least one input port, output port information including a name of at least one output port, and condition information from the input port to the output port; and creating the analog-function description model corresponding to the design table.
12. The analog-function description creation method of claim 11, wherein the analog-function description model created by an analog-function description creator is stored in an analog-function description storage.
13. The analog-function description creation method of claim 11, comprising in the design table: describing identification information of at least the analog-function description model in a header part; describing the parameter information in a first description part; describing the variable information in a second description part; describing the input port information in a third description part; describing the output port information in a fourth description part; describing the condition information in a fifth description part; and instructing creation of the analog-function description model with completion of description in the first to fifth description parts.
14. The analog-function description creation method of claim 11, wherein the parameter information comprises a constant having an unchangeable value and a parameter for which a value is given from outside of the analog-function description creation method.
15. The analog-function description creation method of claim 11, wherein the variable information comprises at least either one of a variable having a variable value and an assignment expression for the variable.
16. The analog-function description creation method of claim 11, wherein the input port information comprises a name of at least one input port, input impedance of a corresponding input port, and input physical quantity including at least either one of a voltage of and a current of the corresponding input port; and the output port information comprises a name of at least one output port, output impedance of a corresponding output port, and output physical quantity including at least either one of a voltage of and a current of the corresponding output port.
17. The analog-function description creation method of claim 16, wherein the input impedance comprises at least either one of input resistance and input capacitance; and the output impedance comprises at least either one of output resistance and output capacitance.
18. The analog-function description creation method of claim 11, wherein the condition information comprises at least either one of: function information for calculating at least either one of a voltage and a current each output from the output port using at least either one of a voltage and a current each input to the input port; and conditional branch information between at least either one of a voltage and a current each input to the input port and at least either one of a voltage and a current each output from the output port.
19. The analog-function description creation method of claim 11, wherein, when an output port, having a name same as a name of at least one input port included in the input port information, is included in the output port information, the condition information corresponding to a port of the name defines a relationship between an input voltage and an output current or a relationship between an input current and an output voltage.
20. A non-transitory computer readable storage medium storing a program for creating an analog-function description model, the program comprising: generating a design table to describe parameter information to be used in an analog-function description model to be designed, variable information specifiable by a user arbitrarily, input port information including a name of at least one input port, output port information including a name of at least one output port, and condition information from the input port to the output port; and creating the analog-function description model corresponding to the design table.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0005]
[0006]
[0007]
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
DETAILED DESCRIPTION
[0020] An analog-function description creation apparatus according to an embodiment is provided with a design table generator to generate a design table to describe parameter information to be used in an analog-function description model to be designed, variable information specifiable by a user arbitrarily, input port information including a name of at least one input port, output port information including a name of at least one output port, and condition information from the input port to the output port; and
[0021] an analog-function description creator to create the analog-function description model corresponding to the design table.
[0022] Embodiments will now be explained with reference to the accompanying drawings.
[0023]
[0024] The design table generator 2 forms a design table that describes parameter information included in an analog-function description model to be designed, variable information specifiable by a user arbitrarily, input port information including a name of at least one input port, output port information including a name of at least one output port, and condition information from the input port to the output port. The design table is data in sheet form that can be formed by a general spreadsheet, for example.
[0025] The design table storage 3 stores the design table formed by the design table generator 2. The design table is stored in the design table storage 3, as one file, for example. The design table storage 3 may not always be necessary.
[0026] The analog-function description creator 4 creates an analog-function description model corresponding to the design table formed by the design table generator 2.
[0027] The analog-function description storage 5 stores the analog-function description model created by the analog-function description creator 4. The analog-function description storage 5 may not always be necessary.
[0028] The analog-function description model created by the analog-function description creator 4 is sent to a simulator 6. The simulator 6 performs simulation for operation verification using the analog-function description model. If there are any failures in the analog-function description model as a result of the simulation by the simulator 6, the design table generator 2 corrects the design table, and then again the analog-function description creator 4 recreates the analog-function description model.
[0029] At least part of the operation of the analog-function description creation apparatus 1 of
[0030]
[0031] At least part of the design table generator 2, design table storage 3, analog-function description creator 4, and analog-function description storage 5 in the analog-function description creation apparatus 1 of
[0032] The design table 11 of
[0033] In the header part 12, information that identifies at least an analog-function description model is described. As an example, a file name of the analog-function description model, a module name of a circuit block corresponding to the analog function-description model, a name of a ground node, etc. are described.
[0034] In the parameter part 13, parameter information used in the analog-function description model is described. The parameter information includes constants having unchangeable values and parameters for which values are given from the outside of the analog-function description creation apparatus 1. The parameters for which values are given from the outside of the analog-function description creation apparatus 1 may change their values depending on conditions.
[0035] In the variable part 14, variable information is described. The variable information includes at least either one of a variable having a variable value and an assignment expression for the variable. When only the variable is declared, a variable declaration is created in analog function description. When the assignment expression for the variable is stated, the variable declaration is created in the analog function description and an assignment declaration for the variable is created, following to input-port equivalent circuitry. Depending on the object to be designed, the variable part 14 may not be present.
[0036] In the input port part 15, input port information is described. The input port information includes a name of at least one input port, input impedance of the corresponding input port, input physical quantity that includes at least either one of a voltage of and a current of the corresponding input port, etc. The input impedance is at least either one of input capacitance Cin and input resistance Rin.
[0037] In the output port part 16, output port information is described. The output port information includes a name of at least one output port, output impedance of the corresponding output port, output physical quantity that includes at least either one of a voltage of and a current of the corresponding output port, etc. The output impedance is at least either one of output capacitance Gout and output resistance Rout.
[0038] In the condition part 17, condition information from an input port to an output port is described. The condition information includes at least either one of function information and conditional branch information. The function information is information on a function for calculating at least either one of a voltage and a current each output from the output port using at least either one of a voltage and a current each input to the input port. The conditional branch information is information on conditional branch between at least either one of a voltage and a current each input to the input port and at least either one of a voltage and a current each output from the output port.
[0039] The instruction part 18 instructs the analog-function description creator 4 to create an analog-function description model with completion of description in the header part 12, the parameter part 13, the variable part 14, the input port part 15, the output port part 16, and the condition part 17, in the design table 11. The instruction part 18 is, for example, an input button operable by mouse click or human finger touch. A user operates the input button to create an analog-function description model in accordance with the design table 11.
[0040]
[0041]
[0042] Subsequently, it is checked whether the acquired design table 11 has an error (step S2). In step S2, it is determined that there is an error if the description in the design table 11 does not conform with a predetermined rule, if there is a logical contradiction in the description of the design table 11, etc. In step S2, if it is determined that there is no error, an analog-function description model corresponding to the design table 11 is created (step S3) and source codes of the created analog-function description model are output (step S4). The output of step S4 is, for example, stored in the analog-function description storage 5.
[0043] On the other hand, if it is determined in step S2 that there is an error, the error included in the design table 11 is identified (step S5), and an error report is formed and output (step S6). The output error report is, for example, displayed on a screen of a computer or printed out by a printer (not shown). The user checks the error report to correct the design table 11 using the design table generator 2.
[0044]
[0045] In the example of
[0046] Subsequently, based on input port information of the design table 11, description of input-port equivalent circuitry is created (step S16). Subsequently, a description of a cross event for specifying a time point setting at a delimiter of a value and a description of specifying an input value range are created (step S17).
[0047] Subsequently, a user's set sentence is inserted (step S18) and a description of a case sentence for expressing conditional branch is created (step S19). Subsequently, a description of output-port equivalent circuitry is created (step S20).
[0048] The order of performing steps S11 to S20 of
[0049] Subsequently, an example of operation to create an analog-function description model using the analog-function description creation apparatus 1 according to the present embodiment will be explained more specifically.
[0050]
[0051] In
[0052] The amplifier circuitry 21 of
[0053]
[0054]
[0055] In
Iamp=min[(VDD−Vb)/Rout,max{(VSS+Vb)/Rout,Gm×VIN}] (1)
[0056]
[0057] The first line of
[0058] The second line of
[0059] The third line of
[0060] The fourth line of
[0061] The fifth line of
[0062] Among the five lines in total of
[0063] As described above, with the conditions in the five lines in total of
[0064] The current IOUT flowing through the output port VOUT of the amplifier circuitry 21 of
where IS is a saturation current, with an elementary charge q=1.602×10.sup.−19 [C], Boltzmann constant Kb=1.381×10.sup.−23 [J/K], and a temperature T=300[K]. Id1 and Id2 are currents flowing through the protection diodes D1 and D2, respectively.
[0065]
[0066] In the header part 12 of the design table 11 of
[0067] In the parameter part 13 of the design table 11 of
[0068] There is no description in the variable part 14 of the design table 11 of
[0069] In the input port part 15 of the design table 11 of
[0070] In the output port part 16 of the design table 11 of
[0071] In the condition part 17 of the design table 11 of
[0072] The condition part 17 of
V=Kb×(273+T)/q×In(Id/Is+1) (3)
[0073] Accordingly, by defining both of voltage and current, such as the description of the output port VOUT of the condition part 17 in
[0074] When conditions of a plurality of lines are described in the condition part 17, as explained in the example of
[0075] When the design table generator 2 of
[0076] In the analog-function description models of
[0077] Specific description contents of the analog-function description model is not necessary be the same as those shown in
[0078] In the example of the design table 11 of
[0079] In the example of the amplifier circuit 21 of
[0080]
[0081] As described above, by changing the descriptions of the input port information and output port information in the design table 11 in accordance with the voltage and current characteristics of the input and output ports, the design table 11 having the voltage and current characteristics accurately reflected can be formed. Specifically, by including an output port, having the same name as the name of at least one input port included in input port information, in output port information and, as condition information corresponding to the port of this name, by defining the relationship between an input voltage and an output current or the relationship between an input current and an output voltage, a port having nonlinear voltage and current characteristics can be correctly defined.
[0082] As described above, in the present embodiment, since the design table 11, which includes information on analog circuitry to be designed, the information being parameter information, variable information, input port information, output port information, and condition information, is formed, from the design table 11, the analog-function description model can be automatically created. Accordingly, even with no knowledge of a detailed rule of the analog-function description model, the analog-function description model can be created. Therefore, without actually designing analog circuitry, simulation can be performed using the analog-function description model, which shortens the time required for simulation more than simulation using actual analog circuitry. Since the design table 11 can be formed with a general spreadsheet, even a circuit designer with no deep knowledge of the analog-function description model can create the analog-function description model easily and quickly, which reduces the number of design processes up to the creation of the analog-function description model.
[0083] While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel methods and systems described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the methods and systems described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
[0084] At least part of the analog-function description creation apparatus 1 explained in the embodiment may be configured with hardware or software. When it is configured with software, a program that performs at least part of the analog-function description creation apparatus 1 may be stored in a storage medium such as a flexible disk and CD-ROM, and then installed in a computer to run thereon. The storage medium may not be limited to a detachable one such as a magnetic disk and an optical disk but may be a standalone type such as a hard disk and a memory.
[0085] Moreover, a program that achieves the function of at least part of the analog-function description creation apparatus 1 may be distributed via a communication network a (including wireless communication) such as the Internet. The program may also be distributed via an online network such as the Internet or a wireless network, or stored in a storage medium and distributed under the condition that the program is encrypted, modulated or compressed.