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

58 commits

Author SHA1 Message Date
Jannis Harder b6e41a388b Support for the new anytime schedule in yosys-abc's pdr 2024-03-06 12:26:01 +01:00
Jannis Harder 52184e5bf0 Initial support for a multi-task property status database
This adds initial support for an sqlite database that is shared across
multiple tasks of a single SBY file and that can track the status of
individual properties.

The amount of information tracked in the database is currently quite
minimal and depends on the engine and options used. This can be
incrementally extended in the future.

The ways in which the information in the database can be queries is even
more limited for this initial version, consisting of a single '--status'
option which lists all properties and their status.
2024-02-20 13:34:58 +01:00
Jannis Harder 36f84b8b9f smtbmc: Use new -noinitstate option when simulating inductive cex
This requires YosysHQ/yosys#3962
2023-09-28 17:38:15 +02:00
Jannis Harder 28c053bd94 smtbmc: Allow using --keep-going in cover mode
See YosysHQ/yosys#3816 for the smtbmc change that made --keep-going do
something in cover mode
2023-06-23 10:34:03 +02:00
Jannis Harder 6d3b5aa960 Unified trace generation using yosys's sim across all engines
Currently opt-in using the `fst` or `vcd_sim` options.
2023-01-10 18:42:26 +01:00
Claire Xenia Wolf 003ccf7197 Add color handling via click.style and click.echo
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
2022-10-31 20:29:32 +01:00
Jannis Harder 168d667b6d Add vcd option to make VCD writing optional 2022-09-05 15:42:24 +02:00
Jannis Harder d3520037b9 Write native yosys witness traces 2022-08-05 16:31:15 +02:00
Jannis Harder 5014d74023 sby_design: Extract total memory size and forall usage 2022-06-24 13:50:26 +02:00
Jannis Harder 3dcf7766ea smtbmc: Fix induction trace filename with --keep-going for the basecase
--keep-going only applies to the basecase and induction runs without that
option, so the trace filename for induction should have no placeholder.
2022-06-23 13:15:58 +02:00
Jannis Harder b725bfed0c Prefer the first tracefile for each failing assertion 2022-03-30 13:47:14 +02:00
Jannis Harder 81e8b6737b
Merge pull request #147 from jix/smtbmc-keepgoing
Support and tests for smtbmc `--keep-going`
2022-03-30 11:42:48 +02:00
N. Engelhardt 53abf14514
Merge pull request #145 from nakengelhardt/fix_junit_tracefile
junit: handle multiple asserts failing with the same trace
2022-03-28 16:32:54 +02:00
Jannis Harder 7824460e27 Initial support for the new smtbmc --keep-going option
So far this only passes on the option and adjusts the trace_prefix to
support multiple numbered traces. Further changes are needed to
correctly associate individual traces with the assertions failing in
that trace.
2022-03-24 16:57:16 +01:00
N. Engelhardt c7e4785a8a junit: handle multiple asserts failing with the same trace 2022-03-22 16:16:02 +01:00
N. Engelhardt 5dc7fc9a4d translate backslashes in cell names the same way as smt2 backend does 2022-03-22 11:14:48 +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 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 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 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
Claire Wolf 0d98201dc7 Add "Unexpected response" handling to smtbmc engine
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-07-20 19:42:10 +02:00
N. Engelhardt ee5cfdef76 add --seed option to smtbmc and btor engines 2020-07-01 18:05:20 +02:00
N. Engelhardt 6a95ef33c8 fix trace summary printing 2020-05-13 18:15:33 +02:00
N. Engelhardt b3d766bf89 start btorsim as soon as a witness is ready, print summary when multiple traces are produced 2020-05-12 16:48:58 +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
Clifford Wolf 23f89011b6 Use lowercase for non-final smtbmc status, treat PREUNSAT as ERROR
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-10-03 15:00:11 +02:00
Clifford Wolf 4eb91d5b88 Add "smtbmc ... -- ..." feature (for "raw" smtbmc options)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-11-22 17:08:28 +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 f2697c23c0 Fixed "counterexample trace:" log message for things like warmup failed
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-08-21 14:00:30 +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 36c7185393 More improvements in sby error handling
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-27 16:23:57 +02:00
Clifford Wolf ec38b0b841 Add "smtbmc --basecase/--induction"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-07 22:23:50 +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 e966f3dca4 Add smtbmc --stdt option
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-04 14:08:55 +01:00
Clifford Wolf 4eed5ec8bb Fix --dump-smt2 trace name in cover mode
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-03-03 19:59:06 +01:00
Clifford Wolf 25936009bb Disable unrolling per default for z3 2017-12-14 02:12:08 +01:00
Clifford Wolf 82f394260a Make --presat and --unroll the default for smtbmc 2017-12-05 17:16:38 +01:00
Clifford Wolf 78efd64985 Add "smtbmc --dumpsmt2" 2017-10-23 02:17:39 +02:00
Clifford Wolf b690221f99 Add "smtbmc --unroll" 2017-10-22 10:07:26 +02:00
Clifford Wolf 68d90a5510 Add "smtbmc --presat" 2017-07-07 02:47:53 +02:00
Clifford Wolf 6ef12a4b31 Add tbtop config option 2017-07-01 18:33:36 +02:00
Clifford Wolf 81144819e5 Add smtc option 2017-02-27 22:28:31 +01:00
Clifford Wolf 7be08218cb Add "append" option 2017-02-26 11:08:14 +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 afeab48894 Use smtbmc args for solver options 2017-02-19 22:52:27 +01:00