Forum Discussion
Altera_Forum
Honored Contributor
10 years agoModelsim error
Hii i am using Modelsim student edition for the simulation of my edge detection code. I am getting the following error.... ** Error: fixed_pkg Unbounded number passed, was a literal used?** ...
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- As I have said before, you have dx and dy declared as sfixed, but then casting to a unsigned - why? --- Quote End --- Thank you for replying.. Sorry now I get it. Even if i will change it to sfixed it will be same as I am taking abs value of it. So no need to convert it in unsigned. I did the changes but the error is same as above.Can you suggest any thing.I am attaching updated file with it.