Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > "IF" condition & STD_LOGIC_VECTOR

Thread Tools

"IF" condition & STD_LOGIC_VECTOR

ontos ontos is offline
Junior Member
Join Date: Mar 2007
Posts: 12
I have one question about IF condition and STD_LOGIC_VECTOR compatibillities. So, I try to compare two vectors: A and B. They are 32 bits long:

IF (A <= B) THEN....
end process;

Functions <=, <,... for the vectors is implemented in package "unsigned".
Multisim don't give any error, but this comparison just don't work. All logic is goot, just condition...Have you any thoughts?

Reply With Quote

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
Help with while condition OR condition Bill W. Ruby 13 05-09-2011 09:42 PM
inout std_logic_vector to array of std_logic_vector of generic length conversion... Thomas Rouam VHDL 6 11-09-2007 11:49 AM
Condition outside loop or separate loop for different condition? - Java 12 06-15-2005 08:50 AM
std_logic_vector port doesn't work after synthesis. Mike VHDL 3 07-09-2003 09:10 PM
STD_LOGIC_VECTOR vs. UNSIGNED vs. SIGNED Jeremy Pyle VHDL 3 06-28-2003 10:47 PM