From: Yehowshua <yimmanuel3@gatech.edu>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: [libre-riscv-dev] Named Records in nMigen
Date: Mon, 1 Jun 2020 02:29:44 -0400
Message-ID: <E02C3F23-49C5-4C65-8B05-AD085772FDD1@gatech.edu> (raw)
Does anybody know if its possible to have a named records or subsignals in nMigen?
Consider mysig
I’d like to do something to the effect of
```
>>> mysig.byte1
mysig[0:4]
```
Yehowshua
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
next reply index
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-01 6:29 Yehowshua [this message]
2020-06-01 6:33 ` Yehowshua
2020-06-01 7:17 ` Jock Tanner
2020-06-01 10:15 ` 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=E02C3F23-49C5-4C65-8B05-AD085772FDD1@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