V
vu_5421
Guest
Hi all,
I was fumbling around the Xilinx 8.1i program folder and found a ieee
library folder with std_logic_arith in it. My understanding from posts
in the past was that std_logic_arith was something that was released by
Synopsys and not the library of choice by designers. Many suggests
using numeric_std and std_logic_unsigned instead (which was also in the
same ieee library folder).
Personally, looking at std_logic_arith, I see that it has many handy
functions like conv_std_logic_vector and ext that I use quite a bit for
integer to/from SLV conversions. I realize you could achieve the same
with numeric_std library, but it's a lot wordier.
Has IEEE standardized this std_logic_arith library? I noticed that the
header of this file is not the same as that of numeric_std, so I think
that it still is maintained by Synopsys. Nevertheless, is there an
argument against using std_logic_arith?
Thanks for comments.
I was fumbling around the Xilinx 8.1i program folder and found a ieee
library folder with std_logic_arith in it. My understanding from posts
in the past was that std_logic_arith was something that was released by
Synopsys and not the library of choice by designers. Many suggests
using numeric_std and std_logic_unsigned instead (which was also in the
same ieee library folder).
Personally, looking at std_logic_arith, I see that it has many handy
functions like conv_std_logic_vector and ext that I use quite a bit for
integer to/from SLV conversions. I realize you could achieve the same
with numeric_std library, but it's a lot wordier.
Has IEEE standardized this std_logic_arith library? I noticed that the
header of this file is not the same as that of numeric_std, so I think
that it still is maintained by Synopsys. Nevertheless, is there an
argument against using std_logic_arith?
Thanks for comments.