View Single Post
  #11 (permalink)  
Old 03-31-2005, 05:41 PM
genlock
Guest
 
Posts: n/a
Default Re: Dividing a 24 bit std_logic_vector by a decimal number

Thankyou Chris,
Instead of 2^24, we need to plug in the deicmal equivalent of the 24
bit input we have.

Is that right

And also,

recip <= conv_std_logic(2^24 * 1 / 1.36) -- not sure this is the right

I am not sure if this would work because it again uses the '/'
operator.

This cannot be synthesized in XST.

Thankyou

Reply With Quote