Forum Discussion
Using constants from package on bdf
Have you tried the KDB below? You can try to use the param primitives and constant primitives.
What is the error shown during the compilation?
- dsmirnov6 years ago
Occasional Contributor
Dear @RichardTanSY_Altera,
Thank you for your answer. Yes, I tried this solution, but it is uncomfortable:
- it is a graphical info which I can't store in a separate file
- It is hard to keep in git
- I can't use same constant in different layers of files - I have to duplicate this param inside of another bdf
The error from the option I showed on image in my question is:
Error (275082): Illegal values "work.my_pack.myPar" for parameter "CCC". The type is "Signed Integer".
I guess that means that the compiler doesn't see my constant myPar from the package my_pack
- RichardT_altera5 years ago
Super Contributor
Could you share your design and package so that I could duplicate it from my side?
- dsmirnov5 years ago
Occasional Contributor
Yes @RichardTanSY_Altera , the project attached to this message