vanabharathiram
Newbie level 1
- Joined
- Oct 15, 2014
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 8
Code:
module das (u,c,z);
input [0:31]u;
input [0:31]c;
output [0:31]z;
genvar i;
for (i=0;i<32;i=i+1)
begin
assign c[i]=(u[i]&c[i]);
end
endmodule
ERROR:HDLCompilers:26 - "dads.v" line 30 expecting 'endmodule', found 'for'
how to solve it
Last edited by a moderator: