aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/pragma01/pragma01.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/pragma01/pragma01.vhdl')
-rw-r--r--testsuite/synth/pragma01/pragma01.vhdl15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/synth/pragma01/pragma01.vhdl b/testsuite/synth/pragma01/pragma01.vhdl
new file mode 100644
index 000000000..7994e8095
--- /dev/null
+++ b/testsuite/synth/pragma01/pragma01.vhdl
@@ -0,0 +1,15 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+entity pragma01 is
+ port (is_sim : out std_logic);
+end pragma01;
+
+architecture behav of pragma01 is
+begin
+ is_sim <= '0'
+ -- pragma translate_off
+ or '1'
+ -- pragma translate_on
+ ;
+end behav;