From: Yehowshua <yimmanuel3@gatech.edu>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: Re: [libre-riscv-dev] daily kan-ban update 15jun2020
Date: Mon, 15 Jun 2020 16:03:52 -0400
Message-ID: <A3CC338E-A1BB-46A6-8347-760CA3881DBD@gatech.edu> (raw)
In-Reply-To: <CAPweEDx1hevEgNrMvEdORv3cLmFyBqgrA4eAK5Z4Vuo0f=SqcA@mail.gmail.com>
>
> what i might do for now is just drop in a small SRAM just to get
> something working.
You might already know, but you can do an SRAM like so:
**should also map to ECP5 BRAM blocks in Yosys
```
from nmigen import Memory
gprf = Memory(width=32, depth=32)
gprf_rp1 = gprf.read_port()
gprf_rp2 = gprf.read_port()
gprf_wp = gprf.write_port()
```
https://github.com/lambdaconcept/minerva/blob/master/minerva/core.py#L227
Yehowshua
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
next prev parent reply index
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-15 15:11 Luke Kenneth Casson Leighton
2020-06-15 19:58 ` Luke Kenneth Casson Leighton
2020-06-15 20:03 ` Yehowshua [this message]
2020-06-15 21:12 ` Cole Poirier
2020-06-15 21:21 ` Luke Kenneth Casson Leighton
2020-06-15 21:20 ` Luke Kenneth Casson Leighton
2020-06-16 3:08 ` Jacob Lifshay
2020-06-16 10:52 ` 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=A3CC338E-A1BB-46A6-8347-760CA3881DBD@gatech.edu \
--to=yimmanuel3@gatech.edu \
--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