module half_adder ( i_bit1, i_bit2, o_sum, o_carry ); input i_bit1; input i_bit2; output o_sum; output o_carry; assign o_sum = i_bit1 ^ i_bit2; // bitwise xor assign o_carry = i_bit1 & i_bit2; // bitwise and endmodule // half_adder
What's the problem? Is the unknown toolchain installed properly? Can you simulate anything else?
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.