3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-03-02 19:56:57 +00:00
Commit graph

12 commits

Author SHA1 Message Date
Krystine Sherwin
826d1d91cd
tests/symfpu: Extra muladd tests
Switch inputs back to `anyseq`, and add coverage for muladd with constant multiplier output and varying addend (also an assertion).
Use an `ifdef` to control clocked properties (because of the assertion, it's no longer just covers that are clocked).
2026-02-23 16:58:34 +13:00
Krystine Sherwin
0b5d64f068
tests/symfpu: Testing sqrt
Coverage supports `sqrt`, including new general rounding detection instead of just inf/ebmin/zero (since they aren't possible with `sqrt`).
More `sqrt` assertions, as well as the addition of `altsqrt` verification.
Some adjustments of macros.
2026-02-21 17:11:11 +13:00
Krystine Sherwin
f39427f40a
symfpu: Add altdiv 2026-02-20 14:01:49 +13:00
Krystine Sherwin
1629c2bd3d
tests/symfpu: Add cover checks
Include mask/map for abc inputs (and switch to `anyconst` instead of `anyseq`).
Add false divide check for mantissa.
Covers aren't currently being tested by anything (and have to be removed for `sat`), but I've been using it locally with SBY to confirm that the different edge cases are able to be verified (e.g. when verifying HardFloat against symfpu while using the masked inputs to reduce solver time).
2026-02-20 13:56:17 +13:00
Krystine Sherwin
a464c2ae6a
Fix tininess when rounding to ebmin 2026-02-04 17:16:32 +13:00
Krystine Sherwin
f430908512
tests/symfpu: UF to ebmin is valid 2026-02-04 07:12:51 +13:00
Krystine Sherwin
896cca5365
Don't raise DZ when left is inf 2026-02-02 14:52:33 +13:00
Krystine Sherwin
1cd3fd5090
symfpu: Dynamic rounding mode 2026-01-28 16:34:51 +13:00
Krystine Sherwin
88e6305849
symfpu: floatWithStatusFlags
Now with verified muladd exceptions.
2026-01-21 18:32:07 +13:00
Krystine Sherwin
5c99ff204b
symfpu: Verifying rounding modes
Works for everything but muladd.
Which I saw coming, but am still frustrated by.
2026-01-21 13:10:57 +13:00
Krystine Sherwin
9db187469d
symfpu: Configurable rounding modes
Including tests, but currently only testing rounding modes on multiply.
Also missing the ...01 case.
2026-01-20 18:18:15 +13:00
Krystine Sherwin
d26aa0e31d
symfpu: Add flags
Use symfpu fork.
Add tests for symfpu properties and extra edge case checking for flags.
2026-01-17 17:32:43 +13:00