Forum Discussion
Altera_Forum
Honored Contributor
15 years agocool... tell us about it. :)
I just tried the arctan() function, and Quartus compiles without errors. I believe Quartus should throw an error if something if not synthesizable right? Or at least a warning? I saw (in RTL Viewer) that some logic was generated from this (mostly muxes), but have not done P&R nor verified it working on a board yet. Here, I assigned a bunch of output ports directly to "integer". There's a catch when using this method though. Your input to arctan() should be a "constant real", means not something that can be varied during runtime. The code I submitted previously assumes that x is a constant and doesn't change during runtime (which is unlikely). Does anyone know of a workaround for this (Quartus can't synthesize non-constant reals)?