+

CN112765933A - Integrated circuit design method based on population optimization algorithm - Google Patents

Integrated circuit design method based on population optimization algorithm Download PDF

Info

Publication number
CN112765933A
CN112765933A CN202110126619.7A CN202110126619A CN112765933A CN 112765933 A CN112765933 A CN 112765933A CN 202110126619 A CN202110126619 A CN 202110126619A CN 112765933 A CN112765933 A CN 112765933A
Authority
CN
China
Prior art keywords
integrated circuit
optimization algorithm
design parameters
neural network
network model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110126619.7A
Other languages
Chinese (zh)
Other versions
CN112765933B (en
Inventor
谌东东
李迪
杨银堂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xidian University
Original Assignee
Xidian University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xidian University filed Critical Xidian University
Priority to CN202110126619.7A priority Critical patent/CN112765933B/en
Publication of CN112765933A publication Critical patent/CN112765933A/en
Application granted granted Critical
Publication of CN112765933B publication Critical patent/CN112765933B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/398Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Geometry (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

本发明提供了一种基于种群优化算法的集成电路设计方法,属于集成电路技术领域,包括以下步骤:构建描述集成电路设计参数与性能指标映射关系的神经网络模型;根据集成电路性能指标的需求构建集成电路设计参数的优化策略;根据所述神经网络模型与优化策略,利用种群优化算法迭代优化集成电路的设计参数,完成基于种群优化算法的集成电路设计。本发明针对现有的集成电路研发过于依赖设计人员的经验和效率较低的难题,根据制定的集成电路设计参数优化策略,利用种群优化算法确定与优化集成电路器件尺寸参数,提高集成电路设计效率,能够应用到集成电路的设计和研发中。

Figure 202110126619

The invention provides an integrated circuit design method based on a population optimization algorithm, which belongs to the technical field of integrated circuits and includes the following steps: constructing a neural network model describing the mapping relationship between integrated circuit design parameters and performance indicators; constructing according to the requirements of integrated circuit performance indicators The optimization strategy of the integrated circuit design parameters; according to the neural network model and the optimization strategy, the population optimization algorithm is used to iteratively optimize the design parameters of the integrated circuit, and the integrated circuit design based on the population optimization algorithm is completed. Aiming at the problem that the existing integrated circuit research and development relies too much on the experience of designers and has low efficiency, the invention uses a population optimization algorithm to determine and optimize the size parameters of integrated circuit devices according to the formulated integrated circuit design parameter optimization strategy, so as to improve the integrated circuit design efficiency , can be applied to the design and development of integrated circuits.

Figure 202110126619

Description

一种基于种群优化算法的集成电路设计方法An Integrated Circuit Design Method Based on Population Optimization Algorithm

技术领域technical field

本发明属于集成电路技术领域,尤其涉及一种基于种群优化算法的集成电路设计方法。The invention belongs to the technical field of integrated circuits, and in particular relates to an integrated circuit design method based on a population optimization algorithm.

背景技术Background technique

集成电路是支撑现代社会发展和保障国家安全的战略性、基础性和先导性产业,是信息技术产业的“粮食”,其技术水平和产业能力已成为衡量国家产业竞争力与综合国力的重要标志之一。集成电路尤其是模拟集成电路的开发,较多地依赖于研发人员的设计经验和软件的重复迭代仿真验证,设计人员不断调整集成电路中器件的尺寸参数,以获得期望的电路模块性能指标,这种耗时耗力的设计方法降低了集成电路设计效率,提高了研发成本,延长了集成电路芯片研制周期。Integrated circuits are a strategic, basic and leading industry that supports the development of modern society and safeguards national security, and is the "food" of the information technology industry. one. The development of integrated circuits, especially analog integrated circuits, relies more on the design experience of R&D personnel and repeated iterative simulation verification of software. Designers constantly adjust the size parameters of devices in integrated circuits to obtain the desired performance indicators of circuit modules. This time-consuming and labor-intensive design method reduces the integrated circuit design efficiency, increases the R&D cost, and prolongs the integrated circuit chip development cycle.

近几年,种群优化方法发展迅速,由于其结构简单、易于实施和收敛速度快等优点,已经广泛用于工业设计和生产过程中。此外,种群优化方法是一种启发式优化方法,没有要求优化目标函数可导的限制,可以保障优化结果的合理性和有效性。本发明方法在种群优化算法框架下,以集成电路的性能指标为目标,提出一种简单、有效的集成电路器件尺寸参数的智能优化方法,为研制集成电路芯片提供高效的方法和途径。In recent years, population optimization methods have developed rapidly, and have been widely used in industrial design and production processes due to their simple structure, easy implementation and fast convergence speed. In addition, the population optimization method is a heuristic optimization method, and there is no restriction that the optimization objective function can be derivable, which can ensure the rationality and validity of the optimization results. Under the framework of the population optimization algorithm, the method of the invention takes the performance index of the integrated circuit as the goal, and proposes a simple and effective intelligent optimization method for the size parameters of the integrated circuit device, which provides an efficient method and approach for developing integrated circuit chips.

发明内容SUMMARY OF THE INVENTION

针对现有技术中的上述不足,本发明提供了一种基于种群优化算法的集成电路设计方法,解决了现有的集成电路研发过于依赖设计人员的经验和效率较低的问题。In view of the above deficiencies in the prior art, the present invention provides an integrated circuit design method based on a population optimization algorithm, which solves the problems that the existing integrated circuit research and development relies too much on the experience of designers and has low efficiency.

为了达到以上目的,本发明采用的技术方案为:In order to achieve the above purpose, the technical scheme adopted in the present invention is:

本方案提供一种基于种群优化算法的集成电路设计方法,包括以下步骤:This solution provides an integrated circuit design method based on a population optimization algorithm, including the following steps:

S1、构建描述集成电路设计参数与性能指标映射关系的神经网络模型;S1. Construct a neural network model that describes the mapping relationship between integrated circuit design parameters and performance indicators;

S2、根据集成电路性能指标的需求构建集成电路设计参数的优化策略;S2. Construct an optimization strategy for integrated circuit design parameters according to the requirements of integrated circuit performance indicators;

S3、根据所述神经网络模型与优化策略,利用种群优化算法迭代优化集成电路的设计参数,完成基于种群优化算法的集成电路设计。S3. According to the neural network model and the optimization strategy, use the population optimization algorithm to iteratively optimize the design parameters of the integrated circuit, and complete the integrated circuit design based on the population optimization algorithm.

本发明的有益效果是:本发明针对现有的集成电路研发过于依赖设计人员的经验和效率较低的难题,根据制定的集成电路设计参数优化策略,利用种群优化算法确定与优化集成电路器件尺寸参数,提高集成电路设计效率,能够应用到集成电路的设计和研发中。该方法的发明和推广应用对降低集成电路芯片研发成本和缩短其研制周期具有重要工程意义。The beneficial effects of the present invention are as follows: the present invention aims at the problem that the existing integrated circuit research and development relies too much on the experience of designers and has low efficiency. According to the formulated integrated circuit design parameter optimization strategy, the population optimization algorithm is used to determine and optimize the size of the integrated circuit device. parameters, improve the efficiency of integrated circuit design, and can be applied to the design and development of integrated circuits. The invention and popularization and application of the method have important engineering significance for reducing the development cost and shortening the development cycle of integrated circuit chips.

进一步地,所述步骤S1包括以下步骤:Further, the step S1 includes the following steps:

S101、利用正交设计方法确定集成电路设计参数组合,采用集成电路仿真软件获得所有设计参数对应的性能指标仿真数据;S101, using an orthogonal design method to determine a combination of integrated circuit design parameters, and using integrated circuit simulation software to obtain performance index simulation data corresponding to all design parameters;

S102、利用反向传播算法对所述性能指标仿真数据进行训练,构建描述集成电路设计参数与性能指标映射关系的神经网络模型。S102. Use a back-propagation algorithm to train the performance index simulation data, and construct a neural network model that describes the mapping relationship between integrated circuit design parameters and performance indexes.

再进一步地,所述步骤S102中构建描述集成电路设计参数与性能指标映射关系的神经网络模型的表达式如下:Still further, the expression of constructing a neural network model describing the mapping relationship between the integrated circuit design parameters and performance indicators in the step S102 is as follows:

P=g]W2·g(W1·U+b1)+b2]P=g]W 2 ·g(W 1 ·U+b 1 )+b 2 ]

