PRIYA_
Newbie level 3
Hello friends...
I wish to implement the following multiplication in vhdl
X = 20* (128 * A(7) + 64* A(6) + 32* A(5)+ 16* A(4) + 8 * A(3) + 4* A(2)+ 2* A(1) + A(0)
where x is an integer of range 0 to 5500
A is an array of 7 elements of integer type
the error which appears is
* cant have such operands in this context
plzzzz help
I wish to implement the following multiplication in vhdl
X = 20* (128 * A(7) + 64* A(6) + 32* A(5)+ 16* A(4) + 8 * A(3) + 4* A(2)+ 2* A(1) + A(0)
where x is an integer of range 0 to 5500
A is an array of 7 elements of integer type
the error which appears is
* cant have such operands in this context
plzzzz help