3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-23 13:18:00 +00:00

Add "skip" options (smtbmc only)

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-09-12 13:12:24 +02:00
parent 7ff783598f
commit bf47da495b
3 changed files with 21 additions and 2 deletions

View file

@ -497,6 +497,7 @@ class SbyJob:
self.handle_int_option("timeout", None)
self.handle_str_option("smtc", None)
self.handle_int_option("skip", None)
self.handle_str_option("tbtop", None)
if self.opt_smtc is not None:
@ -504,6 +505,14 @@ class SbyJob:
if engine[0] != "smtbmc":
self.error("Option smtc is only valid for smtbmc engine.")
if self.opt_skip is not None:
if self.opt_skip == 0:
self.opt_skip = None
else:
for engine in self.engines:
if engine[0] != "smtbmc":
self.error("Option skip is only valid for smtbmc engine.")
self.copy_src()
if self.opt_mode == "bmc":