verilog
This commit is contained in:
9
labs/lab3_solution/ha.v
Normal file
9
labs/lab3_solution/ha.v
Normal file
@ -0,0 +1,9 @@
|
||||
module ha(
|
||||
input X, Y,
|
||||
output S, C
|
||||
);
|
||||
|
||||
xor(S, X, Y);
|
||||
and(C, X, Y);
|
||||
|
||||
endmodule
|
Reference in New Issue
Block a user