Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Is this Multi-Cycle Path ?

Reply
Thread Tools

Is this Multi-Cycle Path ?

 
 
Ved
Guest
Posts: n/a
 
      01-10-2007
Hi all,
I have a design which has 15 blocks.
Data enters from 1st block and after 60 clocks comes out from 15th
block.
I control enabling of each block by using a counter which counts till
60 at each clock (same clock as above).
So this counter output(say count) goes to every block and every block
has statements something like this :

Blcok 1:
If count >=2 than
-----Do something
end if;

Blcok 2:
If count >=4 than
-----Do something
end if;

Blcok 3:
If count >=7 than
-----Do something
end if;

Blcok 4:
If count >=18 than
-----Do something
end if;

................and so on.

Blcok 15:
If count >=18 than
-----Do something
end if;


My question is that is the data going in block 1 and being processed
through all the blocks and than coming out of block 15 will be a
Multi-Cycle path ?
And why ?


regards ved

 
Reply With Quote
 
 
 
 
Jim Lewis
Guest
Posts: n/a
 
      01-10-2007
Ved,
Can't answer your question directly without more information.
I will answer your question indirectly:

A pipeline separates multiple states of combinational
logic with registers. Below c1 through c4 are blocks
of combinational logic. "|" is a register:

in -- | c1 | c2 | c3 | c4 | -- out

Lets suppose that each block plus register will
perform at 10 ns clock boundaries. I constrain the
design for 10 ns clock, synthesize, and life is good.

Multicycle path says that in some technologies
registers are expensive (such as an ASIC but not
most FPGAs), so lets remove the internal registers:

in -- | c1 c2 c3 c4 | -- out

Since the pipelined design ran at 10 ns, this
one should be able to run at 40 ns. However, we
want to run the design at 10 ns. If we only need
an output once every 40 ns, then we can add control
signals (to capture in and out at the appropriate time)
and tell the synthesis tool that this is a multicycle
path. Make sure to capture the output only when it is
stable - especially if the object in the datapath
is used as status or control to some other piece of
logic.

Pipelining summary:
1) provides a result once every clock once
the pipeline gets filled.
2) no extra timing constraints - so no risk.
3) Costs an extra register if the technology (ASIC)
does not absorb it into a cell with combinational
logic. Note that in most FPGAs, the cost is nothing.


Multicycle Summary:
1) Produces a result, once every several clocks
2) Need to add timing constraints to identify the path
3) Be very careful to capture input and output values
at appropriate times.


In general, I will do pipelining unless there is some area
concern in an ASIC (which there usually is not) or some reason
it is not easy to do pipelining (such as a data in bus to a chip
that goes everywhere and as a result is slow).

With your problem, if there are registers between the stages
you describe then it is pipelining, if not then it is a
multicycle path.

Cheers,
Jim


> Hi all,
> I have a design which has 15 blocks.
> Data enters from 1st block and after 60 clocks comes out from 15th
> block.
> I control enabling of each block by using a counter which counts till
> 60 at each clock (same clock as above).
> So this counter output(say count) goes to every block and every block
> has statements something like this :
>
> Blcok 1:
> If count >=2 than
> -----Do something
> end if;
>
> Blcok 2:
> If count >=4 than
> -----Do something
> end if;
>
> Blcok 3:
> If count >=7 than
> -----Do something
> end if;
>
> Blcok 4:
> If count >=18 than
> -----Do something
> end if;
>
> ...............and so on.
>
> Blcok 15:
> If count >=18 than
> -----Do something
> end if;
>
>
> My question is that is the data going in block 1 and being processed
> through all the blocks and than coming out of block 15 will be a
> Multi-Cycle path ?
> And why ?
>
>
> regards ved
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server.MapPath() croaking with "failed to map path", but path is legal awbacker@gmail.com ASP .Net 0 05-12-2005 10:50 PM
how to get application path? Is that my method in getting path wrong? James Java 2 12-07-2004 11:59 AM
absolute path versus relative path in JSP Matt Java 3 07-08-2004 08:31 PM
Bizzare: Invalid path to Access mdb, path is good Keith-Earl ASP .Net 1 05-03-2004 03:25 PM
Tomcat returning 404 error when using additional path (/servlet/myServlet/extra/path/info) Mupota Muchelemba Java 1 02-04-2004 12:43 AM



Advertisments