Non-Standard IEEE type "integer" error

c64

Joined
Apr 24, 2009
Messages
11
Reaction score
0
Hi,

I'm quite new to VHDL programming for FPGAs. I'm using HDL Designer for writing my VHDL code and compiling it. An example of a constant declaration I make:

constant compCount2 : integer range 256 downto 0 := 150;

whereby I get the following error message when compiling:

Non-standard IEEE type "integer", used for constant "compCount2". Use IEEE types only. Subtypes must be based on IEEE standard types.

When simulating, everything works as intended. However, as being fairly new to VHDL programming, I want to adapt to a good programming style. I was therefore wondering, how should I declare integers to avoid such error messages? (I assume the software included that error message for a reason).

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top