3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-06 14:24:08 +00:00
Commit graph

159 commits

Author SHA1 Message Date
Jannis Harder 0fe8c223cf Decouple taskloop from task 2022-06-15 16:28:09 +02:00
Jannis Harder d1c04f79d6 Use monotonic clock for timeouts 2022-06-15 14:11:25 +02:00
Jannis Harder d0c59a3155 Don't use python asserts to handle unexpected solver output 2022-06-15 13:25:21 +02:00
Jannis Harder e99884e319 SbyProc: New error_callback instead of exit_callback for failing procs 2022-06-15 13:25:21 +02:00
Jannis Harder 6daa434d85 Add --dumptaskinfo option to output some .sby metadata as json 2022-04-11 17:44:10 +02:00
N. Engelhardt 8ce526c22d junit: use write_jny instead of write_json 2022-04-06 18:35:01 +02:00
N. Engelhardt 008d020c4d note unexpected return statuses in junit 2022-03-29 19:10:29 +02:00
Jannis Harder 079df4d95f Use -no-startoffset, avoiding index mismatch between aiger and smt2 2022-03-25 11:41:08 +01:00
N. Engelhardt 7142f790e4 add testcase for overall run result 2022-02-24 22:44:11 +01:00
N. Engelhardt 89ed843ff1 validate junit files (with extra attributes added to schema) 2022-02-22 16:16:37 +01:00
N. Engelhardt 7ee357fcc8 fix induction 2022-02-07 22:01:52 +01:00
N. Engelhardt 7d3545dc86 fix junit error/failure/skipped count 2022-02-07 19:20:29 +01:00
N. Engelhardt 53eb25fcae handle unreached cover properties 2022-02-07 15:29:36 +01:00
N. Engelhardt 5abaccab69 refactor junit print into own function 2022-02-07 12:29:27 +01:00
N. Engelhardt d7e7f2c530 refactor model to have single base 2022-01-31 12:35:56 +01:00
N. Engelhardt 1cf27e7c31 parse solver location output for assert failures (cover not functional yet) 2022-01-27 13:41:07 +01:00
N. Engelhardt 7f3c4137c1 create json export and read in properties 2022-01-19 19:34:11 +01:00
N. Engelhardt 257a57d8ed create only a single bad when using pono solver; workaround for #137 2022-01-12 13:18:54 +01:00
N. Engelhardt 7c9e5b026b Rename SbyJob to SbyTask and SbyTask to SbyProc to reduce confusion. Config file tasks now correspond to SbyTasks. 2022-01-11 17:08:56 +01:00
Claire Xenia Wolf 5d19e4641a Add support for directories in [files] section
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
2021-10-31 14:43:02 +01:00
Claire Xenia Wolf 1b3832cf92 Fixed names and links 2021-10-31 14:42:39 +01:00
piegames 2d7d48885b Turn .format() strings into f-strings 2021-06-26 19:46:30 +02:00
piegames 99aca04638 Print paths as absolute
This generally makes debugging path issues easier.
2021-06-21 22:31:53 +02:00
Miodrag Milanovic ecf7b8f1b0 Windows specific fixes 2021-03-22 16:48:33 +01:00
whitequark 287e33a47f Add a PROGRAM_PREFIX= Makefile option for packages with prefixed Yosys. 2020-08-22 14:45:47 +00:00
Marcelina Kościelnicka b172357161 Run dffunmap before writing the design with aiger/btor/smt2 backends. 2020-07-31 16:37:25 +02:00
whitequark db0e5f3637
Inject executable dependencies from the environment 2020-07-05 10:20:35 +00:00
Miodrag Milanovic a62fded391 cosa2 -> pono rename 2020-07-03 11:25:55 +02:00
clairexen 18ce85eb02
Merge pull request #94 from nakengelhardt/fix_93
ignore race condition in killing already-terminated process
2020-07-01 19:19:08 +02:00
Claire Wolf 655d9c6bcd Be more conservative in btor ys script
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-06-23 14:32:59 +02:00
N. Engelhardt 25502e16ef ignore race condition in killing already-terminated process 2020-06-16 12:41:26 +02:00
Claire Wolf c7668de077 Add support for cosa2 BTOR solver
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-05-18 16:59:36 +02:00
Claire Wolf ca9c188e3c Add silent mode to SbyTask
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-05-08 18:49:08 +02:00
N. Engelhardt 180e07f9c4 add btor cover mode; use btorsim for vcd generation
Signed-off-by: N. Engelhardt <nak@symbioticeda.com>
2020-03-30 21:24:06 +02:00
N. Engelhardt 30d7c32ec6 Use .format() instead of %
Signed-off-by: N. Engelhardt <nak@symbioticeda.com>
2020-03-25 13:09:37 +01:00
Claire Wolf 0a7013017f Improve BTOR and AIG yosys scripts
Signed-off-by: Claire Wolf <clifford@clifford.at>
2020-02-11 17:33:46 +01:00
Claire Wolf a5fce77344 Add special handling for command not found errors
Signed-off-by: Claire Wolf <clifford@clifford.at>
2020-01-27 17:59:33 +01:00
Miodrag Milanovic 3fd0c73e65 Added sleep for non-posix, allow supported signals 2020-01-15 08:09:11 +01:00
Miodrag Milanovic 196c3c779a Fix sby execution on Windows 2019-11-17 16:58:35 +01:00
Serge Bazanski 511268cd18 sby_core: fix hardcoded /bin/bash path
Not all systems (eg. BSDs, NixOS) have a /bin/bash. The de-facto standard for maximum compatibility
these days is using /usr/bin/env bash.
2019-07-24 13:31:37 +02:00
Jeppe Johansen 57276995b6 Add support for expanding environment variables.
Signed-off-by: Jeppe Johansen <jgj@gomspace.com>
2019-05-08 16:56:33 +02:00
Clifford Wolf f087a71f49 Check if config contains any engines, fixes #38
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-05-01 18:47:41 +02:00
Clifford Wolf faa5b1f908 Fix re-run in same directory feature
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-04-30 20:03:24 +02:00
Clifford Wolf f918e2369a Add extra "setundef -anyseq" to aiger script
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-03-22 13:40:50 +01:00
Clifford Wolf 32d7325446 Backward compatibility with Python 3.4 API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-03-21 20:09:44 +01:00
Clifford Wolf a2b85faa08 Significantly improve management of child processes
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-03-21 15:06:49 +01:00
Clifford Wolf 334b952e5a Improve logfile/output flushing
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-03-20 19:09:00 +01:00
Clifford Wolf 93a5dd0641 Do not overwrite config.sby in reusedir mode
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-03-20 19:09:00 +01:00
William D. Jones f8e27a06aa Annotate cmdline comment, summary string, and output XML with
OS-specific information.
2019-03-18 00:46:06 -04:00
William D. Jones b5eb5b3c78 Choose command separator for tasks based on OS.
Signed-off-by: William D. Jones <thor0505@comcast.net>
2019-03-17 23:01:24 -04:00
William D. Jones 71e5dbabd6 Merge branch 'master' into no-resource 2019-03-12 16:59:17 -04:00
William D. Jones 43c7db77d4 Gate Unix-specific functionality from resources and fcntl.
Signed-off-by: William D. Jones <thor0505@comcast.net>
2019-03-10 00:43:55 -05:00
Clifford Wolf bd4094f216 Add support for (re-)running in existing workdir
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-03-09 12:42:54 -08:00
Clifford Wolf 3d66e7cec5 Fixes and improvements in BTOR engine
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-12-08 07:16:19 +01:00
Clifford Wolf 150f30ae08 Working BTOR BMC engine
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-12-08 07:01:21 +01:00
Clifford Wolf 4c485766e2 Add btor engine
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-12-08 05:23:04 +01:00
Clifford Wolf b50f4f3d10 Generate AIGERs with -I -B
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-11-12 09:36:12 +01:00
Clifford Wolf bf47da495b Add "skip" options (smtbmc only)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-09-12 13:23:34 +02:00
Clifford Wolf 07d124084c Use async2sync for "multiclock off" mode
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-19 15:31:49 +02:00
Clifford Wolf d24d7e1aef Use "hierarchy -simcheck" in default script
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-05-12 14:03:37 +02:00
Clifford Wolf 35d956c7bb Fix fix for chained tasks
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-05-01 15:58:55 +02:00
Clifford Wolf 162bdc9a3b Fix bug in handling of chained tasks
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-05-01 14:58:18 +02:00
Clifford Wolf 836d54d4c7 Add check for malformed dst filename in [files] section
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-04-13 18:03:35 +02:00
Clifford Wolf fc7ace7884 Add JUnit XML output file and .stamp files
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-28 13:31:50 +02:00
Clifford Wolf 9edc65874c Drastically improve sby error handling 2018-03-27 16:11:43 +02:00
Clifford Wolf 76a624a363 Improve handling of nomem models
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-15 19:11:42 +01:00
Clifford Wolf 93752c6fce Add localtime to log file
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-11 01:06:09 +01:00
Clifford Wolf 47729cd61c Add smtbmc --progress option
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-07 22:16:24 +01:00
Clifford Wolf cfff7095e4 Merge branch 'master' of github.com:cliffordwolf/SymbiYosys 2018-03-06 23:42:09 +01:00
Clifford Wolf 2efa7c2b90 Use memory_nordff in postprocess script
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-06 23:40:08 +01:00
Clifford Wolf f6ab848797 Improvements in [tasks] handling
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-06 18:05:51 +01:00
Clifford Wolf d736fb14f9 Slightly change tasks syntax
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-06 00:01:55 +01:00
Clifford Wolf 92b247260a Add tasks in .sby files
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-05 13:09:20 +01:00
Clifford Wolf a94f21abab Add multiclock option
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-04 14:09:16 +01:00
Clifford Wolf e966f3dca4 Add smtbmc --stdt option
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-04 14:08:55 +01:00
David Shah c6d25f0045 Ignore whitespace at top of file
Signed-off-by: David Shah <davey1576@gmail.com>
2018-01-22 13:00:32 +00:00
Clifford Wolf 221c8d24d7 Improve handling of comments in .sby files 2018-01-19 14:26:42 +01:00
Clifford Wolf 20b8b8fe9f Add "sby -t", improve handling of stdin 2017-11-24 20:12:58 +01:00
Andrew Wygle b7c33a72e9 Minimum-modification change for stdin support 2017-11-24 09:57:23 -08:00
Clifford Wolf 6ef12a4b31 Add tbtop config option 2017-07-01 18:33:36 +02:00
Clifford Wolf 3fb72628de Add "setundef -anyseq" to default yosys script 2017-05-28 12:32:30 +02:00
Clifford Wolf 8817f61de3 Add support for --pycode-begin/end-- sections 2017-05-08 15:07:10 +02:00
Clifford Wolf 774849a6ed Add "mode live" support 2017-03-01 11:12:23 +01:00
Clifford Wolf 81144819e5 Add smtc option 2017-02-27 22:28:31 +01:00
Clifford Wolf ad304ddda7 Add rc to DONE msg 2017-02-27 22:27:52 +01:00
Clifford Wolf be8c995e15 Improve option handling 2017-02-26 14:32:33 +01:00
Clifford Wolf 9a718367ff Improve super_prove integration 2017-02-26 13:03:59 +01:00
Clifford Wolf 94260e01b8 Add aigbmc support 2017-02-25 23:50:33 +01:00
Clifford Wolf 1c8e006e46 Add smtbmc stbv support 2017-02-24 18:26:20 +01:00
Clifford Wolf b5be4a5759 Add aiger engine 2017-02-19 23:53:01 +01:00
Clifford Wolf 221018b19d Fix readline() handling for partial lines 2017-02-13 16:59:34 +01:00
Clifford Wolf 7085657687 Add options to set tool paths 2017-02-09 14:09:14 +01:00
Clifford Wolf e69d39434a Add support for "[file <filename>]" .sby sections 2017-02-08 21:33:47 +01:00
Clifford Wolf 29968fcc58 Add docs for "wait" option, more config checking 2017-02-06 21:50:57 +01:00
Clifford Wolf bdb8321069 Fix bug in job.terminate() 2017-02-06 21:41:26 +01:00
Clifford Wolf 01a03d0e07 Add support for "wait" option 2017-02-06 21:35:37 +01:00
Clifford Wolf 88d0e4f13a Add "timeout" option 2017-02-06 17:48:46 +01:00
Clifford Wolf c2c273c7c8 Add "expect" config option 2017-02-06 16:30:29 +01:00
Clifford Wolf ad4c0f2198 Add "cover" mode 2017-02-05 15:44:01 +01:00
Clifford Wolf 1f6037c158 Add support for "abc sim3" engine 2017-02-02 16:59:09 +01:00