SigmaStudio 3.6 code generation bug
When generating C header files, the 'signal detection' block creates duplicate macro definitions. Here's an example with the duplicate names highlighted:
/* Module Signal Detection1 - Signal Detection*/
#define MOD_SIGNALDETECTION1_COUNT 3
#define MOD_SIGNALDETECTION1_DEVICE "IC1"
#define MOD_SIGNALDETECTION1_ALG0_CONSIGDETALG1_ADDR 75
#define MOD_SIGNALDETECTION1_ALG0_CONSIGDETALG1_FIXPT 0x007FFE1B
#define MOD_SIGNALDETECTION1_ALG0_CONSIGDETALG1_VALUE SIGMASTUDIOTYPE_FIXPOINT_CONVERT(0.999942239533362)
#define MOD_SIGNALDETECTION1_ALG0_CONSIGDETALG1_TYPE SIGMASTUDIOTYPE_FIXPOINT
#define MOD_SIGNALDETECTION1_ALG0_SIGDETALG1_ADDR 76
#define MOD_SIGNALDETECTION1_ALG0_SIGDETALG1_FIXPT 0x00000346
#define MOD_SIGNALDETECTION1_ALG0_SIGDETALG1_VALUE SIGMASTUDIOTYPE_FIXPOINT_CONVERT(0.0001)
#define MOD_SIGNALDETECTION1_ALG0_SIGDETALG1_TYPE SIGMASTUDIOTYPE_FIXPOINT
#define MOD_SIGNALDETECTION1_ALG0_SIGDETALG1_ADDR 77
#define MOD_SIGNALDETECTION1_ALG0_SIGDETALG1_FIXPT 0x0000679F
#define MOD_SIGNALDETECTION1_ALG0_SIGDETALG1_VALUE SIGMASTUDIOTYPE_FIXPOINT_CONVERT(0.00316227766016838)
#define MOD_SIGNALDETECTION1_ALG0_SIGDETALG1_TYPE SIGMASTUDIOTYPE_FIXPOINT
sigmastudio
Thank you for reporting this. I have forwarded it to the software team.
Just mentioning that this issue is still present in the latest 3.7 release.
Sorry about that, Ryan. I checked our bug-tracker database, and this was entered into the system back in May, but it hasn't been addressed. I have worked with the software team to assign a specific engineer to the job.
Thanks. It's not a catastrophic problem -- just annoying because of all the warnings from the compiler.
Please log in to reply.