ashwini012
Newbie level 3
- Joined
- Mar 27, 2015
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 38
hello,
I want to write the equation ,
Is this write way to writw equation?
Help me....
Thank you!
I want to write the equation ,
Code:
x(i)=a*temp(i)
for i ranges from 0 to 5
I tried to write in vhdl but i got the error:[B] "Wrong index type for x","Wrong index type for temp".
PROCESS(CLK)
VARIABLE i : INTEGER RANGE 0 TO 5;
BEGIN
x(i) <= a * temp(i);
END PROCESS;
Is this write way to writw equation?
Help me....
Thank you!
Last edited by a moderator: