build/generic_toolchain: Add build_placement_constraints method and switch other methods to *args, **kwargs for now.

This commit is contained in:
Florent Kermarrec 2022-06-24 10:17:02 +02:00
parent 1ecb9cec0a
commit 08a3b0ae4a
1 changed files with 8 additions and 2 deletions

View File

@ -22,10 +22,16 @@ class GenericToolchain:
self.named_pc = [] self.named_pc = []
self.named_sc = [] self.named_sc = []
def build_io_constraints(self, named_sc, named_pc): def build_io_constraints(self, *args, **kwargs):
# FIXME: Switch to fixed parameter when determined?
raise NotImplementedError("GenericToolchain.build_io_constraints must be overloaded.") raise NotImplementedError("GenericToolchain.build_io_constraints must be overloaded.")
def build_timing_constraints(self, vns, clocks): def build_placement_constraints(self, *args, **kwargs):
# FIXME: Switch to fixed parameter when determined?
pass # Pass since optional.
def build_timing_constraints(self, *args, **kwargs):
# FIXME: Switch to fixed parameter when determined?
pass # Pass since optional. pass # Pass since optional.
def build_project(self): def build_project(self):