Yes, Dave, I think you're right.

I'm unclear why the sys_clk MMCM doesn't just have hard-coded clock
factors. Its input clock never changes and it's always outputting 100
MHz and 200 MHz.

On the other hand, the aux_clk MMCM does seem to have its factors
hard-coded even though aux_clk can be an arbitrary frequency. Am I
missing something?

Side note: why are these clock factors derived in detokenize.m? Surely
there's a more appropriate place to do this?

Best,
Rurik

On Fri, May 9, 2014 at 4:53 PM, David MacMahon
<[email protected]> wrote:
> I think Gopal's problem with the ska-sa mlib_devel is due to commit e419ce2.  
> This commit changed the calculation of the "clock factors" in 
> xps_library/detokenize.m to be based on app_clk_rate (250 MHz in Gopal's 
> case) rather than 100 MHz.  These clock factors are passed to the 
> roach_infrastructure HDL via parameters that get defined in system.mhs.
>
> Dave
>

Reply via email to