-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathxor2.v
More file actions
executable file
·37 lines (33 loc) · 752 Bytes
/
xor2.v
File metadata and controls
executable file
·37 lines (33 loc) · 752 Bytes
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
36
37
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 10:59:54 05/12/2015
// Design Name:
// Module Name: xor2
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module xor2(
left,
sboxPerm,
right
);
input [32:1] left;
input [32:1] sboxPerm;
output reg [32:1] right;
always @ (left or sboxPerm)
begin
right<= left ^ sboxPerm;
end
endmodule