Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Anyone can check if XST v11 has fixed this bug ?

Reply
Thread Tools

Anyone can check if XST v11 has fixed this bug ?

 
 
Bert_Paris
Guest
Posts: n/a
 
      06-04-2009
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 : http://www.velocityreviews.com/forums/(E-Mail 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;


 
Reply With Quote
 
 
 
 
HT-Lab
Guest
Posts: n/a
 
      06-06-2009

"Bert_Paris" <do_not_spam_@me> wrote in message
news:4a285116$0$294$(E-Mail Removed)-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 : (E-Mail 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 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




 
Reply With Quote
 
 
 
 
HT-Lab
Guest
Posts: n/a
 
      06-06-2009

"Jonathan Bromley" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
> (E-Mail Removed)
> http://www.MYCOMPANY.com
>
> The contents of this message may contain personal views which
> are not the views of Doulos Ltd., unless specifically stated.



 
Reply With Quote
 
HT-Lab
Guest
Posts: n/a
 
      06-06-2009
"Jonathan Bromley" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
> (E-Mail Removed)
> http://www.MYCOMPANY.com
>
> The contents of this message may contain personal views which
> are not the views of Doulos Ltd., unless specifically stated.




 
Reply With Quote
 
Bert_Paris
Guest
Posts: n/a
 
      06-06-2009
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Process Explorer v11.02 updated yesterday =?Utf-8?B?Q2FybG9z?= Windows 64bit 0 09-15-2007 11:40 PM
please repost formsys maxsurf v11 again. thanks chaict@tm.net.my Computer Support 0 03-17-2006 03:14 PM
IGRP 10 on IOS v11.3(3)T Howard Huntley Cisco 0 08-26-2004 04:58 PM



Advertisments