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?)
This commit is contained in:
parent
b8a61edc2f
commit
c6a0761b3a
2 changed files with 9 additions and 6 deletions
|
|
@ -603,7 +603,7 @@ class InstanceTestCase(FHDLTestCase):
|
|||
i_rst=self.rst,
|
||||
o_stb=self.stb,
|
||||
o_data=Cat(self.datal, self.datah),
|
||||
io_pins=self.pins
|
||||
io_pins=self.pins[:]
|
||||
)
|
||||
self.wrap = Fragment()
|
||||
self.wrap.add_subfragment(self.inst)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue