R
rickman
Guest
The following line of code where PhA, PhB, PhA_Old and PhB_Old are all
std_logic
CASE std_logic_vector'(PhA & PhB & PhA_Old & PhB_Old) IS
produces the following warning.
subtype of case expression is not locally static
I've played with this and keep getting an error of one type or another
so I consider a warning to at least be a partial victory.
I am not getting what is wrong with this. The old "not locally static"
or "not globally static" expression thing seems to kick my butt a lot.
What do they mean "subtype"??? Is that because the vector is
constrained while the type SLV is unconstrained? Why is this not
locally static?
--
Rick C
std_logic
CASE std_logic_vector'(PhA & PhB & PhA_Old & PhB_Old) IS
produces the following warning.
subtype of case expression is not locally static
I've played with this and keep getting an error of one type or another
so I consider a warning to at least be a partial victory.
I am not getting what is wrong with this. The old "not locally static"
or "not globally static" expression thing seems to kick my butt a lot.
What do they mean "subtype"??? Is that because the vector is
constrained while the type SLV is unconstrained? Why is this not
locally static?
--
Rick C