Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21592 Discussions

speeding up a software program originally wriiten in c

Altera_Forum
Honored Contributor II
1,058 Views

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
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
390 Views

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.
0 Kudos
Reply