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,927 조회수

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
887 조회수

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
887 조회수

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
887 조회수

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

0 포인트
Altera_Forum
명예로운 기여자 II
887 조회수

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

thinks
0 포인트
Altera_Forum
명예로운 기여자 II
887 조회수

where are type data and type_adr declared?

0 포인트
Altera_Forum
명예로운 기여자 II
887 조회수

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

0 포인트
Altera_Forum
명예로운 기여자 II
887 조회수

Here are steps i proceed to add the component.

0 포인트
Altera_Forum
명예로운 기여자 II
887 조회수

here is the error i found

0 포인트
Altera_Forum
명예로운 기여자 II
887 조회수

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 포인트
응답