You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
186 B
Coq
8 lines
186 B
Coq
7 months ago
|
module half_adder(
|
||
|
input wire [1: 0] cin ,//in1, in2
|
||
|
|
||
|
output wire sum ,
|
||
|
output wire cout
|
||
|
);
|
||
|
assign {cout, sum} = cin[0] + cin[1];
|
||
|
endmodule
|