cxxrtl: order -On levels as localize, elide instead of the reverse.
authorwhitequark <whitequark@whitequark.org>
Tue, 9 Jun 2020 20:55:40 +0000 (20:55 +0000)
committerwhitequark <whitequark@whitequark.org>
Tue, 9 Jun 2020 20:55:40 +0000 (20:55 +0000)
commit970ec34e7053704fb748fdc80b9ebaf277bce98d
tree7889f6b5de4430928cc46f5e563d9610064dfe9a
parentba11060e59fcd43e072802c5666c7095df01e5d2
cxxrtl: order -On levels as localize, elide instead of the reverse.

Historically, elision was implemented before localization, so levels
with elision are lower than corresponding levels with localization.
This is unfortunate for two reasons:
  1. Elision is a logical subset of localization, since it equals to
     not giving a name to a temporary.
  2. "Localize" currently actually means "unbuffer and localize",
     and it would be useful to split those steps (at least for
     public wires) for improved design visibility.
backends/cxxrtl/cxxrtl_backend.cc