[Libre-soc-bugs] [Bug 565] Improve formal verification on PartitionedSignal

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Jan 16 18:12:27 GMT 2021


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

--- Comment #25 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Cesar Strauss from comment #24)

> It works! The proof driver can now accept unary operations (returning a
> partition-like result).
> 
> PartitionedSignal.all() passes. Congratulations!

pffh, that's really funny given that it was one line of code :)

it's also fascinating in that its implementation is one of the first "meta"
operators: i.e. it actually uses __eq__ by comparing against Const(-1)

next is to add some() which is __ne__ against Const(0)

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


More information about the libre-soc-bugs mailing list