Figure BDA0002923730510000021
Figure BDA0002923730510000021

其中,g(·)表示神经网络模型的激活函数,e-x表示以自然常数e为底的指数函数,P和U分别表示集成电路性能指标和设计参数,W1和b1分别表示神经网络模型中输入层到隐含层的权值矩阵和偏置项,W2和b2表示神经网络模型中隐含层到输出层的权值矩阵和偏置项。Among them, g( ) represents the activation function of the neural network model, e- x represents the exponential function with the natural constant e as the base, P and U represent the performance indicators and design parameters of the integrated circuit, respectively, and W 1 and b 1 represent the neural network, respectively The weight matrix and bias term from the input layer to the hidden layer in the model, W 2 and b 2 represent the weight matrix and bias term from the hidden layer to the output layer in the neural network model.

上述进一步方案的有益效果是:本发明通过构建神经网络模型描述集成电路设计参数与性能指标的映射关系,可以根据设计参数准确、快速地预测集成电路性能指标,有利于集成电路设计参数的快速优化。The beneficial effects of the above-mentioned further scheme are: the present invention describes the mapping relationship between the integrated circuit design parameters and the performance indicators by constructing a neural network model, and can accurately and quickly predict the integrated circuit performance indicators according to the design parameters, which is beneficial to the rapid optimization of the integrated circuit design parameters. .

