Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to constraint clock ?

Status
Not open for further replies.

nemolee

Full Member level 3
Joined
Dec 28, 2004
Messages
155
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,298
Activity points
1,467
Snap5.jpg

How do I constraint these two clock ?
The signals in these two clock domain can talk each other.
Thank you.
 

Are you saying dclk and de are asynchronous to each other? If so, you need to first synchronize the de signal.
 

Which are the 2 clocks you are talking about.(de & dclk). I see a total of 4 clocks in the design which have to be provided constraints...2 primary and 2 generated
 

This circuit produces hclk pulse on every rising edge of de . It is synchronized in 1st FF.

It is valid as long as clk cycle is shorter than de positive interval.
 

This circuit produces hclk pulse on every rising edge of de . It is synchronized in 1st FF.

It is valid as long as clk cycle is shorter than de positive interval.

I don't think this is good practice. If de violates the setup time of the first FF, its output could go metastable. Maybe the second FF sees that metastable state as a zero (fine), but maybe it sees it as a one. That's going to mess things up.
 

I don't think this is good practice. If de violates the setup time of the first FF, its output could go metastable. Maybe the second FF sees that metastable state as a zero (fine), but maybe it sees it as a one. That's going to mess things up.
The first thing I thought when I saw the OP's schematic and waveform was this is going to result in a RE-SPIN.

If this circuit is supposed to detect the rising edges (hclk) of de using a dclk that turns on and off then based on the implementation that dclk better be synchronous with de. Based on that timing diagram it seems that dclk is generated from some logic or gated clock, so it's going to have skew from de even if both dclk and de are generated from the same base clock. My advice rethink what you are doing and look for a better solution.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top