hdl.ir: accept LHS signals like slices as Instance io ports.
authorwhitequark <whitequark@whitequark.org>
Mon, 3 Jun 2019 02:39:14 +0000 (02:39 +0000)
committerwhitequark <whitequark@whitequark.org>
Mon, 3 Jun 2019 02:39:14 +0000 (02:39 +0000)
commitc6a0761b3ac5a5888867f5b8679a083ebb93713a
treecbfe0580adc2abf45d6e8487b5c052f0d90dd48b
parentb8a61edc2fc361a77dc932dc9ca3f6633ec354d9
hdl.ir: accept LHS signals like slices as Instance io ports.

This is unlikely to work with anything except Slice and Cat, but
there's no especially good place to enforce it. (Maybe in Instance?)
nmigen/hdl/ir.py
nmigen/test/test_hdl_ir.py