Ticket #20414

ise simulatorで、SH7751.vhdがコンパイルエラーになる

Open Date: 2010-01-24 17:31 Last Update: 2010-01-24 22:30

Reporter:
Owner:
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
4
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

model/SH7751.vhdにある記述

constant UNDEF_DRIVE : std_logic_vector(31 downto 0) :=
    conv_std_logic_vector(16#deadbeef#, 32);
ERROR:HDLParsers:414 - "p:/nbox/model/SH7751.vhd" Line 43. The integer value of
16#deadbeef# is greater than integer'high.
というコンパイルエラーになる。

ModelSimではエラーにならないが、VHDLの言語仕様的にはise simulatorの解釈のほうが正しいと思われる。

Ticket History (2/2 Histories)

2010-01-24 17:31 Updated by: molelord
  • New Ticket "ise simulatorで、SH7751.vhdがコンパイルエラーになる" created
2010-01-24 22:30 Updated by: molelord
  • Resolution Update from None to Fixed
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2010-01-24 22:30
Comment

r144で、conv_std_logic_vector()の代わりにX"16進数"を使うことで対策した。

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login