90 likes | 181 Views
Today’s Lab. Start working with Xilinx [pronounced: Zy-links] ISE design suite Create new project Enter code Synthesize code Simulate code. Half Adder. AND to arrive at Carry XOR to arrive at Sum. Half Adder Verilog Code. module half_adder (A, B, Sum, C_out); input A, B;
E N D
Today’s Lab • Start working with Xilinx [pronounced: Zy-links] ISE design suite • Create new project • Enter code • Synthesize code • Simulate code
Half Adder • AND to arrive at Carry • XOR to arrive at Sum
Half Adder Verilog Code module half_adder (A, B, Sum, C_out); input A, B; output Sum, C_out; xor (Sum, A, B); and (C_out, A, B); endmodule