- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi I'm new to QuartusII and also VHDL, I'm trying to compile an IIR filter for a MAXII device (EPM1270F256C5), but I'm getting this error:
"Error (10414): VHDL Unsupported Feature error at filter.vhd(34): cannot synthesize non-constant real objects or values" The file that I'm trying to compile is:Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Your code has floating point type, which is more for DSP processors. You have to use fixed-point to approximate the REAL value.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
how can I convert floating point to fixed point?
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
You can manually convert them
OR Write Matlab script to do that Either case, you need to determine how may bits you need to use for. But this is a topic for DSP. Once you setting down on number of bit in the system. You need to run simulation probably in Matlab to verify the filter response.- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I got it now, thanks.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
you can also take a look at the VHDL-2008 fixed point package. there's a version floating around that compiles in QII in VHDL-1993 mode. the package has features to convert float data to fixed point
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Sorry, I am not that experienced with VHDL-2008. Thanks for bring that up. Quartus II 9.1 SP1 or later supports VHDL-2008. I don't know if it supports the WHOLE VHDL-2008 yet.

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora