Talk About Network

Google





Electronic Equipment > VHDL > Re: Comparing m...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 6052 of 6445
Post > Topic >>

Re: Comparing more than one bits?

by Brian Drummond <brian_drummond@[EMAIL PROTECTED] > May 29, 2008 at 01:11 PM

On Wed, 28 May 2008 07:19:25 -0700 (PDT), rickman <gnuarm@[EMAIL PROTECTED]
>
wrote:

>On May 28, 9:40 am, Rob <R...@[EMAIL PROTECTED]
> wrote:
>> > How is data_bus declared?  If it is std_logic_vector, this looks good
>> > to me.  The error message is saying that it can't find a version of
>> > '=' that uses the two operand types and produces a boolean which is
>> > required by the IF.  Did you include the libraries?
>>
>> It is declared as unsigned...so in this case I cant compare bitwise I
>> assume. But I could cast it to std_logic_vector, couldnt I?
>
>I didn't think that was necessary.  unsigned is compatible with string
>literals.  No?

the REAL unsigned is...
those damned impostors from those other non-std libraries, otoh...

- Brian
 




 6 Posts in Topic:
Comparing more than one bits?
Rob <Rob@[EMAIL PROTEC  2008-05-28 12:52:34 
Re: Comparing more than one bits?
rickman <gnuarm@[EMAIL  2008-05-28 06:32:57 
Re: Comparing more than one bits?
Rob <Rob@[EMAIL PROTEC  2008-05-28 14:40:02 
Re: Comparing more than one bits?
Jonathan Bromley <jona  2008-05-28 14:56:16 
Re: Comparing more than one bits?
rickman <gnuarm@[EMAIL  2008-05-28 07:19:25 
Re: Comparing more than one bits?
Brian Drummond <brian_  2008-05-29 13:11:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 14:22:29 PST 2009.