[libre-riscv-dev] [Bug 178] first coriolis2 tutorial, workflow and "test project" page

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Sun Feb 23 16:10:28 GMT 2020


http://bugs.libre-riscv.org/show_bug.cgi?id=178

--- Comment #74 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
jean paul i have a better handle on this now.

i have some ideas.

the problems we have seem to revolve around constants and around modules, both
constants *in* modules (particularly combinatorial blocks) and passing *in*
constants.

yosys, being written in c, is not a good place to fix those.

therefore i think a good thing to do is a nmigen AST rewriter, very similar to
python lib2to3, which looks for patterns and augments the AST.

for example if a module is passed a Const parameter, the function parameter is
REPLACED with the Const, even before yosys sees the ILANG file.

i will make sure a budget is available to do that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-riscv-dev mailing list