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] nMigen Hierachical Issues
Date: Fri, 8 May 2020 03:36:03 +0100
Message-ID: <CAPweEDx9+Lcdwr4Aaw2k6dYNG9_URasa5G2HmyDMQY-NAg=aAQ@mail.gmail.com> (raw)
In-Reply-To: <88B9E0E6-23AD-49C3-92B8-3824772ABEED@gatech.edu>

On Friday, May 8, 2020, Yehowshua <yimmanuel3@gatech.edu> wrote:

> I noticed this a couple days back.
>
> https://github.com/m-labs/nmigen/issues/328 <https://github.com/m-labs/
> nmigen/issues/328>


the problem i think is that the WIDTH parameter could potentially radically
alter the submodule.

thus, efforts to "analyse" the submodules and get them to share the same
"include" (if i uderstand him correctly this is what he wants) would need
literally a full AST tree walk to determine if they were identical.

Does that affect cookie cutter VLSI layout?


yes.  pass in different parameters or take in global python state which
produces different AST, we cannot safely expect the instances to be the
same.

if *we* know that the AST is the same, we might take the risk.



the "paranoid" solution is to create external imports.

external imports nmigen is forced to stop at the boundary of the import.

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

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-08  2:19 Yehowshua
2020-05-08  2:36 ` Luke Kenneth Casson Leighton [this message]

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='CAPweEDx9+Lcdwr4Aaw2k6dYNG9_URasa5G2HmyDMQY-NAg=aAQ@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