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

Reply

VHDL - what are the problems associated with asynchronous design

 
Thread Tools Search this Thread
Old 11-04-2006, 05:38 AM   #1
Default what are the problems associated with asynchronous design


I had this interview questions regarding asynhronous design, and I was
not able to answer it. Question was regarding desing where one end of
the block was at x freq and other end of the block was at y freq.
So what are the problems associated with this design, and how can we
fix them.
Can you guys provide me few hints, pointers and suggestions
Thank you.



ankitks@yahoo.com
  Reply With Quote
Old 11-04-2006, 09:47 AM   #2
Niv
 
Posts: n/a
Default Re: what are the problems associated with asynchronous design

wrote:
> I had this interview questions regarding asynhronous design, and I was
> not able to answer it. Question was regarding desing where one end of
> the block was at x freq and other end of the block was at y freq.
> So what are the problems associated with this design, and how can we
> fix them.
> Can you guys provide me few hints, pointers and suggestions
> Thank you


Think - Metastability.



Niv
  Reply With Quote
Old 11-04-2006, 03:00 PM   #3
Nicolas Matringe
 
Posts: n/a
Default Re: what are the problems associated with asynchronous design
Niv a écrit :
> wrote:
>> I had this interview questions regarding asynhronous design, and I was
>> not able to answer it. Question was regarding desing where one end of
>> the block was at x freq and other end of the block was at y freq.
>> So what are the problems associated with this design, and how can we
>> fix them.
>> Can you guys provide me few hints, pointers and suggestions
>> Thank you

>
> Think - Metastability.
>

Race conditions, too.

Nicolas


Nicolas Matringe
  Reply With Quote
Old 11-04-2006, 06:13 PM   #4
KJ
 
Posts: n/a
Default Re: what are the problems associated with asynchronous design

<> wrote in message
news: ups.com...
>I had this interview questions regarding asynhronous design, and I was
> not able to answer it. Question was regarding desing where one end of
> the block was at x freq and other end of the block was at y freq.
> So what are the problems associated with this design, and how can we
> fix them.


First of all, if you have two things running synchronously at two different
frequencies (x and y per your post) then this is not asynchronous design.
Asynchronous design does not have free running clocks running at any preset
frequency, they handshake things across.

But now if you do have two things running at 'x' and 'y' frequency and they
need to communicate with each other the general approach is a dual clock
fifo to move stuff in one clock domain into the other. As a designer of
such a system you would generally use an already designed dual clock fifo
and plop them down and now the two sides are talking.

Many times the signals that cross the clock domains are relatively static
and do not require any high speed communications path. An very simple
example is a reset signal. Maybe the 'reset' signal gets generated at power
up in the 'x' clock domain but needs to make it over into the 'y' clock
domain so that it can be used with the 'y' clock. All you need for these
types of signals is a set of flip flops instead of a full blown dual clock
fifo. Now sit down and look at timing specifications for flip flops and
work through the problem of how you can sample a signal that is synchronized
to the 'x' clock with a set of flip flops that are all clocked by the 'y'
clock. In particular ponder on the setup and hold time parameters and how
can you guarantee proper behaviour on your output given that you have no
control over the input times.

That will lead you into the subject of timing analysis in general and
metastability as a particular sub-topic which will lead you to the fact that
you won't be able to make an absolute guarantee of correct operation but
will only be able to provide a statistical guarantee of correct behaviour
(something of the form "Expected to have one failure only once every 10,000
years"). Once you have a good understanding of how you would move one
signal from one clock domain to the other you'll have a basic appreciation
for how difficult it might be to actually design a true dual clock fifo
which does not have the luxury of assuming that the signals that are moving
clock domains are relatively low occurances (like the 'reset' signal).

KJ




KJ
  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
Error: Physical sythesis tool PALAC is not supported by Formal Verification tool Conf bbiandov Software 0 12-22-2008 05:25 AM
Sewing, Embroidery & SignMaking Software.. embsupply Software 0 10-02-2007 04:29 PM
Re: Pioneer DVR-105 and Nero Problems Ron DVD Video 1 08-08-2003 06:33 PM
Re: Pioneer DVR-105 and Nero Problems Flossie DVD Video 0 08-07-2003 02:25 PM
Re: Pioneer DVR-105 and Nero Problems Flossie DVD Video 0 08-07-2003 08:11 AM




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