B
Ben Jones
Guest
Hi all,
Anyone know why ieee.numeric_std doesn't contain definitions for the
operators "sra" and "sla" for types signed and unsigned? In particular the
former omission is a PITA because it is actually very useful.
I notice that it's possible to call the underlying function directly, i.e.:
variable a, b : signed;
variable c : natural;
a := shift_right(b, c);
....but it still annoys me. Or is it just my implementation (Modelsim in this
case)? And will it be fixed in the next revision?
Cheers,
-Ben-
Anyone know why ieee.numeric_std doesn't contain definitions for the
operators "sra" and "sla" for types signed and unsigned? In particular the
former omission is a PITA because it is actually very useful.
I notice that it's possible to call the underlying function directly, i.e.:
variable a, b : signed;
variable c : natural;
a := shift_right(b, c);
....but it still annoys me. Or is it just my implementation (Modelsim in this
case)? And will it be fixed in the next revision?
Cheers,
-Ben-