A
Alvin Andries
Guest
library IEEE;
use IEEE.STD_LOGIC_1164.all;
comp_value : STD_LOGIC_VECTOR(7 downto 0);
if (comp_value < "000000001") then ...
This passed withhout warning through Synopsys DC and Formality.
Unfortunately, they disagree on what should happen.
Things that bother me about this construct:
1) no ARITH loaded, so where is this defined (I've got IEEE access, so the
proper STD should be ok)?
2) different vector lengths, so I expect troubles
The only thing I could deduce from Mentor's Modelsim source files, is that
STD_LOGIC_VECTOR(L) < STD_LOGIC_VECTOR(L) behaves like UNSIGNEDs where in
place.
Kind regards,
Alvin.
use IEEE.STD_LOGIC_1164.all;
comp_value : STD_LOGIC_VECTOR(7 downto 0);
if (comp_value < "000000001") then ...
This passed withhout warning through Synopsys DC and Formality.
Unfortunately, they disagree on what should happen.
Things that bother me about this construct:
1) no ARITH loaded, so where is this defined (I've got IEEE access, so the
proper STD should be ok)?
2) different vector lengths, so I expect troubles
The only thing I could deduce from Mentor's Modelsim source files, is that
STD_LOGIC_VECTOR(L) < STD_LOGIC_VECTOR(L) behaves like UNSIGNEDs where in
place.
Kind regards,
Alvin.