A computer-implemented method for training a multi-RL agent network that generates
device parameters of a circuit is provided. The method comprises: obtaining inputs regarding desired circuit specifications of the circuit, including
gain, bandwidth,
phase margin,
power consumption, output power and power efficiency,
device parameters, topology of the circuit, and a final state corresponding to a maximum step, the desired circuit specifications including
gain, bandwidth,
phase margin,
power consumption, output power and power efficiency; each RL agent network is configured to perform: sending an action selected from a set of actions to an environment module; updating
device parameters of the circuit with respect to the circuit specification; obtaining a current specification of the circuit by simulating a
netlist of the circuit based on the updated device parameters using a circuit simulator of an environmental module, the environmental module including the
netlist of the circuit; obtaining a reward from the environment module, the reward being calculated based on the difference between the current specification and the expected specification, and continuing the sending step, the updating step, the obtaining step and the obtaining step until the reward reaches a threshold value or the number of steps reaches a preset value; and generating satisfactory updated device parameters via the interface.