* [libre-riscv-dev] nMigen Hierachical Issues
@ 2020-05-08 2:19 Yehowshua
2020-05-08 2:36 ` Luke Kenneth Casson Leighton
0 siblings, 1 reply; 2+ messages in thread
From: Yehowshua @ 2020-05-08 2:19 UTC (permalink / raw)
To: Libre-RISCV General Development
I noticed this a couple days back.
https://github.com/m-labs/nmigen/issues/328 <https://github.com/m-labs/nmigen/issues/328>
Does that affect cookie cutter VLSI layout?
Yehowshua
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [libre-riscv-dev] nMigen Hierachical Issues
2020-05-08 2:19 [libre-riscv-dev] nMigen Hierachical Issues Yehowshua
@ 2020-05-08 2:36 ` Luke Kenneth Casson Leighton
0 siblings, 0 replies; 2+ messages in thread
From: Luke Kenneth Casson Leighton @ 2020-05-08 2:36 UTC (permalink / raw)
To: Libre-RISCV General Development
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, back to index
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08 2:19 [libre-riscv-dev] nMigen Hierachical Issues Yehowshua
2020-05-08 2:36 ` Luke Kenneth Casson Leighton
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