FMIN and FMAX needed.
I'd like to give this one a go if that's alright.
yeah go for it. here's the scala reference code: https://github.com/chipsalliance/rocket-chip/blob/master/src/main/scala/tile/FPU.scala#L530
michael i included an import os and os.path.split(__file__) so that the read of the .sby file is location-independent
> michael i included an import os and os.path.split(__file__) so that the read of > the .sby file is location-independent I saw that, I made a small change to fix it when running the proof from the proof directory. I'm planning on refactoring the proof runner into a separate file in fpcommon/ as well.
(In reply to Michael Nolan from comment #4) > > michael i included an import os and os.path.split(__file__) so that the read of > the .sby file is location-independent > > I saw that, I made a small change to fix it when running the proof from the > proof directory. > > I'm planning on refactoring the proof runner into a separate file in > fpcommon/ as well. have a look at the nmigen/test/test_lib_fifo.py because i don't believe it's necessary to manually call sby from a subprocess: nmigen should take care of it.
nmigen/test/utils.py - already done.
> have a look at the nmigen/test/test_lib_fifo.py because i don't believe > it's necessary to manually call sby from a subprocess: nmigen should > take care of it. That's pretty nice. I was following this tutorial for nmigen's formal verification and it didn't have that: https://github.com/RobertBaruch/nmigen-tutorial/blob/master/8_formal_verification.md
are we happy that this is done, now? unit test seems good.
> are we happy that this is done, now? unit test seems good. Yes, I think so. Should I submit an RFP?
do both of them at the same time, create a draft, send it to me for review. email me privately.