-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssertionError in sby tests #141
Comments
Please update |
Thanks for your reply. I updated btorsim but i got an issue with SymbiYosys/tests$ make test
python3 make/collect_tests.py
cd regression && python3 /home/sallar/tools/SymbiYosys/sbysrc/sby.py -f aim_vs_smt2_nonzero_start_offset.sby abc_bmc3
SBY 10:14:27 [aim_vs_smt2_nonzero_start_offset_abc_bmc3] Removing directory '/home/sallar/tools/SymbiYosys/tests/regression/aim_vs_smt2_nonzero_start_offset_abc_bmc3'.
SBY 10:14:27 [aim_vs_smt2_nonzero_start_offset_abc_bmc3] Writing 'aim_vs_smt2_nonzero_start_offset_abc_bmc3/src/test.sv'.
SBY 10:14:27 [aim_vs_smt2_nonzero_start_offset_abc_bmc3] engine_0: abc bmc3
SBY 10:14:27 [aim_vs_smt2_nonzero_start_offset_abc_bmc3] base: starting process "cd aim_vs_smt2_nonzero_start_offset_abc_bmc3/src; yosys -ql ../model/design.log ../model/design.ys"
SBY 10:14:27 [aim_vs_smt2_nonzero_start_offset_abc_bmc3] base: ERROR: No such command: write_jny (type 'help' for a command overview)
SBY 10:14:27 [aim_vs_smt2_nonzero_start_offset_abc_bmc3] base: finished (returncode=1)
SBY 10:14:27 [aim_vs_smt2_nonzero_start_offset_abc_bmc3] base: task failed. ERROR.
SBY 10:14:27 [aim_vs_smt2_nonzero_start_offset_abc_bmc3] summary: Elapsed clock time [H:MM:SS (secs)]: 0:00:00 (0)
SBY 10:14:27 [aim_vs_smt2_nonzero_start_offset_abc_bmc3] summary: Elapsed process time [H:MM:SS (secs)]: 0:00:00 (0)
SBY 10:14:27 [aim_vs_smt2_nonzero_start_offset_abc_bmc3] DONE (ERROR, rc=16)
SBY 10:14:27 The following tasks failed: ['abc_bmc3']
make: *** [make/rules/test/regression/aim_vs_smt2_nonzero_start_offset.sby.mk:3: regression/aim_vs_smt2_nonzero_start_offset_abc_bmc3] Fehler 16 I made sure to also update my sby before trying that. Do I also have to update other tools (since it mentions abc_bmc I would guess something like yosys?) |
@saahm looks like you have latest sby, but not latest yosys. write_jny is added in previous release |
Thanks, that seemed to help here for that. Did I miss something again? According to the pullrequest linked by nakengelhardt it has been merged, so I'm confused why its not appearing? |
Well boolector itself in scripts download old version https://github.com/Boolector/boolector/blob/master/contrib/setup-btor2tools.sh we package in TabbyCad and use always the latest ( so one from https://github.com/Boolector/btor2tools/ ) |
Ah, I see what is happening. The contrib setup script for btor2tools in boolector is pinned to a fairly old revision, |
Ahh, I will do that an update you here once I did it. Thanks so far. |
its missing |
and the That aside it works not, and progresses to give me a new error: SBY 11:53:49 [demo_btormc] engine_0: [btor>mc] found 1 reachable and 0 unreachable bad state properties at bound k = 8
SBY 11:53:49 [demo_btormc] engine_0: [btor>mc] deleting model checker: 1 inputs, 3 states, 1 bad, 0 constraints
SBY 11:53:49 [demo_btormc] engine_0: finished (returncode=0)
SBY 11:53:49 [demo_btormc] engine_0_0: btorsim: error while loading shared libraries: libbtor2parser.so: cannot open shared object file: No such file or directory
SBY 11:53:49 [demo_btormc] engine_0_0: finished (returncode=127)
SBY 11:53:49 [demo_btormc] engine_0_0: COMMAND NOT FOUND. ERROR.
SBY 11:53:49 [demo_btormc] summary: Elapsed clock time [H:MM:SS (secs)]: 0:00:00 (0)
SBY 11:53:49 [demo_btormc] summary: Elapsed process time [H:MM:SS (secs)]: 0:00:00 (0)
SBY 11:53:49 [demo_btormc] DONE (ERROR, rc=16)
SBY 11:53:49 The following tasks failed: ['btormc']
make: *** [make/rules/test/unsorted/demo.sby.mk:3: unsorted/demo_btormc] Fehler 16
|
Can you try if building btorsim with |
That fixed it, tho I noticed when the tests were running that one test required "xmlschema" as python dependency. With that everything is running finely :) Thank you! If there is nothing further to be added this can be closed |
I tried running the tests in the tests directory.
I called
make test
It shows that sby tries calling
btorsim
with the argument--vcd
which is not present inbtorsim
I've installed sby according to the readthedocs page
How can I get the tests running correctly?
The text was updated successfully, but these errors were encountered: