R
rickman
This one has me stumped. I am thinking that the actual error must be
somewhere other than where the tool is pointing, but I can't figure it
out.
The error is "(201, 28): Operator "=" is not defined for such
operands" and points to the first use of DemPhase in the first line.
CarZCross <= '1' when (((DemPhase = 7) or (DemPhase = 8)) and
(CDCDataRcv'high = '1'))
'1' when (DemPhase = 9) else
'0';
DemPhase is declared...
signal DemPhase : natural range 1 to 9 := 9;
I am also seeing an error on assignments from one element of a signed
(std_numeric) signal to a std_logic signal. "Assignment target
incompatible with right side. Expected type "std_ulogic". I thought
these were acceptable types to mix. Plus, I thought this was working
fine until I made some other changes.
CDCDataSign <= CDCDataRcv'high;
Any suggestions? The libraries should be ok since this design has
been working for months.
somewhere other than where the tool is pointing, but I can't figure it
out.
The error is "(201, 28): Operator "=" is not defined for such
operands" and points to the first use of DemPhase in the first line.
CarZCross <= '1' when (((DemPhase = 7) or (DemPhase = 8)) and
(CDCDataRcv'high = '1'))
'1' when (DemPhase = 9) else
'0';
DemPhase is declared...
signal DemPhase : natural range 1 to 9 := 9;
I am also seeing an error on assignments from one element of a signed
(std_numeric) signal to a std_logic signal. "Assignment target
incompatible with right side. Expected type "std_ulogic". I thought
these were acceptable types to mix. Plus, I thought this was working
fine until I made some other changes.
CDCDataSign <= CDCDataRcv'high;
Any suggestions? The libraries should be ok since this design has
been working for months.