Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Pipelining of FPGA code

 
Thread Tools Search this Thread
Old 11-30-2007, 05:06 AM   #1
Default Pipelining of FPGA code


Hi,

I am trying to understand what Pipelined designing/architecture for
FPGA's mean ?

I went through documents which list all the benefits of using
pipelining for FPGA's. But, none of them explicitly explained how
pipelined architecture was better (efficiency-wise) against a non-
pipelined architecture. I would'nt generally ask such kind of
questions in a forum. But going through books and
searching in Google didnt help me.

It would help me if someone could point to some article / book /
example (and
preferably a Verilog /VHDL based one) which explains pipelining at in
depth.

Thanks.

Shah.


dash82
  Reply With Quote
Old 11-30-2007, 07:42 AM   #2
Thomas Stanka
 
Posts: n/a
Default Re: Pipelining of FPGA code
On 30 Nov., 06:06, dash82 <dhavalru...@gmail.com> wrote:
> I am trying to understand what Pipelined designing/architecture for
> FPGA's mean ?


The same as pipelined in any other HW architecture.
A very basic answer is:
The calculation of f = A + ((B + C) * D) could be done in one clock
cycle, which slows down the maximum clock cycle of your device, as the
longest datapath is through two adders and one multiplier.
If you pipeline, you add registers in between and use three clock
cycles to get the result with much faster clock cycles.
f1 = B+C, f2 = f1 * D, f = A + f2
The overall speed for one calculation would slow down a bit, as you
add two register delays and need your clock to be slow enough for the
slowest part of the operation. If you need this operation done for a
datastream, you gain each clock cycle after the second one a new value
for f(t) as f1(t+2) and f2(t+1) is calculated in parallel to f(t).

bye Thomas


Thomas Stanka
  Reply With Quote
Old 11-30-2007, 10:51 PM   #3
David R Brooks
 
Posts: n/a
Default Re: Pipelining of FPGA code
Thomas Stanka wrote:
> On 30 Nov., 06:06, dash82 <dhavalru...@gmail.com> wrote:
>> I am trying to understand what Pipelined designing/architecture for
>> FPGA's mean ?

>
> The same as pipelined in any other HW architecture.
> A very basic answer is:
> The calculation of f = A + ((B + C) * D) could be done in one clock
> cycle, which slows down the maximum clock cycle of your device, as the
> longest datapath is through two adders and one multiplier.
> If you pipeline, you add registers in between and use three clock
> cycles to get the result with much faster clock cycles.
> f1 = B+C, f2 = f1 * D, f = A + f2
> The overall speed for one calculation would slow down a bit, as you
> add two register delays and need your clock to be slow enough for the
> slowest part of the operation. If you need this operation done for a
> datastream, you gain each clock cycle after the second one a new value
> for f(t) as f1(t+2) and f2(t+1) is calculated in parallel to f(t).
>

http://en.wikipedia.org/wiki/Pipelining


David R Brooks
  Reply With Quote
Old 12-02-2007, 02:36 AM   #4
dash82
 
Posts: n/a
Default Re: Pipelining of FPGA code
On Nov 30, 5:51 pm, David R Brooks <daveb...@iinet.net.au> wrote:
> Thomas Stanka wrote:
> > On 30 Nov., 06:06, dash82 <dhavalru...@gmail.com> wrote:
> >> I am trying to understand what Pipelined designing/architecture for
> >> FPGA's mean ?

>
> > The same as pipelined in any other HW architecture.
> > A very basic answer is:
> > The calculation of f = A + ((B + C) * D) could be done in one clock
> > cycle, which slows down the maximum clock cycle of your device, as the
> > longest datapath is through two adders and one multiplier.
> > If you pipeline, you add registers in between and use three clock
> > cycles to get the result with much faster clock cycles.
> > f1 = B+C, f2 = f1 * D, f = A + f2
> > The overall speed for one calculation would slow down a bit, as you
> > add two register delays and need your clock to be slow enough for the
> > slowest part of the operation. If you need this operation done for a
> > datastream, you gain each clock cycle after the second one a new value
> > for f(t) as f1(t+2) and f2(t+1) is calculated in parallel to f(t).

>
> http://en.wikipedia.org/wiki/Pipelining


Thank you !


dash82
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46