Mutually exclusive

Discussion in 'VHDL' started by ALuPin, Sep 7, 2004.

  1. ALuPin

    ALuPin Guest

    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
     
    ALuPin, Sep 7, 2004
    #1
    1. Advertisements

  2. ALuPin

    Sunil Shukla Guest

    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" <> wrote in message
    news:...
    > 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
     
    Sunil Shukla, Sep 7, 2004
    #2
    1. Advertisements

  3. (ALuPin) wrote in message news:<>...
    > 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
     
    Mike Treseler, Sep 7, 2004
    #3
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. js
    Replies:
    2
    Views:
    1,048
  2. Stimp
    Replies:
    2
    Views:
    938
    Stimp
    Oct 24, 2005
  3. Stimp
    Replies:
    5
    Views:
    6,232
    Greg Burns
    Nov 8, 2005
  4. Replies:
    0
    Views:
    740
  5. Replies:
    0
    Views:
    862
  6. wooks
    Replies:
    5
    Views:
    1,034
    wooks
    Jul 19, 2004
  7. Replies:
    8
    Views:
    1,432
    Eliyahu Goldin
    Dec 17, 2006
  8. Replies:
    2
    Views:
    980
    Samuel R. Neff
    Dec 15, 2006
Loading...