Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
* [libre-riscv-dev] daily kan-ban update 11jul2020
@ 2020-07-11 13:28 Luke Kenneth Casson Leighton
  2020-07-12  1:56 ` Luke Kenneth Casson Leighton
  0 siblings, 1 reply; 2+ messages in thread
From: Luke Kenneth Casson Leighton @ 2020-07-11 13:28 UTC (permalink / raw)
  To: Libre-RISCV General Development

task list:

https://bugs.libre-soc.org/showdependencytree.cgi?maxdepth=1&id=383&hide_resolved=1

yesterday:

* sorting out div, particularly overflow.
* helping samuel get up and running

today:

* tracked down issue with whitequark that jacob highlighted, on vcd files
* added "overflow calculation" to MUL pseudocode
* added more MUL unit tests


i'm starting to become reasonably confident that MUL and DIV are
functionally correct.  checking against first qemu then actual POWER9 would
help with that.

the only downside being that the blocks are so massive that we can't
realistically use them as-is.  however the unit tests give us a baseline to
"codemorph" against.

still the biggest next milestone is being able to select littlend/bigend
code in order to run microwatt unit tests.  still thinking that through.

l.



-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [libre-riscv-dev] daily kan-ban update 11jul2020
  2020-07-11 13:28 [libre-riscv-dev] daily kan-ban update 11jul2020 Luke Kenneth Casson Leighton
@ 2020-07-12  1:56 ` Luke Kenneth Casson Leighton
  0 siblings, 0 replies; 2+ messages in thread
From: Luke Kenneth Casson Leighton @ 2020-07-12  1:56 UTC (permalink / raw)
  To: Libre-RISCV General Development

On Saturday, July 11, 2020, Luke Kenneth Casson Leighton <lkcl@lkcl.net>
wrote:

>
> still the biggest next milestone is being able to select littlend/bigend
> code in order to run microwatt unit tests.  still thinking that through.
>

for now i have set up a module with a single global flag that everything
uses.  this can be changed later to respect the appropriate MSR bit.

i identified that in PowerDecoder the instruction byte swapping was
inverted.  correcting this brought the decoder into line with qemu and with
microwatt test binaries.

the next phase was to track down a bug in core.py where rather than take
the conditional output from the CompUnit i had connected directly to the
pipeline ALU output.

the pipeline output obvuously changes depending on what cycle is currently
being executed, resulting in data corruption.

whereas the CompUnit Manager's entire job is to latch that data at the
correct point in time, then present it to the Regfile Bus on request.

this allowed me to progress to another bug that i will investigate
tomorrow.  there may be a ST instruction missing from the CSV files, i have
to track it down.

l.



-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-11 13:28 [libre-riscv-dev] daily kan-ban update 11jul2020 Luke Kenneth Casson Leighton
2020-07-12  1:56 ` Luke Kenneth Casson Leighton

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git