Forum Discussion

MDiDo's avatar
MDiDo
Icon for New Contributor rankNew Contributor
6 years ago

Allowed values for generic parameters

Hello I wrote a VHDL code where my entity accepts generic parameters. I added some limitations using RANGE function. Now I should add a limitation on data width, but only some value are allowed, in particular the data width parameter can only be 8, 16, 32, 64. Is there a function to do this?

No RepliesBe the first to reply