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

Reply

VHDL - Resincronization problem: slow to fast domain

 
Thread Tools Search this Thread
Old 06-10-2008, 10:02 AM   #1
Default Resincronization problem: slow to fast domain


Hi all.
I'm thinking about resinchronize some signal of a slow time domain in a higher one.

In detail in a project I've 2 fifo written and readed with 3 different clock (first one is written with burst of 27Mhz and read with a 0.5Mhz, wheraes the second one is written with the 0.5Mhz and read with 5Mhz more or less).

No problem in doing it, but for detect some error in the stream I need to read fifo_empty and fifo_full of all this fifo with the 27Mhz.

I was thinking about doing it in this way:

fifo_signal_clk.clk <= not fifo_signal.clk;
fifo_signal_nclk <= fifo_signal;

fifo_signal_1_rclk.clk <= 27Mhz;
fifo_signal_2_rclk.clk <= 27Mhz;
fifo_signal_3_rclk.clk <= 27Mhz;
fifo_signal_1_rclk <= fifo_signal_nclk;
fifo_signal_2_rclk <= fifo_signal_1_rclk;
fifo_signal_3_rclk <= fifo_signal_2_rclk;

control.clk <= 27Mhz;
control <= fifo_signal_1_rclk XNOR fifo_signal_2_rclk;

fifo_usable_signal.clk <= 27Mhz;
fifo_usable_signal.ena <= control;
fifo_usable_signal <= fifo_signal_3_rclk;


What do you think?
Could be a way? Too much logic wasted?


mmarco76
mmarco76 is offline   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
Trouble joining a computer to a domain: network path not found daveh551 General Help Related Topics 1 08-11-2007 05:53 AM
Dial Up Problem smackedass A+ Certification 3 02-02-2007 11:59 PM
Re: Virus Problem ** Help!** David BlandIII A+ Certification 1 03-02-2004 06:00 PM
Re: Serious Computer Problem hootnholler A+ Certification 1 11-24-2003 12:18 PM
Re: Serious Computer Problem Bret A+ Certification 0 11-19-2003 12:51 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