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:
parent
7ff783598f
commit
bf47da495b
3 changed files with 21 additions and 2 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue