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

470 commits

Author SHA1 Message Date
Jannis Harder
badbde2fbf WIP: Integrate stages into the taskloop 2022-08-19 17:46:28 +02:00
Jannis Harder
bd88454d7d
Merge pull request #196 from jix/parallel_jobserver
Run tasks in parallel and integrate with the make jobserver
2022-08-19 14:21:53 +02:00
Jannis Harder
353fac4db3
Merge pull request #211 from jix/skip_tests
tests: Ignore .sby files starting with skip_
2022-08-19 14:21:23 +02:00
Jannis Harder
8879a5db6e
Merge pull request #209 from YosysHQ/aki/sby_config
Add parser changes needed for the SBY "stages" functionality
2022-08-19 14:13:04 +02:00
Jannis Harder
e91977e01e Use local jobslots as fallback on Windows.
As we have no make jobserver support on windows, fallback to using
process local slots to limit prallelism.
2022-08-18 14:40:02 +02:00
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
ea84c67f95 tests: Ignore .sby files starting with skip_ 2022-08-18 14:07:13 +02:00
Aki Van Ness
de40cc499f
sby: core: removed invalid None check in setup section 2022-08-18 05:52:38 -04:00
Aki Van Ness
41b4ce5a7e
sby: fixed issue where engine index would be out of range 2022-08-18 05:51:03 -04:00
Aki Van Ness
8f5508142d
sby: core: minor error message cleanups for consistency 2022-08-18 05:36:11 -04:00
Aki Van Ness
e8b8816143
docs: removed empty line 2022-08-18 05:36:11 -04:00
Aki Van Ness
a6c220dd5d
docs: Cut out the in-progress docs in preperation for a merge 2022-08-18 05:36:11 -04:00
Aki Van Ness
841e0cb797
sby: core: Added unsupported messages to the new sections 2022-08-18 05:36:11 -04:00
Aki Van Ness
637095a8ec
sby: fixed the sby task execution to accept the new engine internal layout 2022-08-18 05:36:11 -04:00
Aki Van Ness
da56a3c6d1
docs: started working on a rough draft of the docs for the new sections and changes to existing sections 2022-08-18 05:36:11 -04:00
Aki Van Ness
98fdcd7772
sby: core: fixed up the [setup] section 2022-08-18 05:36:11 -04:00
Aki Van Ness
6c959577f3
sby: core: cleaned up the [stage] section parsing 2022-08-18 05:36:11 -04:00
Aki Van Ness
ad4f506d2a
sby: core: fixed up the engines section parser 2022-08-18 05:36:10 -04:00
Aki Van Ness
2f841e5d55
sby: core: updated the parsing to match the changes in PR #206 2022-08-18 05:36:10 -04:00
Aki Van Ness
e4a7f624c1
sby: core: config: fixed the engines section parsing where it was not setting the engine mode when parsing the section 2022-08-18 05:36:10 -04:00
Aki Van Ness
987e439967
tests: parser: added the stages option to the options test file 2022-08-18 05:36:10 -04:00
Aki Van Ness
4abd8a7d69
tests: parser: updated the parser tests that caused a failure due to the lack of engines section 2022-08-18 05:36:10 -04:00
Aki Van Ness
204869bfed
sby: core: config: updated the error messages for the new setctions to make them more descriptive 2022-08-18 05:36:10 -04:00
Aki Van Ness
9293081308
modified the mode runners to accept the modified engine layout in preperation for the per-mode engine sections 2022-08-18 05:36:10 -04:00
Aki Van Ness
f1a645bb18
sby: core: config: Updated the [stage] section to use commas for the parents 2022-08-18 05:36:09 -04:00
Aki Van Ness
a0d366e58a
some cleanup, added some rough parser tests, and started altering the engines section 2022-08-18 05:36:09 -04:00
Aki Van Ness
0ab158eea1
sby: core: minor update to the stage parsing 2022-08-18 05:36:09 -04:00
Aki Van Ness
ed82c78acc
sby: core: Added preliminary support for [stage] sections 2022-08-18 05:36:08 -04:00
Aki Van Ness
4cccbf77fa
sby: core: Added preliminary support for the [setup] section 2022-08-18 05:36:08 -04:00
Jannis Harder
9a14f4d238
Merge pull request #210 from jix/witness_flow
Updated formal flow with new witness format
2022-08-17 16:57:11 +02:00
Jannis Harder
0aebf0b4d0 aig model: Call memory_map late to avoid performance issues
This requires running simplemap on the output as memory_map produces
coarse-grained cells even though we already have a fine-grained design.
2022-08-17 16:41:32 +02:00
Jannis Harder
3412ea859b New "none" engine to be used with the "make_model" option 2022-08-05 16:31:15 +02:00
Jannis Harder
231f0b80aa Add make_model option to generate models not required by the task
Useful to do custom things (like counter example minimization) but still
use sby's flow to prepare models.
2022-08-05 16:31:15 +02:00
Jannis Harder
22585b33dc Use 'rename -witness' instead of multiple 'rename -enumerate' 2022-08-05 16:31:15 +02:00
Jannis Harder
d3520037b9 Write native yosys witness traces 2022-08-05 16:31:15 +02:00
Jannis Harder
acaf6ef0c2 Use new memory_map -formal for aiger/_nomem 2022-08-05 16:31:15 +02:00
Jannis Harder
5265a52b65 Refactor flow to use a common prep model
The goal of this is to make sure that all backend flows are compatible
and we can map between them, so that e.g. the aiger model can be used to
minimize a counterexample trace produced by smtbmc. Reducing the parts
that differ per backend (including parts that receive different input
depending on the used backend) also makes testing more effective as the
common parts are easier to cover.
2022-08-05 16:31:15 +02:00
Jannis Harder
edb068bff4 Fix print_junit_results failure during some error conditions
There is a small window between setting self.precise_prop_status and
initializing self.design. I've only managed to produce an error within
that windows during development, but getting unrelated stacktraces from
print_junit_result failing distracts from debugging the issue at hand.
2022-08-05 16:31:15 +02:00
Aki Van Ness
46ca20f8ec sby: core: ensured to strip the line of any uneeded whitespace 2022-08-04 06:13:28 -04:00
Aki Van Ness
9368f3f987 sby: core: explicitly split the the entries for the [options] section params to be at most one, 2022-08-04 06:13:28 -04:00
Aki Van Ness
10234fef00 sby: core: changed how the split for the section header and arguments are done, with a prior strip to remove and extra whitespace 2022-08-04 06:13:28 -04:00
Aki Van Ness
8133aaa8f8 sby: core: changed how the sections and their arguments are handled and cleared up the strangly worded error messages related to that 2022-08-04 06:13:28 -04:00
Jannis Harder
8d2fa9b304
Merge pull request #207 from jix/fix_smt_shift
Regression test for YosysHQ/yosys#3433
2022-08-03 17:04:10 +02:00
Jannis Harder
523b7a252e Regression test for YosysHQ/yosys#3433 2022-08-03 16:08:19 +02:00
Aki Van Ness
59dc27ed73 sby: core: config: cleaned up the error messages to make them less opaque 2022-08-01 10:16:05 -04:00
Jannis Harder
c200690160
Merge pull request #201 from jix/autotune_example_in_docs
Autotune example in docs
2022-08-01 12:13:38 +02:00
Jannis Harder
4ec278e6ec Autotune example in docs 2022-07-26 16:35:57 +02:00
Jannis Harder
0395b8a439
Merge pull request #200 from jix/autotune_example
example for autotune
2022-07-26 16:21:16 +02:00
Jannis Harder
9293e66092 example for autotune 2022-07-26 16:06:02 +02:00