In VHDL, I often use records to group related signals into something that can be passed around as a single object, e.g. in a port map. What's the MyHDL way of doing this?
1 Answer
Interfaces are available in the 0.9-dev and are straightforward. If you have an object (class) with Signals in it it will be name extended in conversion.
It is explained in the MEP http://www.myhdl.org/doku.php/meps:mep-107
More examples available here (I realize it is not well documented - yet):
https://bitbucket.org/cfelton/minnesota
Also, a small example available here:
-
1
-
Beauty is in the eye of the beholder :) List of Signals is very useful for modeling memory (and convertible). Jan 14, 2014 at 18:42