再进一步地,所述步骤S2中集成电路设计参数的优化策略的表达式如下:Still further, the expression of the optimization strategy of the integrated circuit design parameters in the step S2 is as follows:

J=α(G-Gdes)2+β(GBW-GBWdes)2 J=α(GG des ) 2 +β(GBW-GBW des ) 2

其中,J表示集成电路设计参数的优化策略,G表示集成电路的增益,GBW表示集成电路的增益带宽积,Gdes和GBWdes分别表示期望的集成电路增益和增益带宽积,α和β分别表示集成电路的增益和增益带宽积的优化权值系数。Among them, J represents the optimization strategy of integrated circuit design parameters, G represents the gain of the integrated circuit, GBW represents the gain-bandwidth product of the integrated circuit, G des and GBW des represent the expected integrated circuit gain and gain-bandwidth product, respectively, α and β represent the Optimized weighting factor for the gain and gain-bandwidth product of an integrated circuit.

上述进一步方案的有益效果是:本发明通过根据集成电路性能指标的需求构建集成电路设计参数的优化策略,为集成电路设计参数的优化指明了方向,有利于提高集成电路设计效率。The beneficial effects of the above-mentioned further scheme are: the present invention points out the direction for the optimization of the integrated circuit design parameters by constructing an optimization strategy of the integrated circuit design parameters according to the requirements of the integrated circuit performance indicators, which is beneficial to improve the integrated circuit design efficiency.

再进一步地,所述步骤S3包括以下步骤:Still further, the step S3 includes the following steps:

S301、初始化种群优化算法的参数;S301. Initialize the parameters of the population optimization algorithm;

S302、根据集成电路的设计参数,利用构建的神经网络模型预测集成电路的性能指标;S302. According to the design parameters of the integrated circuit, use the constructed neural network model to predict the performance index of the integrated circuit;

S303、根据构建的优化策略以及预测的集成电路性能指标,利用种群优化算法优化集成电路的设计参数;S303. According to the constructed optimization strategy and the predicted integrated circuit performance index, use a population optimization algorithm to optimize the design parameters of the integrated circuit;

S304、判断是否获取最优的集成电路设计参数,若是,则完成基于种群优化算法的集成电路设计,否则,返回步骤S302。S304: Determine whether to obtain the optimal integrated circuit design parameters, if yes, complete the integrated circuit design based on the population optimization algorithm, otherwise, return to step S302.

上述进一步方案的有益效果是:本发明通过利用种群优化算法优化集成电路设计参数,可以高效地确定集成电路器件的设计尺寸参数,提高集成电路设计效率,降低研发成本,缩短集成电路芯片研制周期。The beneficial effects of the above-mentioned further scheme are: by using the population optimization algorithm to optimize the integrated circuit design parameters, the present invention can efficiently determine the design size parameters of the integrated circuit device, improve the integrated circuit design efficiency, reduce the research and development cost, and shorten the development cycle of the integrated circuit chip.

附图说明Description of drawings

图1为本发明的方法流程图。FIG. 1 is a flow chart of the method of the present invention.

图2为本实施例中电阻负载的PMOS输入差分对集成电路图。FIG. 2 is a diagram of a PMOS input differential pair integrated circuit of a resistive load in this embodiment.

图3为本实施例中基于种群优化算法获得的集成电路器件尺寸参数示意图。FIG. 3 is a schematic diagram of size parameters of integrated circuit devices obtained based on a population optimization algorithm in this embodiment.

图4为本实施例中根据优化的集成电路设计参数利用Cadence软件模拟实验结果。FIG. 4 uses Cadence software to simulate experimental results according to the optimized integrated circuit design parameters in this embodiment.

具体实施方式Detailed ways

下面对本发明的具体实施方式进行描述,以便于本技术领域的技术人员理解本发明,但应该清楚,本发明不限于具体实施方式的范围,对本技术领域的普通技术人员来讲,只要各种变化在所附的权利要求限定和确定的本发明的精神和范围内,这些变化是显而易见的,一切利用本发明构思的发明创造均在保护之列。The specific embodiments of the present invention are described below to facilitate those skilled in the art to understand the present invention, but it should be clear that the present invention is not limited to the scope of the specific embodiments. For those of ordinary skill in the art, as long as various changes Such changes are obvious within the spirit and scope of the present invention as defined and determined by the appended claims, and all inventions and creations utilizing the inventive concept are within the scope of protection.

实施例Example

如图1所示,本发明提供了一种基于种群优化算法的集成电路设计方法,其实现方法如下:As shown in FIG. 1 , the present invention provides an integrated circuit design method based on a population optimization algorithm, and its implementation method is as follows:

S1、构建描述集成电路设计参数与性能指标映射关系的神经网络模型,其实现方法如下:S1. Construct a neural network model that describes the mapping relationship between integrated circuit design parameters and performance indicators. The implementation method is as follows:

