Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Hello, I have been trying to convert a signal of 'sfixed' data type into signal of 'real' data type. I am using 'to_real' function. I know that real data type can not be synthesized on FPGA. I just want to check my result on ModelSim. Therefore, I just use "Analysis and Elaboration" option for compilation of my project. The problem is that when I compile it, I receive an error that "Unsupported feature: cannot synthesize non constant real objects or values"..So, can you please tell me where I am making the mistake? or what is true way to convert sfixed num to real?? --- Quote End --- You want to use modelsim but you are talking about quartus. Just compile and simulate in modelsim directly.