Skip to content

Commit

Permalink
sayma_amc: add period constraint on self.crg.cd_sys.clk
Browse files Browse the repository at this point in the history
sbourdeauducq committed Aug 21, 2017
1 parent 99564af commit c092887
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions misoc/targets/sayma_amc.py
Original file line number Diff line number Diff line change
@@ -78,6 +78,8 @@ def __init__(self, sdram="ddram_64", sdram_controller_type="minicon", **kwargs):
**kwargs)

self.submodules.crg = _CRG(platform)
self.crg.cd_sys.clk.attr.add("keep")
platform.add_period_constraint(self.crg.cd_sys.clk, 8.0)

self.submodules.ddrphy = kusddrphy.KUSDDRPHY(platform.request(sdram))
self.config["KUSDDRPHY"] = None

0 comments on commit c092887

Please sign in to comment.