S101、利用正交设计方法确定集成电路设计参数组合,采用集成电路仿真软件获得所有设计参数对应的性能指标仿真数据;S101, using an orthogonal design method to determine a combination of integrated circuit design parameters, and using integrated circuit simulation software to obtain performance index simulation data corresponding to all design parameters;

S102、利用反向传播算法对所述性能指标仿真数据进行训练,构建描述集成电路设计参数与性能指标映射关系的神经网络模型,其表达式如下:S102, using the back-propagation algorithm to train the performance index simulation data, and constructing a neural network model describing the mapping relationship between the integrated circuit design parameters and the performance index, the expression of which is as follows:

P=g[W2·g(W1·U+b1)+b2]P=g[W 2 ·g(W 1 ·U+b 1 )+b 2 ]

Figure BDA0002923730510000051
Figure BDA0002923730510000051

其中,g(·)表示神经网络模型的激活函数,e-x表示以自然常数e为底的指数函数,P和U分别表示集成电路性能指标和设计参数,W1和b1分别表示神经网络模型中输入层到隐含层的权值矩阵和偏置项,W2和b2表示神经网络模型中隐含层到输出层的权值矩阵和偏置项;Among them, g( ) represents the activation function of the neural network model, e- x represents the exponential function with the natural constant e as the base, P and U represent the performance indicators and design parameters of the integrated circuit, respectively, and W 1 and b 1 represent the neural network, respectively The weight matrix and bias term from the input layer to the hidden layer in the model, W 2 and b 2 represent the weight matrix and bias term from the hidden layer to the output layer in the neural network model;

S2、根据集成电路性能指标的需求构建集成电路设计参数的优化策略;S2. Construct an optimization strategy for integrated circuit design parameters according to the requirements of integrated circuit performance indicators;

所述集成电路设计参数的优化策略的表达式如下。The expression of the optimization strategy of the integrated circuit design parameters is as follows.

J=α(G-Gdes)2+β(GBW-GBWdes)2 J=α(GG des ) 2 +β(GBW-GBW des ) 2

其中,J表示集成电路设计参数的优化策略,G表示集成电路的增益,GBW表示集成电路的增益带宽积,Gdes和GBWdes分别表示期望的集成电路增益和增益带宽积,α和β分别表示集成电路的增益和增益带宽积的优化权值系数;Among them, J represents the optimization strategy of integrated circuit design parameters, G represents the gain of the integrated circuit, GBW represents the gain-bandwidth product of the integrated circuit, G des and GBW des represent the expected integrated circuit gain and gain-bandwidth product, respectively, α and β represent the Optimized weight coefficients for gain and gain-bandwidth product of integrated circuits;

S3、根据所述神经网络模型与优化策略,利用种群优化算法迭代优化集成电路的设计参数,完成基于种群优化算法的集成电路设计,其实现方法如下:S3. According to the neural network model and the optimization strategy, use the population optimization algorithm to iteratively optimize the design parameters of the integrated circuit, and complete the integrated circuit design based on the population optimization algorithm. The implementation method is as follows:

S301、初始化种群优化算法的参数;S301. Initialize the parameters of the population optimization algorithm;

S302、根据集成电路的设计参数,利用构建的神经网络模型预测集成电路的性能指标;S302. According to the design parameters of the integrated circuit, use the constructed neural network model to predict the performance index of the integrated circuit;

S303、根据构建的优化策略以及预测的集成电路性能指标,利用种群优化算法优化集成电路的设计参数;S303. According to the constructed optimization strategy and the predicted integrated circuit performance index, use a population optimization algorithm to optimize the design parameters of the integrated circuit;

S304、判断是否获取最优的集成电路设计参数,若是,则完成基于种群优化算法的集成电路设计,否则,返回步骤S302。S304: Determine whether to obtain the optimal integrated circuit design parameters, if yes, complete the integrated circuit design based on the population optimization algorithm, otherwise, return to step S302.

下面以设计电阻负载的PMOS输入差分对电路为例,如图2所示,其中,Vbias为外部电路提供的偏置电压,Vin+和Vin-分别为差分输入信号的正、负端,Vout+和Vout-分别为差分输出信号的正、负端,电源电压VDD连接晶体管M3的源极,晶体管M3的栅极连接外部偏置电压Vbias,晶体管M3的漏极分两路分别连接晶体管M1、M2的源极,晶体管M1的栅极连接差分输入信号的正端Vin+,晶体管M1的漏极分两路分别连接差分输出信号的正端Vout+和电阻R1的一端,电阻R1的另一端连接入地GND;晶体管M2的栅极连接差分输入信号的负端Vin-,晶体管M2的漏极分两路分别连接差分输出信号的正端Vout-和电阻R2的一端电阻R2的另一端连接入地GND。The following is an example of designing a PMOS input differential pair circuit with a resistive load, as shown in Figure 2, where Vbias is the bias voltage provided by the external circuit, Vin+ and Vin- are the positive and negative terminals of the differential input signal, Vout+ and Vout - They are the positive and negative terminals of the differential output signal, respectively. The power supply voltage VDD is connected to the source of the transistor M3, the gate of the transistor M3 is connected to the external bias voltage Vbias, and the drain of the transistor M3 is connected to the sources of the transistors M1 and M2 in two ways. The gate of the transistor M1 is connected to the positive terminal Vin+ of the differential input signal, and the drain of the transistor M1 is connected to the positive terminal Vout+ of the differential output signal and one end of the resistor R1 in two ways, and the other end of the resistor R1 is connected to the ground GND; the transistor The gate of M2 is connected to the negative terminal Vin- of the differential input signal, and the drain of the transistor M2 is connected to the positive terminal Vout- of the differential output signal and one end of the resistor R2 is connected to the ground GND respectively.

