Hello All,
I am trying to port ECG code, ie C5515 MDK to DM3730.(c64x+). CCS Version: 4.1.0.02002
I was able to port the c files and was able to generate an .out file.
I have the assembly files to be ported.
What i have to do to port these file? Is it i should completely rewrite the .asm.
Also i found out that in C5515 , in Properties -> C/C++ Build->Run Time Model Options -> Code Gen outputs algebraic was enabled.
But in C64X+ project , i could not get that option.
Kindly Suggest.
The functions in C5515 are provided below for reference.
.asmfunc
_ECG_FilterProcess:
AC0 = 0;
repeat (#351)
AC0 = AC0 + ((*AR0-)* (*AR1+));
; repeat (#351)
; AC0 = AC0 + ((*AR0-)* (*CDP+)) || AC1 = AC1 + ((*AR1-)* (*CDP+));
(*AR2+) = HI(AC0);
(*AR2) = AC0;
return
.endasmfunc
.func
_ECG_AntiAlising_FilterProcess:
AC0 = 0;
repeat (#51)
AC0 = AC0 + ((*AR0-)* (*AR1+));
(*AR2+) = HI(AC0);
(*AR2) = AC0;
return
.endfunc