-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPC1.v
58 lines (58 loc) · 1.52 KB
/
PC1.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
module PC1(input [1:64] in, output [1:56] out);
assign out[1] = in[57];
assign out[2] = in[49];
assign out[3] = in[41];
assign out[4] = in[33];
assign out[5] = in[25];
assign out[6] = in[17];
assign out[7] = in[9];
assign out[8] = in[1];
assign out[9] = in[58];
assign out[10] = in[50];
assign out[11] = in[42];
assign out[12] = in[34];
assign out[13] = in[26];
assign out[14] = in[18];
assign out[15] = in[10];
assign out[16] = in[2];
assign out[17] = in[59];
assign out[18] = in[51];
assign out[19] = in[43];
assign out[20] = in[35];
assign out[21] = in[27];
assign out[22] = in[19];
assign out[23] = in[11];
assign out[24] = in[3];
assign out[25] = in[60];
assign out[26] = in[52];
assign out[27] = in[44];
assign out[28] = in[36];
assign out[29] = in[63];
assign out[30] = in[55];
assign out[31] = in[47];
assign out[32] = in[39];
assign out[33] = in[31];
assign out[34] = in[23];
assign out[35] = in[15];
assign out[36] = in[7];
assign out[37] = in[62];
assign out[38] = in[54];
assign out[39] = in[46];
assign out[40] = in[38];
assign out[41] = in[30];
assign out[42] = in[22];
assign out[43] = in[14];
assign out[44] = in[6];
assign out[45] = in[61];
assign out[46] = in[53];
assign out[47] = in[45];
assign out[48] = in[37];
assign out[49] = in[29];
assign out[50] = in[21];
assign out[51] = in[13];
assign out[52] = in[5];
assign out[53] = in[28];
assign out[54] = in[20];
assign out[55] = in[12];
assign out[56] = in[4];
endmodule