FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-14-2005, 09:36 AM
Guest
 
Posts: n/a
Default generating 90, 180 and 270 shifts

Hi, I'm still working on creating a DDR interface for an OCM bus.

The problem I now face is the following: I need "shifted" clk signals.
I'm using a driver originally used for the PLB bus, which has those
shifted clks. Since I do not have enough knowledge or time to create
shifted clk's myself (The deadline is reaaaly close).
So I "borrowed" the clock signals from the PLB bus (Runs on the same
speed as the OCM bus, I thought I could give it a try .

But when I do this, the timing constrains aren't met. So I guess I need
to create my own shifted signals from the OCM clk (Which I'm not even
using right now)
Here is the timing constraint table:

----------------------------------------------------------------------
Constraint | Requested| Actual |LLvls
----------------------------------------------------------------------
NET "bufgp_10/IBUFG" PERIOD = 10 nS HI | N/A | N/A | N/A
GH 50.000000 % | | |
----------------------------------------------------------------------
PERIOD analysis for net "dcm_0/dcm_0/CLK0 | 10.000ns | 5.476ns| 17
_BUF" derived from NET "bufgp_10/IBUFG" | | |
PERIOD = 10 nS HIGH 50.000000 % | | |
----------------------------------------------------------------------
* TSCLK2CLK90_ocm_ddr_1 = MAXDELAY FROM TIM | 2.250ns | 3.931ns| 5
EGRP "PLB_Clk_ocm_ddr_1" TO TIMEGRP "Clk | | |
90_in_ocm_ddr_1" 2.250 nS | | |
----------------------------------------------------------------------
PATH "FROM CPUS THRU RST_GRP TO FFS" TIG | N/A | 1.810ns| 0
----------------------------------------------------------------------
PATH "FROM FFS THRU RST_GRP TO FFS" TIG | N/A | 1.445ns| 1
----------------------------------------------------------------------
PATH "FROM FFS THRU RST_GRP TO CPUS" TIG | N/A | 0.656ns| 0

The one with the * is the one giving the problem.

How can I easily make such a clock myself?
Btw, I'm using EDK 6.3 and working on the ML310 board. (Virtex 2pro)

Thanks in advance,

Jim Tuilman

Reply With Quote
  #2 (permalink)  
Old 06-14-2005, 10:17 AM
Sean Durkin
Guest
 
Posts: n/a
Default Re: generating 90, 180 and 270 shifts

[email protected] wrote:
> How can I easily make such a clock myself?
> Btw, I'm using EDK 6.3 and working on the ML310 board. (Virtex 2pro)

Use a DCM:

http://toolbox.xilinx.com/docsan/xil...html#wp1000992

cu,
Sean
Reply With Quote
  #3 (permalink)  
Old 06-14-2005, 02:58 PM
David Brown
Guest
 
Posts: n/a
Default Re: generating 90, 180 and 270 shifts

Depending on the speed you need you can also slow down the clock by 4 and
run it through a 3 stage shift register, where each output stage will be
shifed by 90 degrees.

Clock = 0 degrees
stage 1 = 90 degrees
stage 2 = 180 degrees
stage 3 = 270 degrees

dbrown

<[email protected]> wrote in message
news:[email protected] oups.com...
> Hi, I'm still working on creating a DDR interface for an OCM bus.
>
> The problem I now face is the following: I need "shifted" clk signals.
> I'm using a driver originally used for the PLB bus, which has those
> shifted clks. Since I do not have enough knowledge or time to create
> shifted clk's myself (The deadline is reaaaly close).
> So I "borrowed" the clock signals from the PLB bus (Runs on the same
> speed as the OCM bus, I thought I could give it a try .
>
> But when I do this, the timing constrains aren't met. So I guess I need
> to create my own shifted signals from the OCM clk (Which I'm not even
> using right now)
> Here is the timing constraint table:
>
> ----------------------------------------------------------------------
> Constraint | Requested| Actual |LLvls
> ----------------------------------------------------------------------
> NET "bufgp_10/IBUFG" PERIOD = 10 nS HI | N/A | N/A | N/A
> GH 50.000000 % | | |
> ----------------------------------------------------------------------
> PERIOD analysis for net "dcm_0/dcm_0/CLK0 | 10.000ns | 5.476ns| 17
> _BUF" derived from NET "bufgp_10/IBUFG" | | |
> PERIOD = 10 nS HIGH 50.000000 % | | |
> ----------------------------------------------------------------------
> * TSCLK2CLK90_ocm_ddr_1 = MAXDELAY FROM TIM | 2.250ns | 3.931ns| 5
> EGRP "PLB_Clk_ocm_ddr_1" TO TIMEGRP "Clk | | |
> 90_in_ocm_ddr_1" 2.250 nS | | |
> ----------------------------------------------------------------------
> PATH "FROM CPUS THRU RST_GRP TO FFS" TIG | N/A | 1.810ns| 0
> ----------------------------------------------------------------------
> PATH "FROM FFS THRU RST_GRP TO FFS" TIG | N/A | 1.445ns| 1
> ----------------------------------------------------------------------
> PATH "FROM FFS THRU RST_GRP TO CPUS" TIG | N/A | 0.656ns| 0
>
> The one with the * is the one giving the problem.
>
> How can I easily make such a clock myself?
> Btw, I'm using EDK 6.3 and working on the ML310 board. (Virtex 2pro)
>
> Thanks in advance,
>
> Jim Tuilman
>



Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating CLK signal using PLI Rami Verilog 1 06-07-2005 05:02 AM
Query in generating clock batrashish Verilog 0 10-01-2004 12:19 PM
Generating clock delays chuk FPGA 6 01-16-2004 08:24 PM
Generating core using .mif file sree FPGA 0 11-22-2003 05:55 AM


All times are GMT +1. The time now is 12:03 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved