[libre-riscv-dev] [Bug 151] introductory formal verification tutorial using the PriorityPicker

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Tue Jan 7 17:57:43 GMT 2020


http://bugs.libre-riscv.org/show_bug.cgi?id=151

--- Comment #3 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #1)
> this is the code that needs a formal proof added:
> https://git.libre-riscv.org/?p=ieee754fpu.git;a=blob;f=src/nmutil/picker.py

Related: priority picker where LSB has highest priority can be implemented
with:

i = Signal(32)
o = Signal(32)

m.d.comb += o.eq(i & -i)

See: https://stackoverflow.com/a/12250963

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


More information about the libre-riscv-dev mailing list