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

616 commits

Author SHA1 Message Date
Jannis Harder 9edb6ee00b
Merge pull request #214 from jix/no_vcd
Add vcd option to make VCD writing optional
2022-09-05 16:05:06 +02:00
Jannis Harder 168d667b6d Add vcd option to make VCD writing optional 2022-09-05 15:42:24 +02:00
Jannis Harder 17c3961a2b
Merge pull request #213 from jix/fix_tests
Fix tests
2022-09-05 14:08:31 +02:00
Jannis Harder 326247fdef tests: Skip broken tests 2022-09-03 00:04:40 +02:00
Jannis Harder 586be8ba96 tests: Fix test_rules.py after sby config parser changes 2022-09-03 00:03:28 +02:00
N. Engelhardt 4adb99ea30
Merge pull request #174 from KrystalDelusion/fifo_example 2022-08-22 11:34:51 +02:00
KrystalDelusion 82a6edf295 Moving newstart to replace quickstart 2022-08-22 21:20:59 +12:00
KrystalDelusion df2610d598 Fixes before merge 2022-08-22 21:18:40 +12: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
KrystalDelusion d6d7119cd5 Rewrite of non verific underfill/overfill
w_underfill should provide identical results regardless of whether
or not Verific is used.  w_overfill doesn't have the extra check
for prettiness without Verific because I'm too lazy to do it.

Replaced $past function with past_nwen register to ensure correct
operation.

Expanded w_underfill under Verific to use a property block to more
easily compare the two versions side by side.

Changed Concurrent assertions section of doc to compare the two
implementations of w_underfill.  Should provide a better example
for why using verific makes it easier.
2022-08-09 11:48:40 +12:00
KrystalDelusion 1d4716a5f9 Add noverific task to test the non verific code
Mostly for CI to ensure fallback code still functions as intended.a
Also reverted the change in the grep command to 1 line after.
2022-08-09 11:32:59 +12:00
KrystalDelusion ad8730fa44 Fix typo 2022-08-08 21:30:31 +12: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