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

66 commits

Author SHA1 Message Date
Jannis Harder b0786aea43 Make jobserver integration
Only implements the POSIX jobserver and will break on windows.
Unbreaking it on windows will be done as a follow up.

Not used for autotune, that needs some more changes.
2022-08-18 14:40:00 +02:00
Jannis Harder de939e279a Run tasks in parallel 2022-08-18 14:38:40 +02:00
Jannis Harder 566edad13c Read config before creating a workdir
When using a task name not defined in the config, this now produces an
error before creating an unnecessary workdir for that non-existing task.
2022-07-05 17:20:55 +02:00
Jannis Harder b4458d43d7 Automatic engine selection 2022-06-27 15:58:42 +02:00
George Rennie 0308142fa4 Use default prefix directory when no task is specified 2022-06-19 00:49:12 +01:00
Jannis Harder 0fe8c223cf Decouple taskloop from task 2022-06-15 16:28:09 +02:00
Jannis Harder 499371fd39 Use the test Makefile for all examples
* Rename and move sbysrc/demo[123].sby to docs/examples/demos
    * Make them use multiple tasks for multiple engines
* Scan docs/examples for sby files for make test
* `make ci` is now `NOSKIP` by default
* Skip scripts using `verific` w/o yosys verific support
    * This does not fail even with NOSKIP set
2022-06-13 13:42:58 +02:00
Jannis Harder 8e87b0f7f4 Suggest -f when the workdir already exists 2022-05-30 16:18:37 +02:00
Jannis Harder 6daa434d85 Add --dumptaskinfo option to output some .sby metadata as json 2022-04-11 17:44:10 +02:00
Jannis Harder a190994098 Add envvar to enable automatic .gitignore creation for workdirs 2022-04-11 17:44:10 +02: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 9168b0163b handle status of cover properties 2022-02-06 09:15:44 +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 a9d1972c47 add fallback if solver can't tell which property fails 2022-01-21 15:18:53 +01:00
N. Engelhardt 7f3c4137c1 create json export and read in properties 2022-01-19 19:34:11 +01:00
N. Engelhardt 6ec2df34e3 WIP change junit print to conform to schema; needs additional data, currently printing dummy info
Signed-off-by: N. Engelhardt <nak@yosyshq.com>
2022-01-13 13:45: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 ac9001b22c Improvements and cleanups in tasks handling
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
2021-12-18 11:36:34 +01:00
Claire Xenia Wolf f1d3be3914 Fixed [tasks] section parsing
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
2021-12-17 20:57:19 +01:00
Claire Xenia Wolf ab9d4fd3cf Add ":"-syntax for [tasks] section
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
2021-12-17 15:36:35 +01:00
Claire Xenia Wolf 1b3832cf92 Fixed names and links 2021-10-31 14:42:39 +01:00
Miodrag Milanovic 156cc5d8c9 Initialize variable 2021-08-25 11:38:24 +02:00
piegames bb19bca77c fixup! Allow to set a working directory even when having multiple tasks 2021-07-12 16:14:48 +02:00
piegames 874d13ff89 Better error message when tasks failed 2021-06-26 19:46:30 +02:00
piegames 2d7d48885b Turn .format() strings into f-strings 2021-06-26 19:46:30 +02:00
piegames 1f6700f21d Allow to set a working directory even when having multiple tasks
Fixes #125.
2021-06-21 22:32:29 +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 a62fded391 cosa2 -> pono rename 2020-07-03 11:25:55 +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 69ef444464 Add task pattern matching, closes #76
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-04-14 19:55:14 +02:00
Claire Wolf c91efe15a3 Add a status message when one or more tasks returned a non-zero return code, closes #78
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-04-14 19:54:24 +02:00
Claire Wolf 1c92dff6ed
Merge pull request #74 from mattvenn/master
add --init-config option
2020-04-02 18:27:50 +02:00
N. Engelhardt 6a918fe102 remove stray braces 2020-03-30 21:23:11 +02:00
matt venn 5eee219127 use argument for name of .sby and .sv files 2020-03-26 18:24:56 +01:00
matt venn f22b6921c5 add --init-config option 2020-03-25 18:00:48 +01:00
N. Engelhardt 30d7c32ec6 Use .format() instead of %
Signed-off-by: N. Engelhardt <nak@symbioticeda.com>
2020-03-25 13:09:37 +01:00
Diego H ff3296845c Fix typo in log message 2020-01-30 13:55:34 -06:00
Clifford Wolf 4b6bb4e418 Cleanup some command line option oddities
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-06-27 14:06:47 +02:00
Clifford Wolf cc37c497d5 Merge branch 'feature_file_paths' of https://github.com/gs-jgj/SymbiYosys into staging 2019-06-27 13:55:25 +02:00
Hans Anderson 597beb6380 Fix default argument for tasknames 2019-06-24 18:35:52 -06:00
Hans Anderson 9ad0ea3e78 Switch from getopt to argparse 2019-06-21 19:12:26 -06:00
Jeppe Johansen 021c3bb4c0 Add dumpfiles command line argument.
Signed-off-by: Jeppe Johansen <jgj@gomspace.com>
2019-05-08 17:16:34 +02:00
Clifford Wolf ef26dff799
Merge pull request #33 from cr1901/no-resource
Meaningful Windows Support
2019-03-19 14:20:28 +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
Clifford Wolf 410db87ebc Rename ".stamp" file to "status"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-03-15 16:29:23 +01:00
Clifford Wolf 577b5bcbc7 Improve rerun-in-existing-dir functionality
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-03-09 12:52:51 -08: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 d5fa89ee0c Improve sby file pycode/tasks handling
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-03-08 10:58:28 -08:00
Clifford Wolf 4a392bb639 Add --dumpcfg and --dumptasks
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-03-02 19:09:33 -08:00