Chris_C

programming clock tiles "on the fly"

Recommended Posts

I want my VGA controller to be able to change modes, for that I'll need different dot clocks..

what I'd like to be able to do if have a number of in effect modeline entries in a small lookup rom, and from that be able to "poke" settings copied from the clock generator doing different output speeds

is it possible to inhibit a clock tile, then for the fpga to change the ppl table then restart the clock tile?

anyone done this? is it possible? or could bed things happen....

Share this post


Link to post
Share on other sites

http://hamsterworks.co.nz/mediawiki/index.php/FreqSwitch - to be exact.  You seem to think along the same lines as me....are you sure that our brains were not twins????

 

If you get a chance, you might want to give "Xilinx UG382 Spartan-6 FPGA Clocking Resources User Guide" a read. (http://www.xilinx.com/support/documentation/user_guides/ug382.pdf) - page 82 has all the gory details for reporgramming.

 

It is pretty short and pretty terse - you most likely won't grok all that it is covering, but it will pique your interest and reveal a whole lot of things that are hidden by the tool chain.

 

For example, high speed serial input or output using a SERDES is a real pain in the bum due to clocking. It is impossible to get working without paying really, really close attention to the documentation in UG382, due to how the highest performing clocking paths are physically connected. It has defeated many a University student :-)

Share this post


Link to post
Share on other sites

I'll defiantly get into that thanks for the data sheet link too, gosh its like there are so many different things I can do with this beasty I hardly know which way to turn! but at least so far it seems capable of all these mad ideas I keep getting !

Share this post


Link to post
Share on other sites

Hey, Hey! This is just what I need too! I added my signal generator core to Papilio Schematic Library (for sin, cos, square, and saw waves) and wanted to add a frequency generator core too. I did a quick search for how to dynamically change the frequency of a DCM but gave up when I didn't find any easily accessible examples. I know its done in a picoblaze example somewhere but I put it off until I could dig into it. Now maybe I can get the frequency generator added sooner then later!

 

Jack.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now