Automatic generation of interfaces for distributed C-VHDL cosimulation of embedded systems: an industrial experience