You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, an array port is packed into a bit vector port.
For usability, introduce array types and use these instead of a bit vector type.
Oh. I would contribute if I would have known ruby 馃槃
In VHDL you need to define a whole type to be able to create array. This means you need to create a VHDL package (similar to SV package) and inside you need to define an array type for that port (or use some global defined port for all rggen ideally)
so for example in rggen_rtl package you can create an array type
type rggen_array isarray (integerrange<>) ofstd_logic_vector;
The above is called an unconstrained array -> it needs size provided during instantiation
and then you could define a port when generating
Currently, an array port is packed into a bit vector port.
For usability, introduce array types and use these instead of a bit vector type.
Oh. I would contribute if I would have known ruby 馃槃
In VHDL you need to define a whole type to be able to create array. This means you need to create a VHDL package (similar to SV package) and inside you need to define an array type for that port (or use some global defined port for all rggen ideally)
so for example in
rggen_rtl
package you can create an array typeThe above is called an unconstrained array -> it needs size provided during instantiation
and then you could define a port when generating
Originally posted by @SzymonHitachi in #194 (reply in thread)
The text was updated successfully, but these errors were encountered: