Cyber-Physical System Design from an Architecture Analysis Viewpoint