详细介绍本发明涉及的集成电路智能设计方法的实施细节,其方法包括:The implementation details of the integrated circuit intelligent design method involved in the present invention are introduced in detail, and the method includes:

步骤1:构建可准确描述集成电路设计参数与性能指标映射关系的神经网络模型;Step 1: Build a neural network model that can accurately describe the mapping relationship between integrated circuit design parameters and performance indicators;

电阻负载的PMOS(P型金属-氧化物-半导体)晶体管输入差分对电路的设计参数包括两个PMOS输入管尺寸、尾电流源管尺寸和负载电阻值,其性能指标主要有增益和增益带宽积。描述电阻负载的PMOS输入差分对电路设计参数与性能指标映射关系的神经网络模型是由Cadence软件结合正交设计方法获取模拟实验数据,利用反向传播算法训练建立的,此神经网络模型包含输入层、隐含层和输出层,电阻负载的PMOS输入差分对电路增益G的神经网络模型可以表示为:The design parameters of the resistive load PMOS (P-type metal-oxide-semiconductor) transistor input differential pair circuit include the size of the two PMOS input tubes, the size of the tail current source tube and the load resistance value. Its performance indicators mainly include gain and gain-bandwidth product. . The neural network model describing the mapping relationship between circuit design parameters and performance indicators of the PMOS input differential pair of resistive loads is obtained by the Cadence software combined with the orthogonal design method to obtain simulated experimental data, and is established by back-propagation algorithm training. This neural network model includes an input layer. , hidden layer and output layer, the neural network model of resistive load PMOS input differential pair circuit gain G can be expressed as:

Figure BDA0002923730510000061
Figure BDA0002923730510000061

Figure BDA0002923730510000062
Figure BDA0002923730510000062

Figure BDA0002923730510000063
Figure BDA0002923730510000063

其中,神经网络模型的激活函数

Figure BDA0002923730510000071
U是设计参数向量;W1 G
Figure BDA0002923730510000072
表示神经网络模型中输入层到隐含层的权值矩阵和偏置项;
Figure BDA0002923730510000073
Figure BDA0002923730510000074
表示神经网络模型中隐含层到输出层的权值矩阵和偏置项。Among them, the activation function of the neural network model
Figure BDA0002923730510000071
U is the design parameter vector; W 1 G and
Figure BDA0002923730510000072
Represents the weight matrix and bias term from the input layer to the hidden layer in the neural network model;
Figure BDA0002923730510000073
and
Figure BDA0002923730510000074
Represents the weight matrix and bias term from the hidden layer to the output layer in the neural network model.

电阻负载的PMOS输入差分对电路增益带宽积GBW的神经网络模型可以表示为:The neural network model of the gain-bandwidth product GBW of the PMOS input differential pair circuit with resistive load can be expressed as:

Figure BDA0002923730510000075
Figure BDA0002923730510000075

Figure BDA0002923730510000076
Figure BDA0002923730510000076

Figure BDA0002923730510000077
Figure BDA0002923730510000077

其中,W1 GBW

Figure BDA0002923730510000078
表示神经网络模型中输入层到隐含层的权值矩阵和偏置项;
Figure BDA0002923730510000079
Figure BDA00029237305100000710
表示神经网络模型中隐含层到输出层的权值矩阵和偏置项。where W 1 GBW and
Figure BDA0002923730510000078
Represents the weight matrix and bias term from the input layer to the hidden layer in the neural network model;
Figure BDA0002923730510000079
and
Figure BDA00029237305100000710
Represents the weight matrix and bias term from the hidden layer to the output layer in the neural network model.

步骤2:根据性能指标需求制定集成电路设计参数的优化准则;Step 2: Formulate optimization criteria for integrated circuit design parameters according to performance index requirements;

电阻负载的PMOS输入差分对电路性能指标主要有增益和增益带宽积,期望的增益和增益带宽积分别为20dB和143MHz,其优化权值系数分别取为0.5,制定的集成电路设计参数的优化准则可以表示为:The performance indicators of the PMOS input differential pair circuit of the resistive load mainly include gain and gain-bandwidth product. The expected gain and gain-bandwidth product are 20dB and 143MHz respectively, and the optimization weight coefficients are respectively taken as 0.5. It can be expressed as:

