Altera_Forum
Honored Contributor
18 years agoPLL is not consistently producing a clock
QII 7.2sp1:
I am using a Microtronix FireflyII board (CycloneII) and nios reference design. The design uses one pll to generate a 90mhz sdram clock from an on-board 24mhz osc, and another pll to generate a 50mhz logic clock from an external 50mhz osc. During the development of my project, I have run into some inexplicable behavior of the 90mhz clock. I will start with a build which works 100% and I will make some small change like adding a gpio port. When I build this modified project, the 90mhz clock will no longer work when I try the new sof. There are no new errors to explain why this happens. If I go back to the previous sof it always works 100%. This has happened 3 or 4 times during my project development. The way I have gotten around it is to add or change a project setting related to clocks. The first time I added a clock setting for each of the input clocks that just specified the fmax. That seemed to do it. The next time I had the problem I found that if I deleted the db folder before the build the sdram clock would work again. The next time I found that I needed to specify all the design files under the settings->files category before the project would build properly. Every time I think I have stumbled on the magic formula to make this cursed problem go away it comes back one or two builds later. I have run out of voodoo magic to make it work. What the heck is going on here?