hdl.xfrm: separate AST traversal from AST identity mapping.
authorwhitequark <cz@m-labs.hk>
Sun, 16 Dec 2018 11:24:23 +0000 (11:24 +0000)
committerwhitequark <cz@m-labs.hk>
Sun, 16 Dec 2018 11:25:52 +0000 (11:25 +0000)
commitc821477ed3a9031c39228a7d494b0a3802b74692
tree0bd213ef5e31ba29ad8270dd9c202f2d2359635e
parent864824c8d498e3261f55491fd8d19673e06a4317
hdl.xfrm: separate AST traversal from AST identity mapping.

This is useful because backends don't generally want or need AST
identity mapping (unlike all other transforms) and when adding a new
node, it results in confusing type errors.
nmigen/back/pysim.py
nmigen/back/rtlil.py
nmigen/hdl/xfrm.py