View Single Post
  #5 (permalink)  
Old 03-29-2005, 10:42 PM
genlock
Guest
 
Posts: n/a
Default Re: Dividing a 24 bit std_logic_vector by a decimal number

Can you explain this logic that you have mentioned in more detail?

I am using Xilinx ISE and when I try doing any division or
multiplication, it keeps showing an error as follows:

/ can not have such operands in this context.
ERROR: XST failed

a)What I am trying to do is first convert the 24 bit vector to an
integer.

b)Then figure out a method to divide this integer by 1.36 that gives
the result as an integer

c)This integer is converted back to a 24 bit vector

Any idea about how this division (b)can be performed?

Thankyou

Reply With Quote