Skip to content

Commit c092887

Browse files
committedAug 21, 2017
sayma_amc: add period constraint on self.crg.cd_sys.clk
1 parent 99564af commit c092887

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

Diff for: ‎misoc/targets/sayma_amc.py

+2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ def __init__(self, sdram="ddram_64", sdram_controller_type="minicon", **kwargs):
7878
**kwargs)
7979

8080
self.submodules.crg = _CRG(platform)
81+
self.crg.cd_sys.clk.attr.add("keep")
82+
platform.add_period_constraint(self.crg.cd_sys.clk, 8.0)
8183

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

0 commit comments

Comments
 (0)
Please sign in to comment.