[Libre-soc-bugs] [Bug 835] add support for smtlib2 floating-point to yosys and nmigen

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed May 25 10:14:06 BST 2022


https://bugs.libre-soc.org/show_bug.cgi?id=835

--- Comment #14 from Jacob Lifshay <programmerjake at gmail.com> ---
I finished adding tests and marked both the nmigen and yosys PRs as ready.

There ended up being 5.8kloc of tests and 2.6kloc of nmigen wrapper classes.

The tests have 100% coverage of the new source file.

I ran the tests using (in nmigen's root dir):
pytest -n auto --cov-report=xml:cov.xml --cov
coverage report --fail-under=100 --include='*/*smtlib2.py' -m

Last few lines of output:
============================= 869 passed in 12.99s
=============================
Name                    Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------------
nmigen/hdl/smtlib2.py    1787      0    414      0   100%

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list