function rectifyObjectType(obj) {
    const rectify = {
        FlipFlop: 'DflipFlop',
        Ram: 'Rom',
    };
    return rectify[obj] || obj;
}
Backward compatibility - needs to be deprecated
@param {CircuitElement} obj - the object to be rectified
@category data