A design flow dedicated to multi-mode architectures for DSP applications