- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Different clock region constraint s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-26-2012 08:19 AM
Hi,
I want to constrain the different clock region between two groups: Is this right?How to caculator the MAX acceptiable time between CLK_A and CLK_B.
NET "CLK_A" TNM_NET = "clk180M";
NET "CLK_B" TNM_NET = "clk540M";
TIMESPEC TS_clk180M= PERIOD 5.555 ns HIGH 50 %;
TIMESPEC TS_clk540M= PERIOD 1.851 ns HIGH 50 %;
TIMESPEC TS_clk540M= FROM clk180MTO clk540M1.479 ns;
Re: Different clock region constraint s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-26-2012 09:09 AM
Hi,
I want to constrain the different clock region between two groups: Is this right?How to caculator the MAX acceptiable time between CLK_A and CLK_B.
NET "CLK_A" TNM_NET = "clk180M";
NET "CLK_B" TNM_NET = "clk540M";
TIMESPEC TS_clk180M= PERIOD 5.555 ns HIGH 50 %;
TIMESPEC TS_clk540M= PERIOD 1.851 ns HIGH 50 %;
TIMESPEC TS_clk540M= FROM clk180MTO clk540M1.479 ns;
You sould refer here
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Signature:
1.Have you ever tried typing your question into Google? If not you should before posting.
Too many results? Try adding site:www.xilinx.com
2.Read the datasheet and user guide. Have you read the user guide in detail ? Can you find the user guide?
3. Search the forums for similar topics.
4.I have neither found any similar thread in existing forum nor web-search is helpful to me.What should I do ?
Post your issue in detail comprehensive format on the relevant
forum.
5. Do not post the same question on multiple forums,please search and post it on relevant forum.
6. Do not raise a new topic or question on someone else's thread, start a new thread!
7. Students/Newbies: Copying code is not the same as learning to design.
8. "It does not work" is not a question which can be answered. Provide much details (with webaddress, datasheet links,etc..).
and make sure to be specific!
9. You are not charged extra fees for comments in your code,It will help others to understand well.
10.If someone answers your question, mark the post with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (the star on the left).
Re: Different clock region constraint s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-26-2012 11:09 AM
The maximum acceptable time depends on your design. Are the two clock domains
treated as unrelated (fully asynchronous)? Are the two clocks related (coming from the
same input source, via DCM or PLL)?
-- Gabor
Re: Different clock region constraint s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-26-2012 06:01 PM
The two clock domains come from the same DCM.What shoud I do? Thank you very much!
Re: Different clock region constraint s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-26-2012 08:25 PM
I have another question:
I use XILINX recommended method:1.Synthsize the design 2. Run implementation first with only pinout contraints
I do not find timing failing,however, the final wave is not right?What is the reason?Thanks!
Re: Different clock region constraint s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-27-2012 01:30 AM
Re: Different clock region constraint s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-27-2012 03:03 AM
Have you tried constraining only the input clock of the DCM?
------------------------------------------
"If it don't work in simulation, it won't work on the board."
Re: Different clock region constraint s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-27-2012 05:42 AM
Just to clarify what rcingham is suggesting:
If you constrain the input clock that drives the DCM, TRCE will automatically derive
constraints for the output clocks based on the actual frequencies and phase relationships
programmed.
TRCE will also handle cross-clock-domain paths as requiring setup and hold to the
other clock given these frequencies and phase relationships. For example it understands
that your two clocks will line up on every third cycle of the 540 MHz clock.
If your design treats these clocks as unrelated (you use synchronizers and FIFO's as
necessary to cross clock domains), then you will need to ignore some of these cross-clock-domain
derived constraints by adding "TIG" constraints or FROM : TO constraints between the
clock domains. Thos user constraints will override the derived constraints.
If your design relies on the phase relationship between clocks, then you only need the
input clock period constraint, and don't need to add other constraints between clocks.
-- Gabor
Re: Different clock region constraint s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-27-2012 08:33 AM
Yes,I have done this:
NET "A_FPGA_ADC_CLK" TNM_NET = "A_FPGA_ADC_CLK";
TIMESPEC TS_A_FPGA_ADC_CLK = PERIOD "A_FPGA_ADC_CLK" 2.777 ns HIGH 50 %;
NET "clk360M" TNM_NET = "clk360M";
TIMESPEC TS_clk360M = PERIOD "clk360M" TS_A_FPGA_ADC_CLK * 1;
NET "clk540M" TNM_NET = "clk540M";
TIMESPEC TS_clk540M = PERIOD "clk540M" TS_A_FPGA_ADC_CLK * 0.666;
NET "clk180M" TNM_NET = "clk180M";
TIMESPEC TS_clk180M = PERIOD "clk180M" TS_A_FPGA_ADC_CLK * 2;
Are they all right?
But my STAshows which have Phase Errors: How to constraint them ?Thanks!
==================================================
Timing constraint: PERIOD analysis for net "u_dcm_AD/clkout1" derived from NET "A_FPGA_ADC_CLK" PERIOD = 2.777 ns HIGH 50%; divided by 1.50 to 1.851 nS
6224 paths analyzed, 6144 endpoints analyzed, 4 failing endpoints
4 timing errors detected. (4 setup errors, 0 hold errors, 0 component switching limit errors)
Minimum period is 2.004ns.
-------------------------------------------------
Paths for end point u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_ch1_inter3/
-------------------------------------------------
Slack (setup path): -0.153ns (requirement - (data path - clock path skew + uncertainty))
Source: u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_fir1/u_fir_
Destination: u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_ch1_inter3/
Requirement: 1.851ns
Data Path Delay: 1.636ns (Levels of Logic = 0)
Clock Path Skew: -0.187ns (2.891 - 3.078)
Source Clock: clk180M rising at 0.000ns
Destination Clock: clk540M rising at 1.851ns
Clock Uncertainty: 0.181ns
Clock Uncertainty: 0.181ns ((TSJ^2 + DJ^2)^1/2) / 2 + PE
Total System Jitter (TSJ): 0.070ns
Discrete Jitter (DJ): 0.099ns
Phase Error (PE): 0.120ns
Maximum Data Path at Slow Process Corner: u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_fir1/u_fir_
Location Delay type Delay(ns) Physical Resource
------------------------------------------------- -------------------
DSP48_X5Y27.P47 Tdspcko_P_PREG 0.424 u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_fir1/u_fir_
SLICE_X89Y65.AX net (fanout=1) 1.196 u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/ch1_out<47>
SLICE_X89Y65.CLK Tdick 0.016 u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_ch1_inter3/
------------------------------------------------- ---------------------------
Total 1.636ns (0.440ns logic, 1.196ns route)
-------------------------------------------------
Paths for end point u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_ch1_inter3/
-------------------------------------------------
Slack (setup path): -0.089ns (requirement - (data path - clock path skew + uncertainty))
Source: u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_fir1/u_fir_
Destination: u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_ch1_inter3/
Requirement: 1.851ns
Data Path Delay: 1.572ns (Levels of Logic = 1)
Clock Path Skew: -0.187ns (2.891 - 3.078)
Source Clock: clk180M rising at 0.000ns
Destination Clock: clk540M rising at 1.851ns
Clock Uncertainty: 0.181ns
Clock Uncertainty: 0.181ns ((TSJ^2 + DJ^2)^1/2) / 2 + PE
Total System Jitter (TSJ): 0.070ns
Discrete Jitter (DJ): 0.099ns
Phase Error (PE): 0.120ns
Maximum Data Path at Slow Process Corner: u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_fir1/u_fir_
Location Delay type Delay(ns) Physical Resource
------------------------------------------------- -------------------
DSP48_X5Y27.P45 Tdspcko_P_PREG 0.424 u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_fir1/u_fir_
SLICE_X89Y65.A5 net (fanout=1) 1.113 u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/ch1_out<45>
SLICE_X89Y65.CLK Tas 0.035 u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_ch1_inter3/
------------------------------------------------- ---------------------------
Total 1.572ns (0.459ns logic, 1.113ns route)
-------------------------------------------------
Paths for end point u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_adder_ch3/D
-------------------------------------------------
Slack (setup path): -0.029ns (requirement - (data path - clock path skew + uncertainty))
Source: u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_ch1_inter3/
Destination: u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_adder_ch3/D
Requirement: 1.851ns
Data Path Delay: 1.764ns (Levels of Logic = 0)
Clock Path Skew: -0.063ns (0.950 - 1.013)
Source Clock: clk540M rising at 0.000ns
Destination Clock: clk540M rising at 1.851ns
Clock Uncertainty: 0.053ns
Clock Uncertainty: 0.053ns ((TSJ^2 + DJ^2)^1/2) / 2 + PE
Total System Jitter (TSJ): 0.070ns
Discrete Jitter (DJ): 0.080ns
Phase Error (PE): 0.000ns
Maximum Data Path at Slow Process Corner: u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_ch1_inter3/
Location Delay type Delay(ns) Physical Resource
------------------------------------------------- -------------------
SLICE_X66Y59.AQ Tcko 0.283 u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/ch1_out_inter
DSP48_X2Y21.A2 net (fanout=1) 1.224 u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/ch1_out_inter
DSP48_X2Y21.CLK Tdspdck_A_AREG 0.257 u_FIR_mulps/u_FIR_mulps_ip/u_ch_imag/u_adder_ch3/D
------------------------------------------------- ---------------------------
Total 1.764ns (0.540ns logic, 1.224ns route)
-------------------------------------------------
NET "A_FPGA_ADC_CLK" TNM_NET = "A_FPGA_ADC_CLK";
TIMESPEC TS_A_FPGA_ADC_CLK = PERIOD "A_FPGA_ADC_CLK" 2.777 ns HIGH 50 %;
Re: Different clock region constraint s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-27-2012 08:35 AM











