F
fl
Guest
Hi,
How to understand the part:
----------------
constant simulating : boolean := false
-- synopsys translate_off
or true
-- synopsys translate_on
;
---------------
This is part of the code generated by System Generator 10.1i. It can
compile through by Modelsim. I am curious about "or true" line. It is
like broken code, but it works. Could you explain its meaning to me?
Thanks in advance.
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;
package conv_pkg is
constant simulating : boolean := false
-- synopsys translate_off
or true
-- synopsys translate_on
;
constant xlUnsigned : integer := 1;
constant xlSigned : integer := 2;
....
....
end conv_pkg;
How to understand the part:
----------------
constant simulating : boolean := false
-- synopsys translate_off
or true
-- synopsys translate_on
;
---------------
This is part of the code generated by System Generator 10.1i. It can
compile through by Modelsim. I am curious about "or true" line. It is
like broken code, but it works. Could you explain its meaning to me?
Thanks in advance.
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;
package conv_pkg is
constant simulating : boolean := false
-- synopsys translate_off
or true
-- synopsys translate_on
;
constant xlUnsigned : integer := 1;
constant xlSigned : integer := 2;
....
....
end conv_pkg;