Is it possible to have a generic package? This means that when I instantiate the entity I provide some generic and the package will depend on that.
I have a block which I want to use several times, each time with different package (I.e. different parameters)
I have to use package because I want to use array of arrays and I could do that only with packages.
Yes, but that's a VHDL-2008 feature. So whether you will be able to use it depends on your tools.
This feature is really powerful.
Here is an example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With