hdl.rec: fix Record.like() being called through a subclass.
authorwhitequark <cz@m-labs.hk>
Sat, 9 Nov 2019 16:44:01 +0000 (16:44 +0000)
committerwhitequark <cz@m-labs.hk>
Sat, 9 Nov 2019 17:45:07 +0000 (17:45 +0000)
commit349a468a384d0a5921ba7061090258f3e753eaea
treebded17b65a4a64f93af144ebd632ba237dfd7da2
parent8d1b91917d7deca2c72fcbd7f85cd2dabcfeb1a8
hdl.rec: fix Record.like() being called through a subclass.

The subclass does not necessarily take layout as the first argument.
nmigen/hdl/rec.py