Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Electronic Equipment > VHDL > Decimal to bina...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 6045 of 6257
Post > Topic >>

Decimal to binary for comparison

by Klaus Thiele <Thiele.K@[EMAIL PROTECTED] > May 23, 2008 at 04:20 PM

Hi

I have a simple question. I have a 16-bit register that stores me the 
information about the usage of 16 registers. If a bit is set the 
register is locked else its free to use. Next, I read then in a value 
that wants to use one of the registers. The value is a decimal number 
between 0 and 15, so I wonder if VHDL offers an easy way to convert from 
decimal to binary so that I can compare then values with an AND mask.
This the thing should also be sythesizable on an XIlinx FPGA ;)

Thanks,
Klaus
 




 5 Posts in Topic:
Decimal to binary for comparison
Klaus Thiele <Thiele.K  2008-05-23 16:20:49 
Re: Decimal to binary for comparison
Mike Treseler <mike_tr  2008-05-23 08:40:25 
Re: Decimal to binary for comparison
KJ <kkjennings@[EMAIL   2008-05-23 08:42:07 
Re: Decimal to binary for comparison
Klaus Thiele <Thiele.K  2008-05-23 16:45:21 
Re: Decimal to binary for comparison
Klaus Thiele <Thiele.K  2008-05-23 17:22:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Aug 30 8:07:27 CDT 2008.