Forum Discussion
Altera_Forum
Honored Contributor
13 years agoAnd the answer is - no. I tried putting a shared variable inside a package with a function that incremented the SV and then returned it. It complained saying my constant wasnt constant (well, technically it is!). I tried to trick it by returning a constant from the fuynction based on the SV, but it wasnt having that either.