yosyshq / mcy Goto Github PK
View Code? Open in Web Editor NEWMutation Cover with Yosys (MCY)
License: ISC License
Mutation Cover with Yosys (MCY)
License: ISC License
Bug in the print function call:
...
File "/run/current-system/sw/bin/mcy", line 651, in list_command
print(f" {mut}" % mut, file=output)
~~~~~~~~~~~^~~~~
TypeError: not all arguments converted during string formatting
Fix:
--- a/mcy.py
+++ b/mcy.py
@@ -648,7 +648,7 @@ def list_command(filter, output, details, trace):
print(file=output)
if details:
- print(f" {mut}" % mut, file=output)
+ print(f" {mut}", file=output)
for tst, res in db.execute("SELECT test, result FROM results WHERE mutation_id = ?", [mid]):
print(f" result from \"{tst}\": {res}", file=output)
print(file=output)
error given is:
Command 'export TASK=8abcbc9e-17f0-4abb-8b10-9c0e7f00e740 PRJDIR="$PWD" KEEPDIR=0 MUTATIONS="1 2 3 4 5 6 7 8 9 10";
cd tasks/$TASK; export TASKDIR="$PWD"; exec >>logfile.txt; bash $PRJDIR/sim_simple.sh ' returned non-zero return c
ode 127.
better if dependencies were checked before running, or were listed in INSTALL or README
To reproduce:
cd examples/picorv32_primes
mcy init
mcy run
sby is now requiring a [tasks]
section with regex (YosysHQ/sby#76), but this wasn't added to examples/picorv32_primes/eq_bmc.sby
and examples/picorv32_primes/eq_sim3.sby
[0-9]+
does not work as a task regex, but \d+
doeseq_bmc.sby fails in generating the smt2 model:
SBY 16:22:13 [eq_bmc_1] smt2: starting process "cd eq_bmc_1/model; yosys -ql design_smt2.log design_smt2.ys"
SBY 16:22:14 [eq_bmc_1] smt2: ERROR: Assert `bit_driver.count(bit) == 0' failed in backends/smt2/smt2.cc:397.
I am trying to build the documentation, but no luck yet:
sphinx-build -b html -d build/doctrees source build/html
Running Sphinx v1.8.5
loading pickled environment... done
Theme error:
no theme named 'press' found (missing theme.conf?)
If I try to build pdf
**sphinx-build -b latex -d build/doctrees source build/latex
Running Sphinx v1.8.5
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [latex]: all documents
updating environment: 0 added, 0 changed, 1 removed
Sphinx error:
master file ...mcy/docs/source/contents.rst not found
I am on commit: 8decee8
ubuntu 20.04.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.