Forum Discussion

TFisc4's avatar
TFisc4
Icon for New Contributor rankNew Contributor
10 months ago

Quartus_syn and nested pragma not supported

I have a bunch of vhdl code which needs to be seen from Altera tools but not others, so I am using "altera translate_on/off" nested inside "pragma translate_off/on" directives:

library ieee;
use ieee.std_logic_1164.all;

--pragma translate_off
--altera translate_on
library altera_mf;  -- Example Altera-specific library
use altera_mf.altera_mf_components.all;
--altera translate_off
--pragma translate_on

-- More VHDL code here

It has been working well for few years with quartus_map. But now quartus_syn has replaced it, and doesn't support nested pragma anymore which throws "unmatched altera translate/synthesis pragma found" warnings before an "unexpected end-of-file" error.

Is there a plan to restore the support of nested pragma ?
Is there a recent version of Quartus which still have the quartus_map executable ?

4 Replies