Control and computation co-design deals with the interaction between feedback control laws design and their implementation on a real execution resource. Control design is often carried out in the framework of continuous time, or under the assumption of ideal sampling with equidistant intervals and known delays. Implementation on a real-time execution platform introduces many timing uncertainties and distortions to the ideal timing scheme, e.g. due to variable computation durations, complex preemption patterns between concurrent activities, uncertain network induced communication delays or occasional data loss. Analyzing, prototyping, simulating and guaranteeing the safety of complex control systems are very challenging topics. Models are needed for the mechatronic continuous system, for the discrete controllers and diagnosers, and for network behavior. Real-time properties (task response times) and the network Quality of Service (QoS) influence the controlled system properties (Quality of Control, QoC). To reach effective and safe systems it is not enough to provide theoretic control laws and leave programmers and real-time systems engineers just do their best to implement the controllers. This report first describes, through the detailed design of a quadrotor drone controller, the main features of {\sc Orccad}, an integrated development environment aimed to bridge the gap between advanced control design and real-time implementation. Besides control design and implementation, a real-time (hardware-in-the-loop) simulation has been designed to assess the control design with a simulated target rather than with the real plant. Using this HIL structure, several experiments using flexible real-time control features are reported, namely Kalman filters subject to data loss, control under (m,k)-firm constraints, control with varying sampling rates and feedback scheduling using the MPC approach