FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-10-2007, 05:17 PM
Ved
Guest
 
Posts: n/a
Default Is this Multi-Cycle Path ?

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 ?


Thanks
Ved

Reply With Quote
  #2 (permalink)  
Old 01-10-2007, 11:41 PM
Gabor
Guest
 
Posts: n/a
Default Re: Is this Multi-Cycle Path ?

Ved wrote:
> 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 ?
>
>
> Thanks
> Ved


You don't show any data flow in the pseudo code, but in general
the definition of a multicycle path is when the output of a flip-flop
is not sampled on the next active edge of the clock after the
signal changes. This would occur for example if data that only
transitions while "count" is odd is only sampled while "count"
is odd. In this case there would always be 2 clock cycles
for data to settle after changing before it is sampled.

Also I'm not sure but do you really mean >= (greater or equal)
in your comparisons? This would seem to imply you generally
don't have Multi-Cycle paths, since each block could run
on a number of consecutive clock cycles.

HTH,
Gabor

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use Multi-cycle Path or Pipeline? Davy FPGA 5 01-08-2007 04:30 PM
Use Multi-cycle Path or Pipeline? Davy Verilog 5 01-08-2007 04:30 PM
Re: Multi Cycle path and False paths Subroto Datta Verilog 9 08-02-2003 07:44 PM
Re: Multi Cycle path and False paths Subroto Datta FPGA 9 08-02-2003 07:44 PM


All times are GMT +1. The time now is 01:14 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved