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] daily kan-ban update 26may2020
Date: Tue, 26 May 2020 20:46:44 +0100
Message-ID: <CAPweEDzpdC=ukFfLwipDM=_-AxqOvfePKn6zSMdNq73riDTu5A@mail.gmail.com> (raw)
In-Reply-To: <3F54AFB8-8C2A-48D9-8473-31441A492780@getmailspring.com>

On Tue, May 26, 2020 at 7:00 PM Cole Poirier <colepoirier@gmail.com> wrote:
>
> On May 26 2020, at 10:35 am, Luke Kenneth Casson Leighton
> <lkcl@lkcl.net> wrote:
> > i have a feeling we just call RegFileArray.read_port() and write_port,
> > then not let anyone access the 8 reg-ports, throw away the "global"
> > thing and create the alternative one.
>
> Having done a close read of regfile/virtual_port.py (apologies for
> giving a "terrible name for a complex register"),

it works :)

> and reviewing the
> yosys show top logic diagram I think I mostly understand what's going on
> in this module.

it's basically multiplexing between 8 individual ports and 1 massive
port that hits absolutely all of the (8) ports at once.

which, when put like that, we might as well do exactly that.


> Regarding the "global" thing, are you referring to the self.wr/rd_ports
> "for external use"? We should instead just use the existing methods on
> RegFileArray to set up the external ports? How do we go about not
> letting anyone access the 8 reg-ports?

that's the Dep-Matrices job.  or, more to the point: the PriorityPickers.

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: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-26 14:40 Luke Kenneth Casson Leighton
2020-05-26 16:44 ` Cesar Strauss
2020-05-26 17:07   ` Luke Kenneth Casson Leighton
2020-05-26 16:47 ` Michael Nolan
2020-05-26 17:02   ` Cole Poirier
2020-05-26 17:24     ` Luke Kenneth Casson Leighton
2020-05-26 17:29       ` Cole Poirier
2020-05-26 17:35         ` Luke Kenneth Casson Leighton
2020-05-26 18:00           ` Cole Poirier
2020-05-26 19:46             ` Luke Kenneth Casson Leighton [this message]
2020-05-26 17:08   ` Luke Kenneth Casson Leighton
2020-05-26 17:49   ` Luke Kenneth Casson Leighton
2020-05-26 17:57     ` Michael Nolan
2020-05-26 19:13 ` Jacob Lifshay
2020-05-26 19:51   ` Luke Kenneth Casson Leighton
2020-05-26 19:54 ` Tobias Platen
2020-05-26 20:00   ` Luke Kenneth Casson Leighton

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='CAPweEDzpdC=ukFfLwipDM=_-AxqOvfePKn6zSMdNq73riDTu5A@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