hdl.ir: accept LHS signals like slices as Instance io ports.
authorwhitequark <cz@m-labs.hk>
Mon, 3 Jun 2019 02:39:14 +0000 (02:39 +0000)
committerwhitequark <cz@m-labs.hk>
Mon, 3 Jun 2019 02:39:14 +0000 (02:39 +0000)
commit46fbbc1038b9c1684f0c2ddd39c16ec5f453e014
treecbfe0580adc2abf45d6e8487b5c052f0d90dd48b
parent4b332fada5401c0cf1cd32385ed2ea0217735527
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