Altera_Forum
Honored Contributor
7 years agoPassing real parameters from Qsys (platform designer) to the custom IP core.
Hello,
I have developed a custom IP core which uses some calibration information, this information is passed to the top level entity. However, I have generated the *_hw.tcl file for the qsys (platform designer) and it appears that it cannot pass any floating/real type parameters (there is no support) and converts these parameters to string data type. So, then I thought that I can simply convert types: from "string" to "real". In VHDL2008 standard there is t'value(x) attribute, which converts string X to value of type T, BUT sadly this is not supported for "real" data type :( Has anyone encountered this problem? Is there a solution without manually writing coefficients in source files every time I generate Qsys system? Cheers, Rihards