Skip to content

Commit

Permalink
pipistrello: set CLKFX_MD_MAX from MD ratio
Browse files Browse the repository at this point in the history
jordens committed Jun 29, 2015
1 parent d1c4cf0 commit 3ee2bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soc/targets/artiq_pipistrello.py
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ def __init__(self, platform, clk_freq):
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",

0 comments on commit 3ee2bd5

Please sign in to comment.