J=0.5(G-20)2+0.5(GBW-143)2 J=0.5(G-20) 2 +0.5(GBW-143) 2

其中,Gdes和GBWdes分别表示期望的增益和增益带宽积。where G des and GBW des represent the desired gain and gain-bandwidth product, respectively.

步骤3:将建立的神经网络模型和制定的优化准则集成到种群优化算法中,迭代确定和优化集成电路设计参数;Step 3: Integrate the established neural network model and the formulated optimization criteria into the population optimization algorithm, and iteratively determine and optimize the design parameters of the integrated circuit;

粒子群优化算法是一种常用的种群优化算法,具有结构简单和易于实施等优点。将建立的神经网络模型和优化准则集成到粒子群优化算法中,利用惯性权值线性递减的粒子群优化算法优化电阻负载的PMOS输入差分对电路的设计参数,惯性权值线性递减的粒子群优化算法可以描述为:Particle swarm optimization algorithm is a commonly used population optimization algorithm, which has the advantages of simple structure and easy implementation. Integrate the established neural network model and optimization criteria into the particle swarm optimization algorithm, and use the particle swarm optimization algorithm with linearly decreasing inertia weight to optimize the design parameters of the PMOS input differential pair circuit of resistive load, and the particle swarm optimization with linearly decreasing inertia weight. The algorithm can be described as:

vi(t+1)=wvi(t)+c1r1(pi-xi(t))+c2r2(pg-xi(t))v i (t+1)=wv i (t)+c 1 r 1 ( pi -x i ( t))+c 2 r 2 (p g -xi (t))

xi(t+1)=xi(t)+vi(t+1)x i (t+1)=x i (t)+v i (t+1)

Figure BDA0002923730510000081
Figure BDA0002923730510000081

其中:xi和vi分别表示第i个粒子的位置向量和速度向量,w表示惯性权值,pi表示局部最优位置,pg表示全局最优位置,c1和c2是常数,r1和r2是[0,1]之间的随机数,iter表示当前迭代次数,itermax表示最大迭代次数,wmax和wmin分别表示惯性权值的最大值和最小值。利用惯性权值线性递减的粒子群优化算法优化电阻负载的PMOS输入差分对电路的设计参数的过程为:Where: x i and v i represent the position vector and velocity vector of the ith particle, respectively, w represents the inertia weight, pi represents the local optimal position, p g represents the global optimal position, c 1 and c 2 are constants, r 1 and r 2 are random numbers between [0, 1], iter represents the current number of iterations, iter max represents the maximum number of iterations, and w max and w min represent the maximum and minimum values of inertial weights, respectively. The process of optimizing the design parameters of the resistive-loaded PMOS input differential pair circuit using the particle swarm optimization algorithm with linearly decreasing inertia weights is as follows:

(1)初始化粒子群优化算法的参数,如表1所示,表1为粒子群优化算法的初始化参数。(1) Initialize the parameters of the particle swarm optimization algorithm, as shown in Table 1. Table 1 is the initialization parameters of the particle swarm optimization algorithm.

表1Table 1

Figure BDA0002923730510000082
Figure BDA0002923730510000082

(2)根据电阻负载的PMOS输入差分对电路设计参数,利用构建的神经网络模型预测电阻负载的PMOS输入差分对电路的性能指标;(2) According to the design parameters of the PMOS input differential pair circuit of the resistive load, use the constructed neural network model to predict the performance index of the PMOS input differential pair circuit of the resistive load;

(3)根据构建的优化准则以及预测电阻负载的PMOS输入差分对电路的性能指标,利用种群优化算法优化电阻负载的PMOS输入差分对电路的设计参数;(3) According to the constructed optimization criterion and the performance index of the predicted resistance-loaded PMOS input differential pair circuit, the population optimization algorithm is used to optimize the design parameters of the resistance-loaded PMOS input differential pair circuit;

(4)判断是否获得最优的电阻负载的PMOS输入差分对电路设计参数,若是,则完成集成电路的设计,否则返回步骤(2)。(4) judging whether the optimal PMOS input differential pair circuit design parameters of the resistive load are obtained, if so, complete the design of the integrated circuit, otherwise return to step (2).

