Anyone can check if XST v11 has fixed this bug ?

B

Bert_Paris

Guest
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 : info@alse-fr.com
-- 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;
 
"Bert_Paris" <do_not_spam_@me> wrote in message
news:4a285116$0$294$7a628cd7@news.club-internet.fr...
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 : info@alse-fr.com
-- 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 will have a go at it give that it is raining again in the UK :-(

Using 11.1 I get:

ERROR:HDLParsers:3312 - "D:/test_lib/x.vhd" Line 31. Undefined symbol
'\Shift__TX\'.
ERROR:HDLParsers:1209 - "D:/test_lib/x.vhd" Line 31. \Shift__TX\: Undefined
symbol (last report in this block)
ERROR:HDLParsers:813 - "D:/test_lib/x.vhd" Line 41. Enumerated value
\shift__tx\ is missing in case.
-->

Total memory usage is 126028 kilobytes

Number of errors : 3 ( 0 filtered)
Number of warnings : 0 ( 0 filtered)
Number of infos : 0 ( 0 filtered)

Hans
www.ht-lab.com
 
On Sat, 6 Jun 2009 09:53:19 +0100, "HT-Lab" wrote:

I will have a go at it give that it is raining again in the UK :-(
And because of the rain, I'm supposed to be tidying the
filing cabinet; and because of that, I'm reading Usenet :)

Using 11.1 I get:

ERROR:HDLParsers:3312 - "D:/test_lib/x.vhd" Line 31. Undefined symbol
'\Shift__TX\'.
ERROR:HDLParsers:1209 - "D:/test_lib/x.vhd" Line 31. \Shift__TX\: Undefined
symbol (last report in this block)
ERROR:HDLParsers:813 - "D:/test_lib/x.vhd" Line 41. Enumerated value
\shift__tx\ is missing in case.
Ahah. So it seems that XST is flattening uppercase letters
in the escaped-identifier to lowercase, but not everywhere.
It would be interesting to try the same testcase with the
identifier name changed to \shift__tx\ (all lowercase).

Sorry, I don't yet have ISE11 installed at home;
it will need a *very* long spell of rain before I do that :)
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
jonathan.bromley@MYCOMPANY.com
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.
 
"Jonathan Bromley" <jonathan.bromley@MYCOMPANY.com> wrote in message
news:nmbk25t3v4odsdbs6ua8l93dlgckaaadv5@4ax.com...
On Sat, 6 Jun 2009 09:53:19 +0100, "HT-Lab" wrote:

I will have a go at it give that it is raining again in the UK :-(

And because of the rain, I'm supposed to be tidying the
filing cabinet; and because of that, I'm reading Usenet :)

Using 11.1 I get:

ERROR:HDLParsers:3312 - "D:/test_lib/x.vhd" Line 31. Undefined symbol
'\Shift__TX\'.
ERROR:HDLParsers:1209 - "D:/test_lib/x.vhd" Line 31. \Shift__TX\:
Undefined
symbol (last report in this block)
ERROR:HDLParsers:813 - "D:/test_lib/x.vhd" Line 41. Enumerated value
\shift__tx\ is missing in case.

Ahah. So it seems that XST is flattening uppercase letters
in the escaped-identifier to lowercase, but not everywhere.
It would be interesting to try the same testcase with the
identifier name changed to \shift__tx\ (all lowercase).
You are right!

=========================================================================
* HDL Compilation *
=========================================================================
Compiling vhdl file "D:/test_lib/x.vhd" in Library test_lib.
Architecture rtl of Entity test is up to date.

Reading constraint file D:/test_lib/TEST.xcf.
XCF parsing done.
....
Number of errors : 0 ( 0 filtered)
Number of warnings : 0 ( 0 filtered)
Number of infos : 0 ( 0 filtered)

www.ht-lab.com
Hans

Sorry, I don't yet have ISE11 installed at home;
it will need a *very* long spell of rain before I do that :)
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
jonathan.bromley@MYCOMPANY.com
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.
 
Thanks everyone !
FYI, it's raining in Paris too :-(, but sunny in Normandy ;-)
This bug is bad news since our obfuscator produces "all-uppercased"
code. I'll have to modify it...
Bert
 
"Jonathan Bromley" <jonathan.bromley@MYCOMPANY.com> wrote in message
news:nmbk25t3v4odsdbs6ua8l93dlgckaaadv5@4ax.com...
On Sat, 6 Jun 2009 09:53:19 +0100, "HT-Lab" wrote:

I will have a go at it give that it is raining again in the UK :-(

And because of the rain, I'm supposed to be tidying the
filing cabinet; and because of that, I'm reading Usenet :)

Using 11.1 I get:

ERROR:HDLParsers:3312 - "D:/test_lib/x.vhd" Line 31. Undefined symbol
'\Shift__TX\'.
ERROR:HDLParsers:1209 - "D:/test_lib/x.vhd" Line 31. \Shift__TX\:
Undefined
symbol (last report in this block)
ERROR:HDLParsers:813 - "D:/test_lib/x.vhd" Line 41. Enumerated value
\shift__tx\ is missing in case.

Ahah. So it seems that XST is flattening uppercase letters
in the escaped-identifier to lowercase, but not everywhere.
It would be interesting to try the same testcase with the
identifier name changed to \shift__tx\ (all lowercase).
You are right!

=========================================================================
* HDL Compilation *
=========================================================================
Compiling vhdl file "D:/test_lib/x.vhd" in Library test_lib.
Architecture rtl of Entity test is up to date.

Reading constraint file D:/test_lib/TEST.xcf.
XCF parsing done.
....
Number of errors : 0 ( 0 filtered)
Number of warnings : 0 ( 0 filtered)
Number of infos : 0 ( 0 filtered)

www.ht-lab.com
Hans

Sorry, I don't yet have ISE11 installed at home;
it will need a *very* long spell of rain before I do that :)
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
jonathan.bromley@MYCOMPANY.com
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.
 

Welcome to EDABoard.com

Sponsor

Back
Top