-
Notifications
You must be signed in to change notification settings - Fork 0
/
HA.v
28 lines (26 loc) · 610 Bytes
/
HA.v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 17:32:36 03/25/2021
// Design Name:
// Module Name: HA
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module HA(a,b,sum,cout);
input a,b;
output sum,cout;
XOR_2x1 xor1(a,b,sum);
AND_2x1 and1(a,b,cout);
endmodule