-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFourBitAdder.v
More file actions
109 lines (88 loc) · 2.2 KB
/
Copy pathFourBitAdder.v
File metadata and controls
109 lines (88 loc) · 2.2 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
// Copyright (C) 1991-2013 Altera Corporation
// Your use of Altera Corporation's design tools, logic functions
// and other software and tools, and its AMPP partner logic
// functions, and any output files from any of the foregoing
// (including device programming or simulation files), and any
// associated documentation or information are expressly subject
// to the terms and conditions of the Altera Program License
// Subscription Agreement, Altera MegaCore Function License
// Agreement, or other applicable license agreement, including,
// without limitation, that your use is for the sole purpose of
// programming logic devices manufactured by Altera and sold by
// Altera or its authorized distributors. Please refer to the
// applicable agreement for further details.
// PROGRAM "Quartus II 64-Bit"
// VERSION "Version 13.0.1 Build 232 06/12/2013 Service Pack 1 SJ Web Edition"
// CREATED "Thu Feb 09 23:53:54 2023"
module FourBitAdder(
c0,
X,
Y,
Gp,
Pp,
S
);
input wire c0;
input wire [3:0] X;
input wire [3:0] Y;
output wire Gp;
output wire Pp;
output wire [3:0] S;
wire c1;
wire c2;
wire c3;
wire c4;
wire [3:0] S_ALTERA_SYNTHESIZED;
wire SYNTHESIZED_WIRE_0;
wire SYNTHESIZED_WIRE_1;
wire SYNTHESIZED_WIRE_2;
wire SYNTHESIZED_WIRE_3;
wire SYNTHESIZED_WIRE_4;
wire SYNTHESIZED_WIRE_5;
wire SYNTHESIZED_WIRE_6;
wire SYNTHESIZED_WIRE_7;
BCell b2v_inst(
.x(X[0]),
.y(Y[0]),
.c(c0),
.G(SYNTHESIZED_WIRE_1),
.P(SYNTHESIZED_WIRE_0),
.S(S_ALTERA_SYNTHESIZED[0]));
BCell b2v_inst1(
.x(X[1]),
.y(Y[1]),
.c(c1),
.G(SYNTHESIZED_WIRE_3),
.P(SYNTHESIZED_WIRE_2),
.S(S_ALTERA_SYNTHESIZED[1]));
BCell b2v_inst2(
.x(X[2]),
.y(Y[2]),
.c(c2),
.G(SYNTHESIZED_WIRE_5),
.P(SYNTHESIZED_WIRE_4),
.S(S_ALTERA_SYNTHESIZED[2]));
BCell b2v_inst3(
.x(X[3]),
.y(Y[3]),
.c(c3),
.G(SYNTHESIZED_WIRE_7),
.P(SYNTHESIZED_WIRE_6),
.S(S_ALTERA_SYNTHESIZED[3]));
carrylookaheadlogic b2v_inst6(
.c0(c0),
.P0(SYNTHESIZED_WIRE_0),
.G0(SYNTHESIZED_WIRE_1),
.P1(SYNTHESIZED_WIRE_2),
.G1(SYNTHESIZED_WIRE_3),
.P2(SYNTHESIZED_WIRE_4),
.G2(SYNTHESIZED_WIRE_5),
.P3(SYNTHESIZED_WIRE_6),
.G3(SYNTHESIZED_WIRE_7),
.c1(c1),
.c2(c2),
.c3(c3),
.Gp(Gp),
.Pp(Pp));
assign S = S_ALTERA_SYNTHESIZED;
endmodule