Flatten the output of RecordObject.ports()
authorMichael Nolan <mtnolan2640@gmail.com>
Mon, 4 May 2020 17:07:07 +0000 (13:07 -0400)
committerMichael Nolan <mtnolan2640@gmail.com>
Mon, 4 May 2020 17:08:57 +0000 (13:08 -0400)
commitc2da46e377fbf04488622dbf33aa240988b1dd9e
tree27573c6242f0bcbb29c1b786b1d293a74750f8f6
parent5e9e51759fdce6052d265b7e3ff009bb3bb75378
Flatten the output of RecordObject.ports()

If a record contains records, calling ports on it will give a result
that cannot be passed to the nmigen simulation backend. This flattens
it, so that ports() will just return signals
src/nmutil/iocontrol.py