//----------------------------------------------------- // This is simple parity Program // Design Name : parity // File Name : parity.v // Function : This program shows how a verilog // primitive/module port connection are done // Coder : Deepak //----------------------------------------------------- module parity ( a , // First input b , // Second input c , // Third Input d , // Fourth Input y // Parity output ); // Input Declaration input a ; input b ; input c ; input d ; // Ouput Declaration output y ; // port data types wire a ; wire b ; wire c ; wire d ; wire y ; // Internal variables wire out_0 ; wire out_1 ; // Code starts Here xor u0 (out_0,a,b); xor u1 (out_1,c,d); xor u2 (y,out_0,out_1); endmodule // End Of Module parity cgit.cgi/'>index : openwrt/tpl-mr3020/trunk-47381
tpl-mr3020 base openwrtJames
aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm8668/files-3.18/arch/mips/include/asm/mach-adm8668/adm8668.h
blob: 8a16863c08de0352c34374d1d60eeca3cbd68526 (plain)
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
59
60
61
62
63
64
65
66
67
68
69