本实施例中,按照期望的性能指标,利用上述集成电路智能设计方法,对电阻负载的PMOS输入差分对电路的设计参数进行了优化。优化出的输入管尺寸、尾电流源管尺寸(沟道宽度/沟道长度)和负载电阻分别为29μm/0.18μm、33μm/0.18μm和6KΩ,如图3所示。按照优化的电阻负载的PMOS输入差分对电路设计参数,利用Cadence软件模拟实验结果如图4所示,电阻负载的PMOS输入差分对电路的增益和增益带宽积分别为18.03dB和141.49MHz,几乎达到了期望的性能指标,这说明提出方法能有效地优化电阻负载的PMOS输入差分对电路的设计参数,获得符合性能需求的集成电路。In this embodiment, according to the expected performance index, the design parameters of the PMOS input differential pair circuit of the resistive load are optimized by using the above-mentioned integrated circuit intelligent design method. The optimized input tube size, tail current source tube size (channel width/channel length) and load resistance are 29μm/0.18μm, 33μm/0.18μm and 6KΩ, respectively, as shown in Figure 3. According to the optimized PMOS input differential pair circuit design parameters of resistive load, the experimental results simulated by Cadence software are shown in Figure 4. The gain and gain-bandwidth product of the resistive load PMOS input differential pair circuit are 18.03dB and 141.49MHz, respectively, almost reaching The expected performance index is obtained, which shows that the proposed method can effectively optimize the design parameters of the PMOS input differential pair circuit with resistive load, and obtain an integrated circuit that meets the performance requirements.

从上述结果可以发现,本发明提出的方法能够简单、有效地优化集成电路的设计参数,缩短集成电路的研发周期,为实现集成电路的高效设计提供了可靠的途径。From the above results, it can be found that the method proposed by the present invention can simply and effectively optimize the design parameters of the integrated circuit, shorten the research and development cycle of the integrated circuit, and provide a reliable way to realize the efficient design of the integrated circuit.

Claims (5)

1. An integrated circuit design method based on a population optimization algorithm is characterized by comprising the following steps:
s1, constructing a neural network model for describing the mapping relation between the design parameters and the performance indexes of the integrated circuit;
s2, constructing an optimization strategy of integrated circuit design parameters according to the requirements of the integrated circuit performance indexes;
and S3, according to the neural network model and the optimization strategy, iteratively optimizing the design parameters of the integrated circuit by using a population optimization algorithm, and finishing the integrated circuit design based on the population optimization algorithm.
2. The population optimization algorithm-based integrated circuit design method according to claim 1, wherein the step S1 comprises the steps of:
s101, determining an integrated circuit design parameter combination by using an orthogonal design method, and obtaining performance index simulation data corresponding to all design parameters by using integrated circuit simulation software;
and S102, training the performance index simulation data by using a back propagation algorithm, and constructing a neural network model for describing the mapping relation between the design parameters of the integrated circuit and the performance indexes.
3. The population optimization algorithm-based integrated circuit design method according to claim 2, wherein the expression of the neural network model describing the mapping relationship between the integrated circuit design parameters and the performance indicators is constructed in step S102 as follows:
P=g[W2·g(W1·U+b1)+b2]
Figure FDA0002923730500000011
wherein g (-) represents the activation function of the neural network model, e-xExpressing an exponential function based on a natural constant e, P and U respectively expressing the performance index and design parameter of the integrated circuit, W1 and b1Respectively representing the weight matrix and the bias term from the input layer to the hidden layer in the neural network model, W2 and b2And representing weight matrixes and bias items from a hidden layer to an output layer in the neural network model.
4. The population optimization algorithm-based integrated circuit design method according to claim 1, wherein the expression of the optimization strategy of the integrated circuit design parameters in step S2 is as follows:
J=α(G-Gdes)2+β(GBW-GBWdes)2
wherein J represents the optimization strategy of the design parameters of the integrated circuit, G represents the gain of the integrated circuit, GBW represents the gain-bandwidth product of the integrated circuit, Gdes and GBWdesRepresenting the desired gain and gain-bandwidth product of the integrated circuit, respectively, and alpha and beta represent the optimized weight coefficients of the gain and gain-bandwidth product of the integrated circuit, respectively.
5. The population optimization algorithm-based integrated circuit design method according to claim 1, wherein the step S3 comprises the steps of:
s301, initializing parameters of a population optimization algorithm;
s302, predicting the performance index of the integrated circuit by using the built neural network model according to the design parameters of the integrated circuit;
s303, optimizing design parameters of the integrated circuit by using a population optimization algorithm according to the constructed optimization strategy and the predicted performance index of the integrated circuit;
s304, judging whether to obtain the optimal design parameters of the integrated circuit, if so, finishing the design of the integrated circuit based on the population optimization algorithm, otherwise, returning to the step S302.
CN202110126619.7A 2021-01-29 2021-01-29 A Design Method of Integrated Circuit Based on Population Optimization Algorithm Active CN112765933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110126619.7A CN112765933B (en) 2021-01-29 2021-01-29 A Design Method of Integrated Circuit Based on Population Optimization Algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110126619.7A CN112765933B (en) 2021-01-29 2021-01-29 A Design Method of Integrated Circuit Based on Population Optimization Algorithm

Publications (2)

Publication Number Publication Date
CN112765933A true CN112765933A (en) 2021-05-07
CN112765933B CN112765933B (en) 2023-08-11

Family

ID=75703736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110126619.7A Active CN112765933B (en) 2021-01-29 2021-01-29 A Design Method of Integrated Circuit Based on Population Optimization Algorithm

