generic integer and hex notation

Joined
Sep 14, 2010
Messages
1
Reaction score
0
hello,

how can i assign a hex value to an integer, like followed?

generic(test: integer range 0 to 255 := x"FF");

is there any possibility, because i like hex notation in this context...?

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,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top