![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Rhapsody in C code generation for small targets Topic Summary: experience exchange, tips, tricks and technical pitfalls requested Created On: 15-Jan-2008 16:37 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello,
I would like to ask you about your experience in Rhapsody code generation, especial for small targets. We are working as supplier in the automotive industry. Our targets are 16bit/32bit CPUs (e.g. NEC V850, MPC 551x) with RAM from 2-20kb and 128-256kb ROM. The main objective is to generate C code for drivers, and state driven applications like turn indicator etc. We have some experience with Statemate (Rhapsody for MicroC) code generation and also some experts for matlab simulink. I tried to implement an example project with some state machines and integrated it into the target (16bit). Therefore I used the synchronous framework. The first outcomes are not as I expected, performance is worse than in Statemate and the RAM ROM consumption are more than twice as Statemate. Used: Rhapsody in C Synchronous Framework Singleton Objects State machines I have not started to analyse the generated code in detail, but there are some OO mechanism in we don't need at code level. E.g.: No virtual function tables, the mapping between implementation and usage is always done at compile time. Ok we have no dynamic memory handling, and most objects are singletons. So we have to configure the code generation, perhaps adapt the framework to our needs. Now I'm waiting for the new release of Rhapsody and questioning myself: "How many effort I have to plan, to get a acceptable code generation?" Did someone of you have experience in an adaption like this? Best regards, Christian Loibl VDO Automotive AG SV I IC QM PMT SWEMT Siemensstrasse 12, 93055 Regensburg, Germany Ein Unternehmen des Continental-Konzerns/A Company of the Continental Corporation E-Mail: Christian.Loibl@continental-corporation.com http://www.continental-corporation.com |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.