Skip to content

Commit

Permalink
build/gowin/platform: stub add_false_path_constraint
Browse files Browse the repository at this point in the history
Add a stub add_false_path_constraint to allow Ethernet to work on Tang
Primer 20K.

Signed-off-by: Icenowy Zheng <[email protected]>
  • Loading branch information
Icenowy committed Aug 11, 2023
1 parent 577674b commit aff33be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions litex/build/gowin/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ def build(self, *args, **kwargs):

def add_period_constraint(self, clk, period):
self.toolchain.add_period_constraint(self, clk, period)

def add_false_path_constraint(self, from_, to):
# TODO: Really implement it, currently a no-op to allow Ethernet
pass

0 comments on commit aff33be

Please sign in to comment.