cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Newbie
Newbie
7,010 Views
Registered: ‎04-06-2010

How to configure the DCM using dynamic reconfiguration on Virtex-4

Dear all,

 

  I'm interested on using the DCM ADV cell to generate a clock of programmable frequencies for an application. It should be straighforward yet I haven't manage to control the M and D parameters for the clock.

 

  The Virtex-4 configuration guide just lists the signals to access the dynamic reconfiguration port of the DCM ADV, though the virtex-5 guide does show them in a timing diagram. They don't contradict themselves, just two registers to write on the Virtex-4 (0x50 for M, 0x52 for D) instead of a single one on the virtex-5...even better. Checked out the setup/hold timing of DCLK on the datasheet.

 

  So I wrote a test code and no luck!  The signals are programmed to follow the chronogram shown in the virtex5 guide, and the DCM has its reset held meanwhile.

  Could someone suggest something please? I'd appreciate

 

  Many thanks in advance, 

 

  Angel

 

Angel
------------------------------
0 Kudos
4 Replies
Highlighted
6,612 Views
Registered: ‎01-19-2010

All:

 

I am also looking for some guidance on how to dynamically (with reset) reconfigure a DCM.  I have a situation where a DCM need to be able to support 40, 80, 130, 240 MHz sources.

 

Is there an appnote that would guide us?

 

Peter

0 Kudos
Highlighted
Community Manager
Community Manager
6,609 Views
Registered: ‎08-08-2007

Chapter 6 of the Virtex-4 Configuration Guide has good details on how to use the DRP interface.

http://www.xilinx.com/support/documentation/user_guides/ug071.pdf

 

I've used this many times without any issues. What kind of problem are you having?

Thanks,
Sandy

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
6,586 Views
Registered: ‎01-19-2010

Thanks for the pointer.  I did find ug191 (for my Virtex5 device) and put a state machine together to preload the M and D values before reset is released.  My problem is that I don't trust the models....and consequently don't have a lot of faith this will work when I burn it. 

 

The documentation only specifies the addresses for the M & D settings.  There is also another for the low and high range.  What other registers need to be considered?

 

Thanks!!

0 Kudos
Highlighted
Mentor
Mentor
6,579 Views
Registered: ‎11-29-2007

When you ... "burn" it? You do realize that you can reprogram an FPGA a virtually unlimited number of times, so why don't you simply verify your design in silicon?

 

Besides, if you don't trust the simulation models of the FPGA primitives, then you should verify that they work correctly. How else are you going to simulate your design without implementing and downloading it to the device every time?

 

 

Adrian



Please google your question before asking it.
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).
0 Kudos