hdl.ast: add const-shift operations.
authorwhitequark <whitequark@whitequark.org>
Wed, 20 May 2020 03:18:33 +0000 (03:18 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 20 May 2020 03:18:33 +0000 (03:18 +0000)
commit7ea81f5f06be949ea3940152c8ce1ead3d0712b1
treeafe0b847a26cfc7732361a9f100cd4e0c7b2e7d7
parent72ef4303a90a8371213f0907cfe9a17468bb0e73
hdl.ast: add const-shift operations.

Also, clean up the rotate code a bit.

Fixes #378.
nmigen/hdl/ast.py
nmigen/test/test_hdl_ast.py
nmigen/test/test_sim.py