I would like to merge both fir_low pass filter example and the audio play back example. Could anyone help?
I would like to merge both fir_low pass filter example and the audio play back example. Could anyone help?
Hi,
If you were trying to apply filter for all individual channels, then you need to split the ADC samples according to the channels. Do individual channels filter configuration before enabling ADC and DAC. And inside ProcessBuffers()function enable fir by calling adi_fir_EnableConfig() API next to adi_adau1979_SubmitBuffer() API and copy the output filter samples to DAC.
If this information is not meet your requirements means, please let us know which mode you are using TDM or I2S and also let us know how many channels you need to process filter.
Best Regards,
Santhakumari.K
I need a two input two output system with a 750Hz low pass filter
Hi,
You can use MATLAB software to generate coefficients for 750Hz lowpass filter.
Before starting the filtering process, you have to convert ADC samples from fixed value to float value.
Please refer the attached example project. In this project, we have separated individual channel samples and converted from fixed value to float value. You can implement your filter algorithms here. Here we have just passed through those samples and converted from float to fix and sent to DAC channel output pins. Kindly use this as a base for your development.
Best Regards,
Santhakumari.K
Yeah, I have tried, but the program seems not continuous.
Yeah, I have tried, but the program seems not continuous.
Also, could you please provide the code to generate that? And the file size 1024 fixed or not? please tell me what is the determination of the file size
You can use MATLAB software to generate coefficients for 750Hz lowpass filter.
Hi,
Please enable optimization in sharc core in the project that we shared to you. That application works fine and we are able to get clear sinewave from individual channels.
Here we have attached coefficients generated using Matlab software for 750Hz with sampling frequency as 48KHz and tap length 1024.
Best Regards,
Santhakumari.K
-9.75507599144792e-20 -4.88987680255192e-06 -9.75491133461924e-06 -1.45512056071637e-05 -1.92352213883790e-05 -2.37641313652061e-05 -2.80961675320097e-05 -3.21909644878777e-05 -3.60098953193639e-05 -3.95163977496272e-05 -4.26762882484094e-05 -4.54580618209368e-05 -4.78331752283404e-05 -4.97763114384552e-05 -5.12656231646912e-05 -5.22829534229279e-05 -5.28140311229044e-05 -5.28486398121112e-05 -5.23807578074595e-05 -5.14086680835914e-05 -4.99350364370770e-05 -4.79669566132423e-05 -4.55159612671237e-05 -4.25979978319992e-05 -3.92333685878217e-05 -3.54466344571757e-05 -3.12664823073241e-05 -2.67255558024747e-05 -2.18602501293075e-05 -1.67104712094419e-05 -1.13193603131072e-05 -5.73298529661178e-06 3.17836957071673e-19 5.82872634219115e-06 1.17005075076597e-05 1.75612640278153e-05 2.33559694743071e-05 2.90291162037256e-05 3.45251971897347e-05 3.97892003048611e-05 4.47671111676848e-05 4.94064204487529e-05 5.36566313338326e-05 5.74697626794822e-05 6.08008432667450e-05 6.36083924670732e-05 6.58548825832669e-05 6.75071781197917e-05 6.85369472735012e-05 6.89210410193675e-05 6.86418352976654e-05 6.76875319900747e-05 6.60524146027515e-05 6.37370548544394e-05 6.07484666964506e-05 5.71002046675742e-05 5.28124039088134e-05 4.79117596278821e-05 4.24314443085462e-05 3.64109615016259e-05 2.98959356085395e-05 2.29378376700683e-05 1.55936477972463e-05 7.92545552238036e-06 -1.40248014243753e-19 -8.11184735631045e-06 -1.63356545615688e-05 -2.45940511876164e-05 -3.28073964202264e-05 -4.08944879294957e-05 -4.87733058649469e-05 -5.63617857520768e-05 -6.35786135775412e-05 -7.03440359126970e-05 -7.65806775461434e-05 -8.22143587813996e-05 -8.71749043113647e-05 -9.13969354118185e-05 -9.48206371062050e-05 -9.73924919469654e-05 -9.90659721376022e-05 -9.98021818864316e-05 -9.95704421388003e-05 -9.83488101795359e-05 -9.61245270308515e-05 -9.28943860910455e-05 -8.86650170633995e-05 -8.34530799089408e-05 -7.72853643164475e-05 -7.01987910125801e-05 -6.22403121276764e-05 -5.34667087810231e-05 -4.39442850450523e-05 -3.37484584816879e-05 -2.29632485063490e-05 -1.16806649153582e-05 -2.36558343440014e-19 1.19729712462421e-05 2.41268772530407e-05 3.63457157167290e-05 4.85098915464320e-05 6.04973183470813e-05 7.21845739857432e-05 8.34480999732324e-05 9.41654336627470e-05 0.000104216461631068 0.000113484682075256 0.000121858463636989 0.000129232287765428 0.000135507961554001 0.000140595787942160 0.000144415680263892 0.000146898208353244 0.000147985563784607 0.000147632432331811 0.000145806762373486 0.000142490418749591 0.000137679712480610 0.000131385797790718 0.000123634929021385 0.000114468571273442 0.000103943359963155 9.21309059095253e-05 7.91174440731707e-05 6.50033256274564e-05 4.99023546454736e-05 3.39409723158975e-05 1.72572932406082e-05 -2.61839507311517e-19 -1.76728962188398e-05 -3.55954195681357e-05 -5.35951071875897e-05 -7.14945882496028e-05 -8.91132507562446e-05 -0.000106268981211372 -0.000122779961184678 -0.000138466503816708 -0.000153152912498759 -0.000166669343310801 -0.000178853652325199 -0.000189553208592735 -0.000198626653527867 -0.000205945587507627 -0.000211396164796656 -0.000214880578411102 -0.000216318417235909 -0.000215647878610671 -0.000212826820693892 -0.000207833640197192 -0.000200667962540612 -0.000191351133106532 -0.000179926500049695 -0.000166459481039323 -0.000151037408349499 -0.000133769148857428 -0.000114784497735864 -9.42333469147063e-05 -7.22846317150451e-05 -4.91250614037404e-05 -2.49576417536531e-05 1.26155114898192e-18 2.55174751680516e-05 5.13536637735401e-05 7.72588980059981e-05 0.000102977280160258 0.000128249114473580 0.000152813430665526 0.000176410575568765 0.000198784848035099 0.000219687151325765 0.000238877636463918 0.000256128309552320 0.000271225575851216 0.000283972693477630 0.000294192109933034 0.000301727655293645 0.000306446566805839 0.000308241320814837 0.000307031249411259 0.000302763920898070 0.000295416265147409 0.000284995427117638 0.000271539334217936 0.000255116965820204 0.000235828316003308 0.000213804043547519 0.000189204806250224 0.000162220279778951 0.000133067864483676 0.000101991086826032 6.92577053155620e-05 3.51575340395731e-05 -4.43814036527834e-19 -3.58885465054165e-05 -7.21677463322323e-05 -0.000108486345923256 -0.000144485484360909 -0.000179802123379269 -0.000214072588641250 -0.000246936188832817 -0.000278038877678129 -0.000307036922857623 -0.000333600545033122 -0.000357417489764391 -0.000378196495051412 -0.000395670617563427 -0.000409600381323425 -0.000419776713705112 -0.000426023635064698 -0.000428200670164209 -0.000426204951734751 -0.000419972989061672 -0.000409482077329504 -0.000394751326619934 -0.000375842292884400 -0.000352859196884467 -0.000325948720975244 -0.000295299377664188 -0.000261140448071883 -0.000223740492712756 -0.000183405441360527 -0.000140476273122512 -9.53263021747802e-05 -4.83580888622819e-05 5.49038176726090e-19 4.92975538209793e-05 9.90661723579089e-05 0.000148823776195050 0.000198079135277337 0.000246336574303532 0.000293100811248662 0.000337881883144584 0.000380200111528911 0.000419591058700965 0.000455610425119963 0.000487838837961331 0.000515886481023970 0.000539397516861220 0.000558054253193396 0.000571581007346934 0.000579747624646309 0.000582372609346715 0.000579325829819612 0.000570530763266447 0.000555966249209937 0.000535667725364558 0.000509727924181194 0.000478297013354130 0.000441582168826811 0.000399846574287849 0.000353407846759585 0.000302635893594509 0.000247950211954684 0.000189816647599003 0.000128743635485167 6.52779502494272e-05 -6.58467629422735e-19 -6.64812980074122e-05 -0.000133534016406584 -0.000200509043576814 -0.000266746184336218 -0.000331580479849271 -0.000394348687975438 -0.000454395862666354 -0.000511081968965461 -0.000563788468706098 -0.000611924811166602 -0.000654934762742341 -0.000692302510147808 -0.000723558472773031 -0.000748284761587735 -0.000766120224407158 -0.000776765020392027 -0.000779984670332100 -0.000775613533531666 -0.000763557666943820 -0.000743797027549630 -0.000716386984803923 -0.000681459116221504 -0.000639221265801208 -0.000589956851920764 -0.000534023418519474 -0.000471850430751079 -0.000403936323766088 -0.000330844820799039 -0.000253200544218002 -0.000171683950566741 -8.70256278194304e-05 7.67897082119379e-19 8.85815090797912e-05 0.000177877795007924 0.000267025811196491 0.000355148657653049 0.000441363946600441 0.000524792367485033 0.000604566370648346 0.000679838886412222 0.000749791994579367 0.000813645458409488 0.000870665037018077 0.000920170490874893 0.000961543196658566 0.000994233290150630 0.00101776625911641 0.00103174891220295 0.00103587465475858 0.00102992800810951 0.00101378831517341 0.000987432582296536 0.000950937414812876 0.000904480011974822 0.000848338195525025 0.000782889455190680 0.000708609003703290 0.000626066843492516 0.000535923856882559 0.000438926941341313 0.000335903221002069 0.000227753375199977 0.000115444134045415 -8.73121222317635e-19 -0.000117505737064345 -0.000235960615846497 -0.000354223167768610 -0.000471133539724648 -0.000585524479904679 -0.000696232586060740 -0.000802109711359934 -0.000902034419699059 -0.000994923380078709 -0.00107974258839155 -0.00115551830479709 -0.00122134759575216 -0.00127640837175119 -0.00131996881489981 -0.00135139609458822 -0.00137016427472228 -0.00137586132217787 -0.00136819513332277 -0.00134699850354685 -0.00131223297369137 -0.00126399149699924 -0.00120249988063836 -0.00112811696689061 -0.00104133353065261 -0.000942769881858698 -0.000833172173702403 -0.000713407429987888 -0.000584457317470581 -0.000447410701527498 -0.000303455035813004 -0.000153866648583893 9.70096345320062e-19 0.000156724004194676 0.000314830546743808 0.000472804175122516 0.000629102705508398 0.000782171632120199 0.000930458912687736 0.00107242999505984 0.00120658294539182 0.00133146353504179 0.00144568014129745 0.00154791831638905 0.00163695487994967 0.00171167139217177 0.00177106686838371 0.00181426960061728 0.00184054795793470 0.00184932004479104 0.00184016210547680 0.00181281557265023 0.00176719266905594 0.00170338048364684 0.00162164345638364 0.00152242421987019 0.00140634276057816 0.00127419387759261 0.00112694293244009 0.000965719899501638 0.000791811742621940 0.000606653159653470 0.000411815752672442 0.000208995697319205 -1.05509575153395e-18 -0.000213268553609126 -0.000428827641337373 -0.000644632708042225 -0.000858595187237840 -0.00106860148720220 -0.00127253257819800 -0.00146828400905812 -0.00165378617445436 -0.00182702464877182 -0.00198606039872575 -0.00212904968473820 -0.00225426346068526 -0.00236010608295867 -0.00244513314287252 -0.00250806824128342 -0.00254781853086237 -0.00256348885972310 -0.00255439436002526 -0.00252007133666292 -0.00246028632413977 -0.00237504319412365 -0.00226458821185498 -0.00212941295643244 -0.00197025503787800 -0.00178809656264635 -0.00158416031873251 -0.00135990367158103 -0.00111701018243815 -0.000857378981435020 -0.000583111948364150 -0.000296498774626829 1.12485296144672e-18 0.000303771862487248 0.000612072981348848 0.000922050490852138 0.00123076623741330 0.00153522180520356 0.00183238462363323 0.00211921494655398 0.00239269348185839 0.00264984944078105 0.00288778876872295 0.00310372231392158 0.00329499368684671 0.00345910656187349 0.00359375117360784 0.00369682976323498 0.00376648073543048 0.00380110129369682 0.00379936833142865 0.00376025736751143 0.00368305932874439 0.00356739499675652 0.00341322695424285 0.00322086888415858 0.00299099209582769 0.00272462917359099 0.00242317466646520 0.00208838276112417 0.00172236190515242 0.00132756637275502 0.000906784790727060 0.000463125668272650 -1.17668724460172e-18 -0.000478898963118163 -0.000969618655059433 -0.00146797270432582 -0.00196956884443142 -0.00246983903576437 -0.00296407158842742 -0.00344744505633228 -0.00391506365520166 -0.00436199394138490 -0.00478330247467051 -0.00517409417671741 -0.00552955108744351 -0.00584497121480581 -0.00611580716896012 -0.00633770426985955 -0.00650653781797871 -0.00661844922105068 -0.00666988067547228 -0.00665760810934217 -0.00657877210489754 -0.00643090653133799 -0.00621196463457810 -0.00592034234824117 -0.00555489861006412 -0.00511497248967761 -0.00460039695728779 -0.00401150914793418 -0.00334915700253264 -0.00261470219462309 -0.00181001928040542 -0.000937491039032833 1.20860663856629e-18 0.000999083815429767 0.00205591888171760 0.00316621179858329 0.00432524044637001 0.00552788052244942 0.00676863528628888 0.00804166831443926 0.00934083904178563 0.0106597408421480 0.0119917413799223 0.0133300249451004 0.0146676364668643 0.0159975268861742 0.0173125995554801 0.0186057573240053 0.0198699499600576 0.0210982215575927 0.0222837575728222 0.0234199311380563 0.0245003483041799 0.0255188918701747 0.0264697634678480 0.0273475235823542 0.0281471292040941 0.0288639688250354 0.0294938945122789 0.0300332508136350 0.0304789002739122 0.0308282453663432 0.0310792466708949 0.0312304371598891 0.0312809324811858 0.0312304371598891 0.0310792466708949 0.0308282453663432 0.0304789002739122 0.0300332508136350 0.0294938945122789 0.0288639688250354 0.0281471292040941 0.0273475235823542 0.0264697634678480 0.0255188918701747 0.0245003483041799 0.0234199311380563 0.0222837575728222 0.0210982215575927 0.0198699499600576 0.0186057573240053 0.0173125995554801 0.0159975268861742 0.0146676364668643 0.0133300249451004 0.0119917413799223 0.0106597408421480 0.00934083904178563 0.00804166831443926 0.00676863528628888 0.00552788052244942 0.00432524044637001 0.00316621179858329 0.00205591888171760 0.000999083815429767 1.20860663856629e-18 -0.000937491039032833 -0.00181001928040542 -0.00261470219462309 -0.00334915700253264 -0.00401150914793418 -0.00460039695728779 -0.00511497248967761 -0.00555489861006412 -0.00592034234824117 -0.00621196463457810 -0.00643090653133799 -0.00657877210489754 -0.00665760810934217 -0.00666988067547228 -0.00661844922105068 -0.00650653781797871 -0.00633770426985955 -0.00611580716896012 -0.00584497121480581 -0.00552955108744351 -0.00517409417671741 -0.00478330247467051 -0.00436199394138490 -0.00391506365520166 -0.00344744505633228 -0.00296407158842742 -0.00246983903576437 -0.00196956884443142 -0.00146797270432582 -0.000969618655059433 -0.000478898963118163 -1.17668724460172e-18 0.000463125668272650 0.000906784790727060 0.00132756637275502 0.00172236190515242 0.00208838276112417 0.00242317466646520 0.00272462917359099 0.00299099209582769 0.00322086888415858 0.00341322695424285 0.00356739499675652 0.00368305932874439 0.00376025736751143 0.00379936833142865 0.00380110129369682 0.00376648073543048 0.00369682976323498 0.00359375117360784 0.00345910656187349 0.00329499368684671 0.00310372231392158 0.00288778876872295 0.00264984944078105 0.00239269348185839 0.00211921494655398 0.00183238462363323 0.00153522180520356 0.00123076623741330 0.000922050490852138 0.000612072981348848 0.000303771862487248 1.12485296144672e-18 -0.000296498774626829 -0.000583111948364150 -0.000857378981435020 -0.00111701018243815 -0.00135990367158103 -0.00158416031873251 -0.00178809656264635 -0.00197025503787800 -0.00212941295643244 -0.00226458821185498 -0.00237504319412365 -0.00246028632413977 -0.00252007133666292 -0.00255439436002526 -0.00256348885972310 -0.00254781853086237 -0.00250806824128342 -0.00244513314287252 -0.00236010608295867 -0.00225426346068526 -0.00212904968473820 -0.00198606039872575 -0.00182702464877182 -0.00165378617445436 -0.00146828400905812 -0.00127253257819800 -0.00106860148720220 -0.000858595187237840 -0.000644632708042225 -0.000428827641337373 -0.000213268553609126 -1.05509575153395e-18 0.000208995697319205 0.000411815752672442 0.000606653159653470 0.000791811742621940 0.000965719899501638 0.00112694293244009 0.00127419387759261 0.00140634276057816 0.00152242421987019 0.00162164345638364 0.00170338048364684 0.00176719266905594 0.00181281557265023 0.00184016210547680 0.00184932004479104 0.00184054795793470 0.00181426960061728 0.00177106686838371 0.00171167139217177 0.00163695487994967 0.00154791831638905 0.00144568014129745 0.00133146353504179 0.00120658294539182 0.00107242999505984 0.000930458912687736 0.000782171632120199 0.000629102705508398 0.000472804175122516 0.000314830546743808 0.000156724004194676 9.70096345320062e-19 -0.000153866648583893 -0.000303455035813004 -0.000447410701527498 -0.000584457317470581 -0.000713407429987888 -0.000833172173702403 -0.000942769881858698 -0.00104133353065261 -0.00112811696689061 -0.00120249988063836 -0.00126399149699924 -0.00131223297369137 -0.00134699850354685 -0.00136819513332277 -0.00137586132217787 -0.00137016427472228 -0.00135139609458822 -0.00131996881489981 -0.00127640837175119 -0.00122134759575216 -0.00115551830479709 -0.00107974258839155 -0.000994923380078709 -0.000902034419699059 -0.000802109711359934 -0.000696232586060740 -0.000585524479904679 -0.000471133539724648 -0.000354223167768610 -0.000235960615846497 -0.000117505737064345 -8.73121222317635e-19 0.000115444134045415 0.000227753375199977 0.000335903221002069 0.000438926941341313 0.000535923856882559 0.000626066843492516 0.000708609003703290 0.000782889455190680 0.000848338195525025 0.000904480011974822 0.000950937414812876 0.000987432582296536 0.00101378831517341 0.00102992800810951 0.00103587465475858 0.00103174891220295 0.00101776625911641 0.000994233290150630 0.000961543196658566 0.000920170490874893 0.000870665037018077 0.000813645458409488 0.000749791994579367 0.000679838886412222 0.000604566370648346 0.000524792367485033 0.000441363946600441 0.000355148657653049 0.000267025811196491 0.000177877795007924 8.85815090797912e-05 7.67897082119379e-19 -8.70256278194304e-05 -0.000171683950566741 -0.000253200544218002 -0.000330844820799039 -0.000403936323766088 -0.000471850430751079 -0.000534023418519474 -0.000589956851920764 -0.000639221265801208 -0.000681459116221504 -0.000716386984803923 -0.000743797027549630 -0.000763557666943820 -0.000775613533531666 -0.000779984670332100 -0.000776765020392027 -0.000766120224407158 -0.000748284761587735 -0.000723558472773031 -0.000692302510147808 -0.000654934762742341 -0.000611924811166602 -0.000563788468706098 -0.000511081968965461 -0.000454395862666354 -0.000394348687975438 -0.000331580479849271 -0.000266746184336218 -0.000200509043576814 -0.000133534016406584 -6.64812980074122e-05 -6.58467629422735e-19 6.52779502494272e-05 0.000128743635485167 0.000189816647599003 0.000247950211954684 0.000302635893594509 0.000353407846759585 0.000399846574287849 0.000441582168826811 0.000478297013354130 0.000509727924181194 0.000535667725364558 0.000555966249209937 0.000570530763266447 0.000579325829819612 0.000582372609346715 0.000579747624646309 0.000571581007346934 0.000558054253193396 0.000539397516861220 0.000515886481023970 0.000487838837961331 0.000455610425119963 0.000419591058700965 0.000380200111528911 0.000337881883144584 0.000293100811248662 0.000246336574303532 0.000198079135277337 0.000148823776195050 9.90661723579089e-05 4.92975538209793e-05 5.49038176726090e-19 -4.83580888622819e-05 -9.53263021747802e-05 -0.000140476273122512 -0.000183405441360527 -0.000223740492712756 -0.000261140448071883 -0.000295299377664188 -0.000325948720975244 -0.000352859196884467 -0.000375842292884400 -0.000394751326619934 -0.000409482077329504 -0.000419972989061672 -0.000426204951734751 -0.000428200670164209 -0.000426023635064698 -0.000419776713705112 -0.000409600381323425 -0.000395670617563427 -0.000378196495051412 -0.000357417489764391 -0.000333600545033122 -0.000307036922857623 -0.000278038877678129 -0.000246936188832817 -0.000214072588641250 -0.000179802123379269 -0.000144485484360909 -0.000108486345923256 -7.21677463322323e-05 -3.58885465054165e-05 -4.43814036527834e-19 3.51575340395731e-05 6.92577053155620e-05 0.000101991086826032 0.000133067864483676 0.000162220279778951 0.000189204806250224 0.000213804043547519 0.000235828316003308 0.000255116965820204 0.000271539334217936 0.000284995427117638 0.000295416265147409 0.000302763920898070 0.000307031249411259 0.000308241320814837 0.000306446566805839 0.000301727655293645 0.000294192109933034 0.000283972693477630 0.000271225575851216 0.000256128309552320 0.000238877636463918 0.000219687151325765 0.000198784848035099 0.000176410575568765 0.000152813430665526 0.000128249114473580 0.000102977280160258 7.72588980059981e-05 5.13536637735401e-05 2.55174751680516e-05 1.26155114898192e-18 -2.49576417536531e-05 -4.91250614037404e-05 -7.22846317150451e-05 -9.42333469147063e-05 -0.000114784497735864 -0.000133769148857428 -0.000151037408349499 -0.000166459481039323 -0.000179926500049695 -0.000191351133106532 -0.000200667962540612 -0.000207833640197192 -0.000212826820693892 -0.000215647878610671 -0.000216318417235909 -0.000214880578411102 -0.000211396164796656 -0.000205945587507627 -0.000198626653527867 -0.000189553208592735 -0.000178853652325199 -0.000166669343310801 -0.000153152912498759 -0.000138466503816708 -0.000122779961184678 -0.000106268981211372 -8.91132507562446e-05 -7.14945882496028e-05 -5.35951071875897e-05 -3.55954195681357e-05 -1.76728962188398e-05 -2.61839507311517e-19 1.72572932406082e-05 3.39409723158975e-05 4.99023546454736e-05 6.50033256274564e-05 7.91174440731707e-05 9.21309059095253e-05 0.000103943359963155 0.000114468571273442 0.000123634929021385 0.000131385797790718 0.000137679712480610 0.000142490418749591 0.000145806762373486 0.000147632432331811 0.000147985563784607 0.000146898208353244 0.000144415680263892 0.000140595787942160 0.000135507961554001 0.000129232287765428 0.000121858463636989 0.000113484682075256 0.000104216461631068 9.41654336627470e-05 8.34480999732324e-05 7.21845739857432e-05 6.04973183470813e-05 4.85098915464320e-05 3.63457157167290e-05 2.41268772530407e-05 1.19729712462421e-05 -2.36558343440014e-19 -1.16806649153582e-05 -2.29632485063490e-05 -3.37484584816879e-05 -4.39442850450523e-05 -5.34667087810231e-05 -6.22403121276764e-05 -7.01987910125801e-05 -7.72853643164475e-05 -8.34530799089408e-05 -8.86650170633995e-05 -9.28943860910455e-05 -9.61245270308515e-05 -9.83488101795359e-05 -9.95704421388003e-05 -9.98021818864316e-05 -9.90659721376022e-05 -9.73924919469654e-05 -9.48206371062050e-05 -9.13969354118185e-05 -8.71749043113647e-05 -8.22143587813996e-05 -7.65806775461434e-05 -7.03440359126970e-05 -6.35786135775412e-05 -5.63617857520768e-05 -4.87733058649469e-05 -4.08944879294957e-05 -3.28073964202264e-05 -2.45940511876164e-05 -1.63356545615688e-05 -8.11184735631045e-06 -1.40248014243753e-19 7.92545552238036e-06 1.55936477972463e-05 2.29378376700683e-05 2.98959356085395e-05 3.64109615016259e-05 4.24314443085462e-05 4.79117596278821e-05 5.28124039088134e-05 5.71002046675742e-05 6.07484666964506e-05 6.37370548544394e-05 6.60524146027515e-05 6.76875319900747e-05 6.86418352976654e-05 6.89210410193675e-05 6.85369472735012e-05 6.75071781197917e-05 6.58548825832669e-05 6.36083924670732e-05 6.08008432667450e-05 5.74697626794822e-05 5.36566313338326e-05 4.94064204487529e-05 4.47671111676848e-05 3.97892003048611e-05 3.45251971897347e-05 2.90291162037256e-05 2.33559694743071e-05 1.75612640278153e-05 1.17005075076597e-05 5.82872634219115e-06 3.17836957071673e-19 -5.73298529661178e-06 -1.13193603131072e-05 -1.67104712094419e-05 -2.18602501293075e-05 -2.67255558024747e-05 -3.12664823073241e-05 -3.54466344571757e-05 -3.92333685878217e-05 -4.25979978319992e-05 -4.55159612671237e-05 -4.79669566132423e-05 -4.99350364370770e-05 -5.14086680835914e-05 -5.23807578074595e-05 -5.28486398121112e-05 -5.28140311229044e-05 -5.22829534229279e-05 -5.12656231646912e-05 -4.97763114384552e-05 -4.78331752283404e-05 -4.54580618209368e-05 -4.26762882484094e-05 -3.95163977496272e-05 -3.60098953193639e-05 -3.21909644878777e-05 -2.80961675320097e-05 -2.37641313652061e-05 -1.92352213883790e-05 -1.45512056071637e-05 -9.75491133461924e-06 -4.88987680255192e-06 -9.75507599144792e-20
Oh, Sorry for late reply, how to enable the optimization in sharc core?
Hi,
To enable optimization please follow the below steps :
Right click Project (SHARC core) > Properties > C/C++ Build > Settings > Tool Settings > Compiler > General > Enable optimization.
Also please refer the attached image for your reference.
Regards,
Santhakumari.K