hdl.xfrm: separate AST traversal from AST identity mapping.
authorwhitequark <whitequark@whitequark.org>
Sun, 16 Dec 2018 11:24:23 +0000 (11:24 +0000)
committerwhitequark <whitequark@whitequark.org>
Sun, 16 Dec 2018 11:25:52 +0000 (11:25 +0000)
commit2be76fda3c972a04721f0ad8836641e126f3fcf9
tree0bd213ef5e31ba29ad8270dd9c202f2d2359635e
parent286a8009c895467e87015fdfdfb267d7083effa1
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