B
Bert_Paris
Hello,
I stumbled on yet another XST VHDL bug in v 10.1, & haven't had time to
install the new v11. I would appreciate if someone could tell me if
this bug is still there (I would have to modify our obfuscator just for
XST, something I'd prefer not do). Thanx.
Bert
Here is the (correct) code :
-- XST_TESTCASE.vhd
-- ---------------------------------------------------------------
-- another XST Issue :-( (tested on version 10.1)
-- ---------------------------------------------------------------
-- Author : Bert CUZEAU
-- Contact : (e-mail address removed)
-- Web : http://www.alse-fr.com
-- -----------------------------------------------------------------
-- Bug : XST fails when an extended Identifier
-- is used in an enumeration
-- -----------------------------------------------------------------
Library IEEE;
use IEEE.std_logic_1164.all;
-- ----------------------------------------------
Entity TEST is
-- ----------------------------------------------
Port ( CLK : in std_logic; -- System Clock at Fqxtal
RST : in std_logic; -- Asynchronous Reset active high
Dout : out std_logic );--
end entity TEST;
-- ---------------------------------------------------------------
Architecture RTL of TEST is
-- ---------------------------------------------------------------
Type State_t is (Idle,\Shift__TX\);
signal State : State_t;
-----\
Begin --
-----/
Dout <= '1' when State=\Shift__TX\ else '0';
-- --------------------------
-- State Machine
-- --------------------------
process (RST, CLK)
begin
if RST='1' then
State <= Idle;
elsif rising_edge(CLK) then
case State is
when Idle =>
State <= \Shift__TX\;
when \Shift__TX\ =>
State <= Idle;
end case;
end if;
end process;
end RTL;
I stumbled on yet another XST VHDL bug in v 10.1, & haven't had time to
install the new v11. I would appreciate if someone could tell me if
this bug is still there (I would have to modify our obfuscator just for
XST, something I'd prefer not do). Thanx.
Bert
Here is the (correct) code :
-- XST_TESTCASE.vhd
-- ---------------------------------------------------------------
-- another XST Issue :-( (tested on version 10.1)
-- ---------------------------------------------------------------
-- Author : Bert CUZEAU
-- Contact : (e-mail address removed)
-- Web : http://www.alse-fr.com
-- -----------------------------------------------------------------
-- Bug : XST fails when an extended Identifier
-- is used in an enumeration
-- -----------------------------------------------------------------
Library IEEE;
use IEEE.std_logic_1164.all;
-- ----------------------------------------------
Entity TEST is
-- ----------------------------------------------
Port ( CLK : in std_logic; -- System Clock at Fqxtal
RST : in std_logic; -- Asynchronous Reset active high
Dout : out std_logic );--
end entity TEST;
-- ---------------------------------------------------------------
Architecture RTL of TEST is
-- ---------------------------------------------------------------
Type State_t is (Idle,\Shift__TX\);
signal State : State_t;
-----\
Begin --
-----/
Dout <= '1' when State=\Shift__TX\ else '0';
-- --------------------------
-- State Machine
-- --------------------------
process (RST, CLK)
begin
if RST='1' then
State <= Idle;
elsif rising_edge(CLK) then
case State is
when Idle =>
State <= \Shift__TX\;
when \Shift__TX\ =>
State <= Idle;
end case;
end if;
end process;
end RTL;