Country Status (1)

Country Link
CN (1) CN112765933B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113283213A (en) * 2021-07-19 2021-08-20 苏州贝克微电子有限公司 Circuit design system and method based on machine learning
CN114595656A (en) * 2022-03-02 2022-06-07 南京星火技术有限公司 Method, apparatus, device and medium for generating algorithm model and layout of electronic device
CN114757136A (en) * 2022-04-14 2022-07-15 河南科技大学 Method for designing analog transconductance amplifier by adopting back propagation neural network modeling algorithm
WO2025189504A1 (en) * 2024-03-15 2025-09-18 广东琴智科技研究院有限公司 Arithmetic unit chip configuration method, computing subsystem, and intelligent computing platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109920516A (en) * 2019-03-15 2019-06-21 重庆科技学院 A User Experience-Oriented Method for Intelligent Design Modeling and Decision Parameter Optimization of Autism Embrace Machines
WO2021007812A1 (en) * 2019-07-17 2021-01-21 深圳大学 Deep neural network hyperparameter optimization method, electronic device and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109920516A (en) * 2019-03-15 2019-06-21 重庆科技学院 A User Experience-Oriented Method for Intelligent Design Modeling and Decision Parameter Optimization of Autism Embrace Machines
WO2021007812A1 (en) * 2019-07-17 2021-01-21 深圳大学 Deep neural network hyperparameter optimization method, electronic device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
纪震;田涛;朱泽轩;: "进化硬件研究进展", 深圳大学学报(理工版), no. 03 *
谢文强;: "粒子群优化BP网络在本安参数评定中的应用", 自动化与仪表, no. 05 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113283213A (en) * 2021-07-19 2021-08-20 苏州贝克微电子有限公司 Circuit design system and method based on machine learning
CN113283213B (en) * 2021-07-19 2021-11-09 苏州贝克微电子有限公司 Circuit design system and method based on machine learning
CN114595656A (en) * 2022-03-02 2022-06-07 南京星火技术有限公司 Method, apparatus, device and medium for generating algorithm model and layout of electronic device
CN114595656B (en) * 2022-03-02 2025-08-05 南京星火技术有限公司 Method, device, equipment and medium for generating algorithmic model and layout of electronic device
CN114757136A (en) * 2022-04-14 2022-07-15 河南科技大学 Method for designing analog transconductance amplifier by adopting back propagation neural network modeling algorithm
WO2025189504A1 (en) * 2024-03-15 2025-09-18 广东琴智科技研究院有限公司 Arithmetic unit chip configuration method, computing subsystem, and intelligent computing platform

Also Published As

Publication number Publication date
CN112765933B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN112765933B (en) A Design Method of Integrated Circuit Based on Population Optimization Algorithm
CN103150459B (en) A kind of Optimization Design of the low noise amplifier based on genetic algorithm
CN104834215B (en) A kind of BP neural network pid control algorithm of mutation particle swarm optimization
CN109255160B (en) A Neural Network-Based Unit Delay Prediction Method and Unit Delay Sensitivity Calculation Method
CN103227635B (en) A kind of CMOS full adder of high-speed low-power-consumption and operation method thereof
CN104636985B (en) A kind of transmission line of electricity radio interference Forecasting Methodology of improved BP
CN116702678B (en) A DTCO optimization method integrating deep learning and swarm intelligence algorithms
US20230305187A1 (en) Method and System for Multi-Step Prediction of Future Wind Speed Based on Automatic Reservoir Neural Network
TW202137075A (en) Quantization method based on hardware of in-memory computing and system thereof
CN108665322A (en) The construction method of grain ration Consumption forecast model, Consumption forecast method and device
CN116559975A (en) Multi-step long weather prediction method based on multi-element time sequence diagram neural network
CN117454939A (en) A wind power power prediction method based on NSABO-Gold algorithm optimizing BP neural network
CN110428048A (en) A kind of binaryzation neural network accumulator circuit based on simulation time delay chain
CN117172197A (en) Low noise amplifier optimization design method and system based on wolf algorithm
CN104486222B (en) Small time delay defect test critical path system of selection based on ant colony optimization algorithm
CN116757446A (en) Cascade hydropower station dispatching method and system based on improved particle swarm algorithm
CN103258131A (en) Power circuit component optimization method based on orthogonal learning particle swarm
CN111461385A (en) A Production Planning Optimization Method Based on Lévy Flight Particle Swarm Optimization
CN110009048A (en) A method and device for constructing a neural network model
CN114398949A (en) Training method of impulse neural network model, storage medium and computing device
CN113051856A (en) Optimization method of integrated circuit design data
CN118607434A (en) A pre-routing time series prediction system based on graph neural network
CN115577777B (en) Method and device for determining the proportion of device inductance energy in superconducting quantum chip layout
CN116956712A (en) A coupler and its parameter optimization method and system
CN115841070A (en) Hysteresis model parameter identification method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载