On Thu, Apr 18, 2013 at 5:27 AM, Chris Testa <tes...@gmail.com> wrote:
> they just came out with their newest offering, the SmartFusion2.  It's only
> available in one package right now, with lots and lots of gates on a BGA-848
> socket.

I've been playing around with the SF2 starter kit for the past month
or so. Most of the time has been spent running bare metal code, but I
downloaded the emcraft uclinux BSP to see what the FreeDV performance
was like.

I compiled c2enc for uclinux, with modifications to avoid SEGVs caused
by excessive stack usage (some patches to be posted). I'm not sure
what clock rate the M3 is running at, nor if the cache is enabled. The
system uses a SPI flash for the rootfs and 64MB of DDR as RAM.

The three second voice sample hts1a was used with the codec from svn
head running in 1600 bits mode.

At -Os
~ # ./c2enc 1600 hts1a.raw hts1a.c2_1600
16.2 seconds

At -O3
~ # ./c2enc 1600 hts1a.raw hts1a.c2_1600
15.4 seconds

So with the current implementation, we're 5 times slower than
real-time for the codec alone (not to mention the modem). I'm sure
there are to be gains to be made (the double -> float patches showed
an improvement for the Android port that I'm sure will be relevant
here), but still that's a lot to be made up. On the list to
investigate are the CMSIS DSP functions, a faster FFT, and then
there's the FPGA fabric.

So that answers my question to Bruce about why we're not using the M3
for FreeDV.

I look forward to seeing your hardware Chris!

Cheers,

Joel

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to