Make a few passes auto-call Mem::narrow instead of rejecting wide ports.
authorMarcelina Kościelnicka <mwk@0x04.net>
Thu, 27 May 2021 21:43:25 +0000 (23:43 +0200)
committerMarcelina Kościelnicka <mwk@0x04.net>
Thu, 27 May 2021 22:40:56 +0000 (00:40 +0200)
commitcbf6b719fe85ce8544f9bb0796711f3f45638862
treee5123705ba397f310a10c133d02fd4360c42800d
parent055ba748bcf8c77bff15bda0de49c0b4b3722bba
Make a few passes auto-call Mem::narrow instead of rejecting wide ports.

This essentially adds wide port support for free in passes that don't
have a usefully better way of handling wide ports than just breaking
them up to narrow ports, avoiding "please run memory_narrow" annoyance.
backends/btor/btor.cc
backends/firrtl/firrtl.cc
backends/smt2/smt2.cc
kernel/mem.cc
passes/memory/memory_bram.cc