[libre-riscv-dev] div/mod algorithm written in python

Jacob Lifshay programmerjake at gmail.com
Wed Jul 10 13:29:10 BST 2019


added more tests.
Running the new tests took 2449s and went through about 240k test
vectors on several different pipeline configurations generating 7.4GB
of vcd files.
They all passed!

Jacob

On Wed, Jul 10, 2019 at 1:28 AM Luke Kenneth Casson Leighton
<lkcl at lkcl.net> wrote:
>
> On Wed, Jul 10, 2019 at 9:03 AM Jacob Lifshay <programmerjake at gmail.com> wrote:
> >
> > DivPipeCore tests pass.
>
>  i saw, after the enum issue was fixed.
>
> > still need to add more tests though.
>
>  yehyeh, that's going to get interesting.  i'd be really interested to
> see what happens on putting some data into the pipe.
>
>  see fpmux.py btw - it does ready_io/valid_io signalling.  if you
> ignore that, something similar can be used (one cls.send, one cls.rcv
> function) to get an array of data into the pipeline (cls.send), and in
> cls.rcv, delay by N fixed cycles (to wait for pipe propagation), and
> start reading out of the pipeline.
>
> l.
>
> _______________________________________________
> libre-riscv-dev mailing list
> libre-riscv-dev at lists.libre-riscv.org
> http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev



More information about the libre-riscv-dev mailing list