Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Mutually exclusive

Reply
Thread Tools

Mutually exclusive

 
 
ALuPin
Guest
Posts: n/a
 
      09-07-2004
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
 
Reply With Quote
 
 
 
 
Sunil Shukla
Guest
Posts: n/a
 
      09-07-2004
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

"ALuPin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> 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



 
Reply With Quote
 
 
 
 
Mike Treseler
Guest
Posts: n/a
 
      09-07-2004
http://www.velocityreviews.com/forums/(E-Mail Removed) (ALuPin) wrote in message news:<(E-Mail Removed). com>...
> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
2.0 , does it fix BUG: Radio Buttons Are Not Mutually Exclusive When Used in a Repeater Server Control sloan@ipass.net ASP .Net 0 01-07-2006 12:17 AM
Has 2.0 Fixed this 1.1 bug? Radio Buttons Are Not Mutually Exclusive When Used in a Repeater Server Control sloan@ipass.net ASP .Net 0 01-06-2006 09:23 PM
'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive (part 2) Stimp ASP .Net 5 11-08-2005 04:16 PM
'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive Stimp ASP .Net 2 10-24-2005 01:53 PM
mutually exclusive radio button js ASP .Net 2 05-19-2005 04:27 PM



Advertisments