B is a formal method which enables the automatic generation of an executable code through successive refinements from an abstract specification. Unified Modeling Language (UML) specifications can be formally verified by analyzing the corresponding B specification, and integration of UML specifications and B method can overcomes the drawbacks of UML. In this paper Statemate, one tool supporting the virtual prototype technology, is used , and the flight control software behaviors are presented in the form of statecharts The B method is adopted to translate the statecharts into B specification of flight control software.