Clock Synchronization
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Clock Synchronization

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA
Author Message
Neil
Guest





Posted: Sat Dec 18, 2004 3:23 am    Post subject: Clock Synchronization Reply with quote

I am looking for some material about the various clock synchronization
techniques, their advantages etc.

Thanks
Neil
Back to top
Rene Tschaggelar
Guest





Posted: Sun Dec 19, 2004 9:40 pm    Post subject: Re: Clock Synchronization Reply with quote

Neil wrote:

Quote:
I am looking for some material about the various clock synchronization
techniques, their advantages etc.

A flipflop does the job. There is little else to be said.
You're not talking about a PLL do you ?

Rene
--
Ing.Buero R.Tschaggelar - http://www.ibrtses.com
& commercial newsgroups - http://www.talkto.net
Back to top
Neil
Guest





Posted: Tue Dec 21, 2004 4:05 am    Post subject: Re: Clock Synchronization Reply with quote

Not PLL, I am looking at various types of synchronization techniques
for signals crossing clock boundaries.

- Neil
Back to top
Symon
Guest





Posted: Tue Dec 21, 2004 3:04 pm    Post subject: Re: Clock Synchronization Reply with quote

Neil,
Try this http://www.fpga-faq.com/archives/59400.html#59400
Cheers, Syms.
"Neil" <logblog@gmail.com> wrote in message
news:1103583946.091639.312550@c13g2000cwb.googlegroups.com...
Quote:

Not PLL, I am looking at various types of synchronization techniques
for signals crossing clock boundaries.

- Neil
Back to top
Peter
Guest





Posted: Tue Dec 21, 2004 10:32 pm    Post subject: Re: Clock Synchronization Reply with quote

Look at the TechXclusives article
"Moving Data Across Asynchronous Clock Boundaries"

Click at

http://support.xilinx.com/xlnx/xweb/xil_tx_home.jsp
and scroll down to 7-10-2001

Peter Alfke
Back to top
Klaus Schleisiek
Guest





Posted: Sat Dec 25, 2004 5:59 pm    Post subject: Re: Clock Synchronization Reply with quote

Neil schrieb:
Quote:
I am looking for some material about the various clock synchronization
techniques, their advantages etc.

The following code works pretty reliably, no matter wether the input
pulse is shorter or longer than the output domain clock CLK. On each
input "event", the output produces a pulse one CLK cycle long.

----------------------------------------------------------------
-- metastable safe spike detector
----------------------------------------------------------------

Library IEEE;
USE IEEE.STD_LOGIC_1164.ALL;

ENTITY spike IS
PORT (reset : IN STD_LOGIC;
clk : IN STD_LOGIC;
i : IN STD_LOGIC;
o : OUT STD_LOGIC);
END spike;

ARCHITECTURE rtl OF spike IS

ATTRIBUTE init : STRING;

SIGNAL hold : STD_LOGIC := '0'; ATTRIBUTE init OF hold : SIGNAL IS "0";
SIGNAL edge_d : STD_LOGIC_VECTOR(1 DOWNTO 0);
SIGNAL edge : STD_LOGIC;
SIGNAL edge_set : STD_LOGIC;

BEGIN

o <= edge;

edge_set <= i AND NOT (edge OR hold OR edge_d(1));

async_edge : PROCESS (edge_set, clk)
BEGIN
IF edge_set='1' THEN
edge_d <= "11";
ELSIF rising_edge(clk) THEN
edge_d <= edge_d(0) & '0';
edge <= '0';
IF edge_d="10" THEN
edge <= '1';
END IF;
IF reset='1' THEN
edge_d <= "00";
END IF;
END IF;
END PROCESS async_edge;

pulse_holdoff : PROCESS (edge_set, i)
BEGIN
IF edge_set='1' THEN
hold <= '1';
ELSIF falling_edge(i) THEN
hold <= '0';
END IF;
END PROCESS pulse_holdoff;

END rtl;

Klaus Schleisiek

kschleisiek AT XYfreenet.de
If you want to send me an e-mail, use above address and remove XY
Back to top
Elder Costa
Guest





Posted: Sat Dec 25, 2004 7:17 pm    Post subject: Re: Clock Synchronization Reply with quote

Neil wrote:

Quote:
Not PLL, I am looking at various types of synchronization techniques
for signals crossing clock boundaries.

- Neil


Is this the kind of stuff you are after?

http://www.cadence.com/whitepapers/cdc_wp.pdf
http://www.chipdesignmag.com/display.php?articleId=32&issueId=5
http://www.edn.com/article/CA310388.html

Also
http://www.google.com/search?q=crossing+clock+domains

HTH.

Regards.

Elder.
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB