A method for migrating an electronic circuit from a source technology to a
target technology includes accepting a source circuit that operates in
the source technology. The source circuit includes source components
interconnected at nodes in accordance with a source topology. Source
voltages at the nodes of the source circuit are determined, and the
source voltages are transformed to produce respective target voltages
suitable for the target technology. The source circuit is separated into
sub-circuits, each sub-circuit including one or more of the source
components. In each sub-circuit individually, the one or more of the
source components are converted to one or more respective target
components in the target technology responsively to the target voltages,
so as to produce a respective migrated sub-circuit. The migrated
sub-circuits are reconnected to produce a target circuit in the target
technology, the target circuit having a target topology identical to the
source topology.