![]() |
|
|
|||||||
![]() |
VHDL - Anyone can check if XST v11 has fixed this bug ? |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
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 -- --------------------------------------------------------------- -- 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 |
|
|
|
|
#2 |
|
Posts: n/a
|
"Bert_Paris" <do_not_spam_@me> wrote in message news:4a285116$0$294$... > 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 > -- --------------------------------------------------------------- > -- 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 |
|
|
|
#3 |
|
Posts: n/a
|
"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 |
|
|
|
#4 |
|
Posts: n/a
|
"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 |
|
|
|
#5 |
|
Posts: n/a
|
Thanks everyone !
FYI, it's raining in Paris too This bug is bad news since our obfuscator produces "all-uppercased" code. I'll have to modify it... Bert Bert_Paris |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mcse,Mcsa,Mcitp,Mcts,Mcdst,Mcpd @Home..Without Tests And Study(PayAfter Check Results on MCP Site) | cert_king1@yahoo.com | MCITP | 0 | 01-23-2009 09:38 AM |
| Obatin MCSE,CCNA,CCNP,ORACLE,JAVA And Many More Certs WithoutExams..Pay After Check Results..100% Passing Gaurantee | certexpert | MCTS | 0 | 01-16-2009 12:41 PM |
| Obatin MCSE,CCNA,CCNP,ORACLE,JAVA And Many More Certs WithoutExams..Pay After Check Results..100% Passing Gaurantee | EXAMSATHOME | MCTS | 0 | 12-26-2008 09:47 AM |
| Obatin MCSE,CCNA,CCNP,ORACLE,JAVA And Many More Certs WithoutExams..Pay After Check Results..100% Passing Gaurantee | EXAMSATHOME | MCITP | 0 | 12-26-2008 09:10 AM |
| 100% Pass Without Exams Microsoft,Cisco,Comptia,Oracle,Sun,Java,CwnpAnd Many More( Pay After Check Results) | ExamsAtHome | MCITP | 0 | 12-07-2008 10:56 AM |