/////////////////////////////////////////////////////////////////////////////////////////////// // Homemade GPS Receiver // Copyright (c) Andrew Holme 2011 // http://www.holmea.demon.co.uk/GPS/Main.htm /////////////////////////////////////////////////////////////////////////////////////////////// `default_nettype none module FULL_ADDER ( input ci, input a, input b, output s, output co ); wire d = a ^ b; XORCY xorcy ( .LI(d), .CI(ci), .O(s)); MUXCY muxcy (.S(d), .DI(a), .CI(ci), .O(co)); endmodule