forked from M-Labs/artiq
1
0
Fork 0

pipistrello: set CLKFX_MD_MAX from MD ratio

This commit is contained in:
Robert Jördens 2015-06-29 12:59:59 -06:00
parent d1c4cf0b78
commit 3ee2bd5fa8
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class _RTIOCRG(Module, AutoCSR):
self.specials += Instance("DCM_CLKGEN",
p_CLKFXDV_DIVIDE=2,
p_CLKFX_DIVIDE=f.denominator,
p_CLKFX_MD_MAX=1.6,
p_CLKFX_MD_MAX=float(f),
p_CLKFX_MULTIPLY=f.numerator,
p_CLKIN_PERIOD=1e9/clk_freq,
p_SPREAD_SPECTRUM="NONE",