EmbDev.net

Forum: FPGA, VHDL & Verilog Executing ONERROR command at macro ./halfadder_simu.do line 6


von RAMA (Guest)


Rate this post
useful
not useful
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

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
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
No account? Register here.