-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gates.v
35 lines (30 loc) · 727 Bytes
/
Gates.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
29
30
31
32
33
34
35
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 20:47:01 05/16/2021
// Design Name:
// Module Name: Gates
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module bit32And (out, in1, in2);
input [31:0] in1, in2;
output [31:0] out;
assign {out} = in1 & in2;
endmodule
module bit32Or (out, in1, in2);
input [31:0] in1, in2;
output [31:0] out;
assign {out} = in1 | in2;
endmodule