std_match function

Discussion in 'VHDL' started by loris, Oct 15, 2008.

  1. loris

    loris

    Joined:
    Jul 18, 2008
    Messages:
    3
    Hi group!
    I am studing VHDL and I have read in a .ppt presentation that it better to use the std_match function from the numeric_std IEEE library for comparing instead of using ‘=‘ (For example:
    if(std_match(bi_value,'0') then
    and not
    if(bit_vale='0') then
    )
    because this guarantees that we will get the same results in simulation and
    synthesis.
    But I don't understand this assertion: it's right and why?
    Can someone helps me??? :oops:

    Tnx to all
     
    loris, Oct 15, 2008
    #1
    1. Advertising

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. James Vanns
    Replies:
    7
    Views:
    7,084
    Evan Carew
    Jan 21, 2004
  2. komal
    Replies:
    6
    Views:
    1,444
    msalters
    Jan 25, 2005
  3. seberino@spawar.navy.mil
    Replies:
    2
    Views:
    944
    Bengt Richter
    Aug 1, 2005
  4. Giannis Papadopoulos

    Function pointer to void function and int function

    Giannis Papadopoulos, Sep 5, 2005, in forum: C Programming
    Replies:
    5
    Views:
    1,261
    Barry Schwarz
    Sep 5, 2005
  5. aleksa
    Replies:
    10
    Views:
    1,331
    JimLewis
    Feb 29, 2012
Loading...

Share This Page