create#

classmethod DifferentialPair.create(layout, name, pos_net=None, neg_net=None)#

Create a differential pair.

You must either provide both nets or omit both nets.

Parameters:
layoutLayout

Layout to create the differential pair in.

namestr

Name of the new differential pair.

pos_netNet or str, default: None

Positive net or name of the positive net.

neg_netNet or str, default: None

Negative net or the name of negative net.

Returns:
DifferentialPair

Differential pair created.