Serious error in Quartus 5.1 (Verilog parameters)

Status
Not open for further replies.

YUV

Advanced Member level 4
Joined
Sep 26, 2002
Messages
114
Helped
12
Reputation
24
Reaction score
3
Trophy points
1,298
Location
Ukraine
Activity points
1,191
Hi, colleagues!

I have found an error in Q5. It consists in wrong transmitting parameters from Verilog file to upper level.
For example, parameter hex_8_bit = 8'h7f;
Every time then you create a symbol from file, Quartus converts parameters into binary kind.
One exclusion is direct typing of the parameter in decimal kind. In this case conversion is always okay: dec_direct = 999;

The error occurs when parameter exeeds 7 bits.
Please, compare
parameter hex_7_bit = 7'h7f;
parameter hex_8_bit = 8'h7f;


As you can see in the picture, the prefix B is absent, that causes the error.

I have attached QAR archive (zipped) in order to you could check this yourselves.
I believe, my info will help you to avoid problems in your designs. Be careful.

Regards,
YUV
 

Serious error in qu(at)rtus 5.1 (Verilog parameters)

have you send this to altera MySupport?
 

Sure. They admitted the problem and promised to fix it in the next version.
I would never post this topic if I wasn't sure. At first I sent a message to MySupport. And after I got an answer, I was going to post here.

Regards, YUV
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…