flatten logic for various frame signals to help obtain timing closure.