Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
公告
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 讨论

internal error:std_logic ports/signals must be width 1

Altera_Forum
名誉分销商 II
1,917 次查看

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 项奖励
9 回复数
Altera_Forum
名誉分销商 II
877 次查看

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

0 项奖励
Altera_Forum
名誉分销商 II
877 次查看

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 项奖励
Altera_Forum
名誉分销商 II
877 次查看

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

0 项奖励
Altera_Forum
名誉分销商 II
877 次查看

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

thinks
0 项奖励
Altera_Forum
名誉分销商 II
877 次查看

where are type data and type_adr declared?

0 项奖励
Altera_Forum
名誉分销商 II
877 次查看

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

0 项奖励
Altera_Forum
名誉分销商 II
877 次查看

Here are steps i proceed to add the component.

0 项奖励
Altera_Forum
名誉分销商 II
877 次查看

here is the error i found

0 项奖励
Altera_Forum
名誉分销商 II
877 次查看

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 项奖励
回复