cxxrtl: provide attributes to black box factories, too.
authorwhitequark <whitequark@whitequark.org>
Sun, 19 Apr 2020 16:22:02 +0000 (16:22 +0000)
committerwhitequark <whitequark@whitequark.org>
Sun, 19 Apr 2020 16:30:54 +0000 (16:30 +0000)
commitbf0f96b847a9738df10e2a549a53bddfa0d1346a
tree5230ba23a1223b588cf6a9261a2d43ad76dcc1ed
parentc98cde88427aedacbcaf66d915912377ccb0cb01
cxxrtl: provide attributes to black box factories, too.

Both parameters and attributes are necessary because the parameters
have to be the same between every instantiation of the cell, but
attributes may well vary. For example, for an UART PHY, the type
of the PHY (tty, pty, socket) would be a parameter, but configuration
of the implementation specified by the type (socket address) would
be an attribute.
backends/cxxrtl/cxxrtl.cc
backends/cxxrtl/cxxrtl.h