[Libre-soc-dev] Writing unit tests

Jacob Lifshay programmerjake at gmail.com
Tue Aug 4 20:03:11 BST 2020

On Tue, Aug 4, 2020, 11:53 Luke Kenneth Casson Leighton <lkcl at lkcl.net>

> On Tue, Aug 4, 2020 at 7:51 PM Cole Poirier <colepoirier at gmail.com> wrote:
> >
> > Luke and I discussed the need for additional unit tests for the LDST
> > and MUL modules.
> do MUL first.  search "MUL pipeline".  actually i thought about it and
> it's probably a good idea to create a bugreport "MUL pipeline unit
> tests".

You can use power-instruction-analyzer to help test the mul* and madd*
instructions, since I added them all. see the div pipeline tests for an
example. for madd* you will need to pass the actual rc argument value to
InstructionInput instead of 0.


More information about the Libre-soc-dev mailing list