Mutually exclusive

A

ALuPin

Hi VHDL folks,

I get the info warning
"Info, conditions are mutually exclusive; resolve without priority."


when compiling the following process:


process(Reset, Clk)
begin
if Reset='1' then
l_speed <= '0';

elsif rising_edge(Clk) then

if Rx_data(3 downto 0)="0100" then
l_speed <= '0';
elsif Rx_data(3 downto 0)="1010" then
l_speed <= '1';
else
l_speed <= l_speed;
end if;
end if;
end process;

What does the info warning mean?

Thank you for your help.

Rgds
 
S

Sunil Shukla

Hi ALuPin,

Probably, the compiler wants you to use mux (using case statement, as the
conditions are mutually exclusive) instead of priority encoder.

Cheers,
Sunil
====================
www.uq.edu.au/~uqsshukl
 
M

Mike Treseler

Hi VHDL folks,

I get the info warning
"Info, conditions are mutually exclusive; resolve without priority."
What does the info warning mean?

It means that since the if, elsif, and else
cases don't overlap, this is a logical
classification rather than a prioritization.
This might better be labelled "information" rather
than "warning".

-- Mike Treseler
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top