Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: Re: [libre-riscv-dev] LibreSOC - RISCV and POWER dual architecture feasibility
Date: Sun, 15 Mar 2020 11:20:16 +0000
Message-ID: <CAPweEDyaCDW575g4V7NQbiXhp+wLJR+EqaYjNHfHgpjnS7ENnQ@mail.gmail.com> (raw)
In-Reply-To: <E23AD06A-36A2-4322-98E3-20FBEC559026@gatech.edu>

On Sun, Mar 15, 2020 at 7:19 AM Immanuel, Yehowshua U
<yimmanuel3@gatech.edu> wrote:

> > 1) where are the unit tests?
> > 2) where is the simulator?
> > 3) where is the port of softfloat-3 that supports POWER IEEE754 format?
>
> So what I’m hearing is that spike combined with risk-isa-tests has sped up the development process.

massively - and provided us with a way to test it, so that when it
comes to implementing it in hardware, the *hardware* can be verified
immediately.

bear in mind that the full hardware will run (in nmigen simulation
form) at *seconds* per cycle.  compiling with iverilog will be better
but nothing like an FPGA.

each level of additional complexity and time for compilation means yet
more delay in finishing... and not having unit tests actually means
*we can't declare it finished*.

> Now, we just need a way to map POWER onto Simple-V?

not quite.

1) first we need a suitable POWER simulator.  it needs to be 64-bit,
LE and BE capable, with a full MMU, and capable of running bare-metal
tests as well as a full GNU/Linux 64-bit OS (even if that's in-memory,
like spike)
2) we then need a full set of bare-metal unit tests
3) *then* we add SImple-V to POWER at the *specification* level
4) *then* we implement Simple-V in the POWER simulator
5) *then* we implement bare metal unit tests capable of running in the
POWER simulator
6) *then* we implement POWER in hardware
7) *then* we run the unit tests from step 2 under the hardware
8) *then* we add SimpleV to POWER in hardware
9) *then* we run the unit tests from step 5 under the hardware

it's a hell of a lot of work - a lot more than with RISC-V.  with
RISC-V the fact that spike and the unit tests exist *and work* is a
massive, massive head-start, where not only do we not have to do the
research to get that working, we can use it by examining even the
source code of the simulator to actually see what's going on [spike
actually implements RISC-V UNIX Platform TLBs, and throws full and
correct page-fault exceptions].


> How does the decoder Michael is working on fit in?

it's a decoder.  if you don't have it, you can't decode POWER
instructions.  it's an essential part.

l.

_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

  reply index

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6AC4EFD4-AA30-42C7-855A-CE68A62F107F@gatech.edu>
2020-03-15  3:17 ` Jacob Lifshay
2020-03-15  4:00   ` Luke Kenneth Casson Leighton
2020-03-15  7:59     ` Jacob Lifshay
2020-03-15 11:22       ` Luke Kenneth Casson Leighton
2020-03-15 12:09         ` [libre-riscv-dev] pearpc simulator running Luke Kenneth Casson Leighton
2020-03-15  5:10   ` [libre-riscv-dev] LibreSOC - RISCV and POWER dual architecture feasibility Hendrik Boom
2020-03-15  6:13     ` Jacob Lifshay
2020-03-15  7:18       ` Immanuel, Yehowshua U
2020-03-15 11:20         ` Luke Kenneth Casson Leighton [this message]
2020-03-15 18:19           ` Immanuel, Yehowshua U
2020-03-15 18:21             ` Immanuel, Yehowshua U
2020-03-15 18:26               ` Immanuel, Yehowshua U
2020-03-15 19:11               ` Luke Kenneth Casson Leighton
2020-03-15 19:16                 ` Immanuel, Yehowshua U
2020-03-15 19:20                   ` Immanuel, Yehowshua U
2020-03-15 19:24                     ` Luke Kenneth Casson Leighton
2020-03-15 19:25                       ` Luke Kenneth Casson Leighton
2020-03-15 19:23                   ` Luke Kenneth Casson Leighton
2020-03-15 19:32                     ` Immanuel, Yehowshua U
2020-03-15 19:43                       ` Jacob Lifshay
2020-03-15 19:52                         ` Immanuel, Yehowshua U
2020-03-15 19:57                           ` Luke Kenneth Casson Leighton
2020-03-15 20:00                             ` Immanuel, Yehowshua U
2020-03-15 20:05                               ` Luke Kenneth Casson Leighton
2020-03-15 22:04                           ` Staf Verhaegen
2020-03-15 22:10                             ` Jacob Lifshay
2020-03-15 22:23                               ` Adam Van Ymeren
2020-03-15 22:32                                 ` Luke Kenneth Casson Leighton
2020-03-16  0:25                                   ` Immanuel, Yehowshua U
2020-03-15 19:56                         ` Luke Kenneth Casson Leighton
2020-03-16  7:14                         ` Lauri Kasanen
2020-03-16  7:28                           ` Jacob Lifshay
2020-03-16  8:53                           ` Staf Verhaegen
2020-03-16  9:27                             ` Lauri Kasanen
2020-03-16 10:34                               ` Luke Kenneth Casson Leighton
2020-03-16 11:00                               ` Staf Verhaegen
2020-03-15 19:51                       ` Luke Kenneth Casson Leighton
2020-03-15 19:37                     ` Immanuel, Yehowshua U
2020-03-15 19:07             ` Luke Kenneth Casson Leighton
2020-03-15 16:57       ` Hendrik Boom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPweEDyaCDW575g4V7NQbiXhp+wLJR+EqaYjNHfHgpjnS7ENnQ@mail.gmail.com \
    --to=lkcl@lkcl.net \
    --cc=libre-riscv-dev@lists.libre-riscv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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