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

Reply

VHDL - question on timing in synthesizable vhdl

 
Thread Tools Search this Thread
Old 09-12-2005, 05:34 PM   #1
Default Re: question on timing in synthesizable vhdl


Okashii wrote:

> My question is for a process sensitive to a CLK signal, if the process is
> very long and also call a whole list of complex procedures, will this limit
> the maximum clock rate of CLK, and will this pose a efficiency problem in
> actual hardware,


The length of a process is a matter of style.
Length alone has nothing to do
with efficiency or fmax. The same synchronous design
entity can be described in one process or in
many processes and infer the same hardware.
Long processes may describe both single level
and pipelined structures.

Long processes allows effective use of variables
as registers and makes synthesis do more work for you.
An architecture full of short processes
looks more like schematic netlist using
signals as wires.

-- Mike Treseler


Mike Treseler
  Reply With Quote
Old 09-12-2005, 07:23 PM   #2
Mike Treseler
 
Posts: n/a
Default Re: question on timing in synthesizable vhdl
Okashii wrote:
>>The length of a process is a matter of style.
>>Length alone has nothing to do
>>with efficiency or fmax. The same synchronous design
>>entity can be described in one process or in
>>many processes and infer the same hardware.
>>Long processes may describe both single level
>>and pipelined structures.

>
> Does this means that the compiler or synthesis tool
> may optimize the inferred hardware to pipelined structures even though I use
> only 1 long process?.


No. The job of synthesis is to generate
a netlist of device primitives that simulates
the same as the source code. Period.
If you want a pipeline, it must be described
in your source. You many describe the pipeline
with multiple statements in a single process
or with one process per register. It's
up to the designer which is easier to write and read.

-- Mike Treseler


Mike Treseler
  Reply With Quote
Old 09-13-2005, 12:59 AM   #3
Andy Peters
 
Posts: n/a
Default Re: question on timing in synthesizable vhdl
Okashii wrote:
> Mike wrote:
> > No. The job of synthesis is to generate
> > a netlist of device primitives that simulates
> > the same as the source code. Period.
> > If you want a pipeline, it must be described
> > in your source. You many describe the pipeline
> > with multiple statements in a single process
> > or with one process per register. It's
> > up to the designer which is easier to write and read.

>
> Is it true that whether the synchronous long process ends up as a single or
> pipeline structure is dependent on how the source is written?


Of course -- if you describe a pipeline, your hardware will be a
pipeline.

However, modern synthesis tools are clever and can optimize the
pipeline. For example, if you write a multiplier and add two registers
after it, the synthesizer will automagically pipeline the multiplier,
potentially allowing for a faster clock rate at the expensive of
pipeline latency.

> Also, if it ends up as a single level structure will decrease the maximum
> clock rate?


Depends on how much combinatorial logic is required to implement each
path.

-a



Andy Peters
  Reply With Quote
Old 09-13-2005, 07:01 AM   #4
Okashii
 
Posts: n/a
Default question on timing in synthesizable vhdl
Hi people,
I'm new to vhdl so please correct me if I have any conceptual problems. What
I am doing now is trying to convert openmp (a c-like language with
parallelism) to synthesizable vhdl.
My question is for a process sensitive to a CLK signal, if the process is
very long and also call a whole list of complex procedures, will this limit
the maximum clock rate of CLK, and will this pose a efficiency problem in
actual hardware, as I think it will take 1 clock cycle to execute the whole
sequence of statements (giving long propagation delay and hence low clock
rate?). For e.g. if I run 6 processes with the same clock signal, and one of
the process has 3 milliseconds propagation delay, and while the other 5 has
1 nanosecond propagation delay, will the other 5 will also take 3
milliseconds to complete because the longest propagation delay is taken? I
am not very sure whether this will happen, but I just imagine that it will

Thanks in advance!




Okashii
  Reply With Quote
Old 09-13-2005, 09:12 AM   #5
Okashii
 
Posts: n/a
Default Re: question on timing in synthesizable vhdl
> The length of a process is a matter of style.
> Length alone has nothing to do
> with efficiency or fmax. The same synchronous design
> entity can be described in one process or in
> many processes and infer the same hardware.
> Long processes may describe both single level
> and pipelined structures.


I'm a bit confused here. Does this means that the compiler or synthesis tool
may optimize the inferred hardware to pipelined structures even though I use
only 1 long process?.




Okashii
  Reply With Quote
Old 09-13-2005, 11:07 AM   #6
Okashii
 
Posts: n/a
Default Re: question on timing in synthesizable vhdl
> No. The job of synthesis is to generate
> a netlist of device primitives that simulates
> the same as the source code. Period.
> If you want a pipeline, it must be described
> in your source. You many describe the pipeline
> with multiple statements in a single process
> or with one process per register. It's
> up to the designer which is easier to write and read.


Is it true that whether the synchronous long process ends up as a single or
pipeline structure is dependent on how the source is written?
Also, if it ends up as a single level structure will decrease the maximum
clock rate?

Okashii




Okashii
  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

Similar Threads
Thread Thread Starter Forum Replies Last Post
VHDL sll shift question ohaqqi Hardware 4 09-29-2009 11:27 AM
How to execute an external software from VHDL? And how to interface VHDL with JAVA? becool_nikks Software 0 03-06-2009 07:08 PM
synthesizable divide operation in VHDL varshini Hardware 0 12-02-2008 06:55 AM
Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good Filthy Mcnasty DVD Video 0 04-25-2005 04:29 AM
A timing question about PAL DVD's please? Film Buff DVD Video 3 01-04-2005 05:39 PM




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