hdl.ast: add const-shift operations.
authorwhitequark <whitequark@whitequark.org>
Wed, 20 May 2020 03:18:33 +0000 (03:18 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 31 Dec 2021 13:31:40 +0000 (13:31 +0000)
commit539e977e74f59e723726319a81454d348cfc9954
tree9e8ba29cde793c4ed4e8b15e341bfb3d78a8f2e0
parent4a326d5fed14abb3ecbb36ac8e9fb18becd8203a
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