Anyone can check if XST v11 has fixed this bug ?

Discussion in 'VHDL' started by Bert_Paris, Jun 4, 2009.

  1. Bert_Paris

    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 :
    -- 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, Jun 4, 2009
    #1
    1. Advertising

  2. Bert_Paris

    HT-Lab Guest

    "Bert_Paris" <do_not_spam_@me> wrote in message
    news:4a285116$0$294$-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 :
    > -- 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
     
    HT-Lab, Jun 6, 2009
    #2
    1. Advertising

  3. Bert_Paris

    HT-Lab Guest

    "Jonathan Bromley" <> wrote in message
    news:...
    > 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
    >
    > http://www.MYCOMPANY.com
    >
    > The contents of this message may contain personal views which
    > are not the views of Doulos Ltd., unless specifically stated.
     
    HT-Lab, Jun 6, 2009
    #3
  4. Bert_Paris

    HT-Lab Guest

    "Jonathan Bromley" <> wrote in message
    news:...
    > 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
    >
    > http://www.MYCOMPANY.com
    >
    > The contents of this message may contain personal views which
    > are not the views of Doulos Ltd., unless specifically stated.
     
    HT-Lab, Jun 6, 2009
    #4
  5. Bert_Paris

    Bert_Paris Guest

    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
     
    Bert_Paris, Jun 6, 2009
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. info_

    XST bug here ??

    info_, Mar 26, 2005, in forum: VHDL
    Replies:
    3
    Views:
    669
    info_
    Apr 3, 2005
  2. Joseph
    Replies:
    2
    Views:
    944
    Ben Twijnstra
    May 8, 2005
  3. Replies:
    0
    Views:
    643
  4. Min-Koo Seo
    Replies:
    0
    Views:
    418
    Min-Koo Seo
    Jun 21, 2004
  5. tom_usenet
    Replies:
    0
    Views:
    546
    tom_usenet
    Jun 21, 2004
Loading...

Share This Page