hiten09
Member level 2
- Joined
- Dec 31, 2011
- Messages
- 51
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,630
I'm doing some program on multiplier where i need to code multiplier in behavioral style the expression is
i used nesting of for loop but it stuck during simulation here is the code
can anyone please detect the fault:sad: :sad:
i used nesting of for loop but it stuck during simulation here is the code
Code:
temp=0;
pro=0;
for(i=0;i<8;i=i+1)
begin
for(j=0;j<8;j=j+1)
begin
temp=temp+(a[i]*b[j])&(2**(i+j));
end
pro=pro+temp;
end
can anyone please detect the fault:sad: :sad:
Last edited by a moderator: