numeric_std or std_logic_unsigned

Status
Not open for further replies.

dkk1980

Newbie level 6
Joined
Sep 17, 2007
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
KL
Activity points
1,424
Hi,

Which library should i use for unsigned numbers ?
1. numeric_std or
2. std_logic_unsigned

Why?

Thanks
dkk
 

Hi,

Use numeric_std as this is an IEEE standard where std_logic_unsigned was developed by Synopsys and is not a standard.

Devas
 

    dkk1980

    Points: 2
    Helpful Answer Positive Rating
you should use the unsigned library for unsigned numbers.
 

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