mirror of
https://github.com/saymrwulf/litex-boards.git
synced 2026-11-21 09:54:20 +00:00
trenz_tec0117: Add clock constraints.
This commit is contained in:
parent
6648b2f907
commit
a74b6e83f7
1 changed files with 5 additions and 0 deletions
|
|
@ -89,3 +89,8 @@ class Platform(GowinPlatform):
|
|||
|
||||
def create_programmer(self):
|
||||
return OpenFPGALoader("littlebee")
|
||||
|
||||
def do_finalize(self, fragment):
|
||||
GowinPlatform.do_finalize(self, fragment)
|
||||
self.add_period_constraint(self.lookup_request("clk12", loose=True), 1e9/12e6)
|
||||
self.add_period_constraint(self.lookup_request("clk100", loose=True), 1e9/100e6)
|
||||
|
|
|
|||
Loading…
Reference in a new issue