Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

speeding up a software program originally wriiten in c

i am newbie to fpgas programming. I have been programming in c and Fortran for many years.

I want to speed up a c program hopefully, by 100x. I have already speeded it up by

8x by using a multicore CPU and GPU programming. I want it to go faster.

Is there a book or whitepaer somewhere on this site or the internet taht walks one through an example?

I also think that to convert a c program of some complexity, one must initially create a dataflow

diagram and then work with that. This is take advantage of an fpgas maximum parallellism and

pipelining capability.

Is there software that will help a program to create a dataflow diagram from c source?

Any assitence appreciated.

Thanks in advance.

Resepcfully,

Lou_Reed

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Create a dataflow diagram from c source with a tool : good luck !

    You can "speed up" a c program by many ways :

    - redesign the project from draft to produce a digital schema (And , or, not, D flip flop) Finite state machine which FPGAs are intended for.

    - convert some functions in VHDL (Altera call them "accelerated C functions") which can partially speed up the borad.

    - ...

    It highly depends of your project.