Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12648 Discussions

XML error when creating a component in SOPC

Altera_Forum
Honored Contributor II
1,644 Views

Hi everyone , 

 

When creating a new component in SOPC , I got 2 errors : 

 

(1) 

 

Error (10509): Verilog HDL XML interface error at b.v(130): parameter of packed array type is not supported. File: G:/b.v Line: 130 

 

The content of g:/b.v on line 130 is :  

 

130 : parameter [4:0] Reg0 = 5'b00_000, Reg1 = 5'b00_001; 

 

(2) 

 

Error (10670): Verilog HDL or VHDL error: cannot create XML design interface for design file G:/b.v. File: G:/b.v Line: 56 

The content of g:/b.v on line 56 is : 

 

56 : module b( 

57 : // port declaration 

 

 

----- 

 

Have you met these kinds of error before ? What should I do to fix this problem ? 

 

Thanks in advance, 

 

Quan
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
433 Views

i only know vhdl but perhaps this thread may help you  

 

see thread 

"Something strange with SOPC, The editing of exist component has fell" 

http://www.niosforum.com/pages/forum.php?cat_id=5 (http://www.niosforum.com/pages/forum.php?cat_id=5

 

answer from slava 

... 

Hi All! 

Now altera have answered me 

and l should replace lines 

 

parameter[3:0] IADDR = 4'hB; 

parameter[3:0] IDATA = 4'hC; 

 

with lines 

parameter IADDR = 4'hB; 

parameter IDATA = 4'hC; 

 

The reason is "This can not pass the component editor" 

I do not try to do this still but I am shocked blink.gif 

 

-------------------- 

With best regards, 

Slava. 

...
0 Kudos
Altera_Forum
Honored Contributor II
433 Views

i hope this link works: 

I thought you might be interested in reading this web page: http://forum.niosforum.com/forum/index.php?act=st&f=2&t=3558 (http://forum.niosforum.com/forum/index.php?act=st&f=2&t=3558)
0 Kudos
Altera_Forum
Honored Contributor II
433 Views

 

--- Quote Start ---  

originally posted by fischer@Aug 15 2006, 05:16 AM 

i hope this link works: 

i thought you might be interested in reading this web page: http://forum.niosforum.com/forum/index.php?act=st&f=2&t=3558 (http://forum.niosforum.com/forum/index.php?act=st&f=2&t=3558

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17594) 

--- quote end ---  

 

--- Quote End ---  

 

 

Hi Fischer ,  

 

Your link is pretty helpful to me. Now I try it and let you know the result as soon as I can. 

 

Thank you very much, 

 

Quan
0 Kudos
Altera_Forum
Honored Contributor II
433 Views

 

--- Quote Start ---  

originally posted by fischer@Aug 15 2006, 05:16 AM 

i hope this link works: 

i thought you might be interested in reading this web page: http://forum.niosforum.com/forum/index.php?act=st&f=2&t=3558 (http://forum.niosforum.com/forum/index.php?act=st&f=2&t=3558

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17594) 

--- quote end ---  

 

--- Quote End ---  

 

 

Hi ,  

 

The link is really cool !!!!! Following the thread , some files could be successfully fixed (both error(1) and error(2) ) but some files still remain error (2). 

 

What should I do to solve the rest ? 

 

Thanks so much , 

 

Quan
0 Kudos
Reply