Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

internal error:std_logic ports/signals must be width 1

Altera_Forum
Honored Contributor II
1,890 Views

I'm working with quartusII,v9.0.I want to add a component to the sopc builder. 

when I try to generate my SOPC system.this error appears:"internal error:std_logic ports/signals must be width 1"

My components are all written in VHDL. 

What does this error mean? Does anyone know how to fix the error? Does anyone know a workaround?
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
850 Views

Never seen it before - it doesnt make sense, because std_logic is always width 1, becuase it is not a vector!

0 Kudos
Altera_Forum
Honored Contributor II
850 Views

i have seen this reply by wicks(sopc internal error: std_logic ports/signals must be width 1,in July 13th, 2009, 08:03 AM)(sorry i'm not able to post links) same error still occurs. 

but i dont understand how to do it. 

I tried replacing all std_logic statements with std_logic_vector(0 downto 0), but the same error still occurs.
0 Kudos
Altera_Forum
Honored Contributor II
850 Views

you'll have to post some code so we can see what the problem is.

0 Kudos
Altera_Forum
Honored Contributor II
850 Views

here is my code:(dwt 2d),you can see it. 

thinks
0 Kudos
Altera_Forum
Honored Contributor II
850 Views

where are type data and type_adr declared?

0 Kudos
Altera_Forum
Honored Contributor II
850 Views

at ligne 226 and 230,type data and type adr are declared.(in this document)

0 Kudos
Altera_Forum
Honored Contributor II
850 Views

Here are steps i proceed to add the component.

0 Kudos
Altera_Forum
Honored Contributor II
850 Views

here is the error i found

0 Kudos
Altera_Forum
Honored Contributor II
850 Views

Hello Farhaenis,  

If u r using Quartus then goto Help and click messages. Here you see a list of possible messages that you get during compilation(errors/warnings). The error you get seems to be strange. Internal error doesn't do anything with std_logic. Anyways please check if you have any port width mismatch during instantiation. Normally internal error occurs when the compiler gets any unusual run time errors. Please check the SOPC user manual/documentation.
0 Kudos
Reply