summaryrefslogtreecommitdiffstats
path: root/fpga/usrp1/megacells/sub32.v
blob: dd825d91af14594d84da35671c3d50cd19f2914c (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
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
// megafunction wizard: %LPM_ADD_SUB%CBX%
// GENERATION: STANDARD
// VERSION: WM1.0
// MODULE: lpm_add_sub 

// ============================================================
// File Name: sub32.v
// Megafunction Name(s):
// 			lpm_add_sub
// ============================================================
// ************************************************************
// THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
// ************************************************************


//Copyright (C) 1991-2003 Altera Corporation
//Any  megafunction  design,  and related netlist (encrypted  or  decrypted),
//support information,  device programming or simulation file,  and any other
//associated  documentation or information  provided by  Altera  or a partner
//under  Altera's   Megafunction   Partnership   Program  may  be  used  only
//to program  PLD  devices (but not masked  PLD  devices) from  Altera.   Any
//other  use  of such  megafunction  design,  netlist,  support  information,
//device programming or simulation file,  or any other  related documentation
//or information  is prohibited  for  any  other purpose,  including, but not
//limited to  modification,  reverse engineering,  de-compiling, or use  with
//any other  silicon devices,  unless such use is  explicitly  licensed under
//a separate agreement with  Altera  or a megafunction partner.  Title to the
//intellectual property,  including patents,  copyrights,  trademarks,  trade
//secrets,  or maskworks,  embodied in any such megafunction design, netlist,
//support  information,  device programming or simulation file,  or any other
//related documentation or information provided by  Altera  or a megafunction
//partner, remains with Altera, the megafunction partner, or their respective
//licensors. No other licenses, including any licenses needed under any third
//party's intellectual property, are provided herein.


//lpm_add_sub DEVICE_FAMILY=Cyclone LPM_DIRECTION=SUB LPM_PIPELINE=1 LPM_WIDTH=32 aclr clken clock dataa datab result
//VERSION_BEGIN 3.0 cbx_lpm_add_sub 2003:04:10:18:28:42:SJ cbx_mgl 2003:06:11:11:00:44:SJ cbx_stratix 2003:05:16:10:26:50:SJ  VERSION_END

//synthesis_resources = lut 32 
module  sub32_add_sub_cqa
	( 
	aclr,
	clken,
	clock,
	dataa,
	datab,
	result) /* synthesis synthesis_clearbox=1 */;
	input   aclr;
	input   clken;
	input   clock;
	input   [31:0]  dataa;
	input   [31:0]  datab;
	output   [31:0]  result;

	wire  [0:0]   wire_add_sub_cella_0cout;
	wire  [0:0]   wire_add_sub_cella_1cout;
	wire  [0:0]   wire_add_sub_cella_2cout;
	wire  [0:0]   wire_add_sub_cella_3cout;
	wire  [0:0]   wire_add_sub_cella_4cout;
	wire  [0:0]   wire_add_sub_cella_5cout;
	wire  [0:0]   wire_add_sub_cella_6cout;
	wire  [0:0]   wire_add_sub_cella_7cout;
	wire  [0:0]   wire_add_sub_cella_8cout;
	wire  [0:0]   wire_add_sub_cella_9cout;
	wire  [0:0]   wire_add_sub_cella_10cout;
	wire  [0:0]   wire_add_sub_cella_11cout;
	wire  [0:0]   wire_add_sub_cella_12cout;
	wire  [0:0]   wire_add_sub_cella_13cout;
	wire  [0:0]   wire_add_sub_cella_14cout;
	wire  [0:0]   wire_add_sub_cella_15cout;
	wire  [0:0]   wire_add_sub_cella_16cout;
	wire  [0:0]   wire_add_sub_cella_17cout;
	wire  [0:0]   wire_add_sub_cella_18cout;
	wire  [0:0]   wire_add_sub_cella_19cout;
	wire  [0:0]   wire_add_sub_cella_20cout;
	wire  [0:0]   wire_add_sub_cella_21cout;
	wire  [0:0]   wire_add_sub_cella_22cout;
	wire  [0:0]   wire_add_sub_cella_23cout;
	wire  [0:0]   wire_add_sub_cella_24cout;
	wire  [0:0]   wire_add_sub_cella_25cout;
	wire  [0:0]   wire_add_sub_cella_26cout;
	wire  [0:0]   wire_add_sub_cella_27cout;
	wire  [0:0]   wire_add_sub_cella_28cout;
	wire  [0:0]   wire_add_sub_cella_29cout;
	wire  [0:0]   wire_add_sub_cella_30cout;
	wire  [31:0]   wire_add_sub_cella_dataa;
	wire  [31:0]   wire_add_sub_cella_datab;
	wire  [31:0]   wire_add_sub_cella_regout;

	stratix_lcell   add_sub_cella_0
	( 
	.aclr(aclr),
	.cin(1'b1),
	.clk(clock),
	.cout(wire_add_sub_cella_0cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[0:0]),
	.datab(wire_add_sub_cella_datab[0:0]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[0:0]));
	defparam
		add_sub_cella_0.cin_used = "true",
		add_sub_cella_0.lut_mask = "69b2",
		add_sub_cella_0.operation_mode = "arithmetic",
		add_sub_cella_0.sum_lutc_input = "cin",
		add_sub_cella_0.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_1
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_0cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_1cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[1:1]),
	.datab(wire_add_sub_cella_datab[1:1]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[1:1]));
	defparam
		add_sub_cella_1.cin_used = "true",
		add_sub_cella_1.lut_mask = "69b2",
		add_sub_cella_1.operation_mode = "arithmetic",
		add_sub_cella_1.sum_lutc_input = "cin",
		add_sub_cella_1.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_2
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_1cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_2cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[2:2]),
	.datab(wire_add_sub_cella_datab[2:2]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[2:2]));
	defparam
		add_sub_cella_2.cin_used = "true",
		add_sub_cella_2.lut_mask = "69b2",
		add_sub_cella_2.operation_mode = "arithmetic",
		add_sub_cella_2.sum_lutc_input = "cin",
		add_sub_cella_2.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_3
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_2cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_3cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[3:3]),
	.datab(wire_add_sub_cella_datab[3:3]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[3:3]));
	defparam
		add_sub_cella_3.cin_used = "true",
		add_sub_cella_3.lut_mask = "69b2",
		add_sub_cella_3.operation_mode = "arithmetic",
		add_sub_cella_3.sum_lutc_input = "cin",
		add_sub_cella_3.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_4
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_3cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_4cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[4:4]),
	.datab(wire_add_sub_cella_datab[4:4]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[4:4]));
	defparam
		add_sub_cella_4.cin_used = "true",
		add_sub_cella_4.lut_mask = "69b2",
		add_sub_cella_4.operation_mode = "arithmetic",
		add_sub_cella_4.sum_lutc_input = "cin",
		add_sub_cella_4.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_5
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_4cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_5cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[5:5]),
	.datab(wire_add_sub_cella_datab[5:5]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[5:5]));
	defparam
		add_sub_cella_5.cin_used = "true",
		add_sub_cella_5.lut_mask = "69b2",
		add_sub_cella_5.operation_mode = "arithmetic",
		add_sub_cella_5.sum_lutc_input = "cin",
		add_sub_cella_5.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_6
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_5cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_6cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[6:6]),
	.datab(wire_add_sub_cella_datab[6:6]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[6:6]));
	defparam
		add_sub_cella_6.cin_used = "true",
		add_sub_cella_6.lut_mask = "69b2",
		add_sub_cella_6.operation_mode = "arithmetic",
		add_sub_cella_6.sum_lutc_input = "cin",
		add_sub_cella_6.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_7
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_6cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_7cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[7:7]),
	.datab(wire_add_sub_cella_datab[7:7]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[7:7]));
	defparam
		add_sub_cella_7.cin_used = "true",
		add_sub_cella_7.lut_mask = "69b2",
		add_sub_cella_7.operation_mode = "arithmetic",
		add_sub_cella_7.sum_lutc_input = "cin",
		add_sub_cella_7.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_8
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_7cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_8cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[8:8]),
	.datab(wire_add_sub_cella_datab[8:8]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[8:8]));
	defparam
		add_sub_cella_8.cin_used = "true",
		add_sub_cella_8.lut_mask = "69b2",
		add_sub_cella_8.operation_mode = "arithmetic",
		add_sub_cella_8.sum_lutc_input = "cin",
		add_sub_cella_8.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_9
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_8cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_9cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[9:9]),
	.datab(wire_add_sub_cella_datab[9:9]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[9:9]));
	defparam
		add_sub_cella_9.cin_used = "true",
		add_sub_cella_9.lut_mask = "69b2",
		add_sub_cella_9.operation_mode = "arithmetic",
		add_sub_cella_9.sum_lutc_input = "cin",
		add_sub_cella_9.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_10
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_9cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_10cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[10:10]),
	.datab(wire_add_sub_cella_datab[10:10]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[10:10]));
	defparam
		add_sub_cella_10.cin_used = "true",
		add_sub_cella_10.lut_mask = "69b2",
		add_sub_cella_10.operation_mode = "arithmetic",
		add_sub_cella_10.sum_lutc_input = "cin",
		add_sub_cella_10.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_11
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_10cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_11cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[11:11]),
	.datab(wire_add_sub_cella_datab[11:11]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[11:11]));
	defparam
		add_sub_cella_11.cin_used = "true",
		add_sub_cella_11.lut_mask = "69b2",
		add_sub_cella_11.operation_mode = "arithmetic",
		add_sub_cella_11.sum_lutc_input = "cin",
		add_sub_cella_11.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_12
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_11cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_12cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[12:12]),
	.datab(wire_add_sub_cella_datab[12:12]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[12:12]));
	defparam
		add_sub_cella_12.cin_used = "true",
		add_sub_cella_12.lut_mask = "69b2",
		add_sub_cella_12.operation_mode = "arithmetic",
		add_sub_cella_12.sum_lutc_input = "cin",
		add_sub_cella_12.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_13
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_12cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_13cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[13:13]),
	.datab(wire_add_sub_cella_datab[13:13]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[13:13]));
	defparam
		add_sub_cella_13.cin_used = "true",
		add_sub_cella_13.lut_mask = "69b2",
		add_sub_cella_13.operation_mode = "arithmetic",
		add_sub_cella_13.sum_lutc_input = "cin",
		add_sub_cella_13.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_14
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_13cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_14cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[14:14]),
	.datab(wire_add_sub_cella_datab[14:14]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[14:14]));
	defparam
		add_sub_cella_14.cin_used = "true",
		add_sub_cella_14.lut_mask = "69b2",
		add_sub_cella_14.operation_mode = "arithmetic",
		add_sub_cella_14.sum_lutc_input = "cin",
		add_sub_cella_14.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_15
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_14cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_15cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[15:15]),
	.datab(wire_add_sub_cella_datab[15:15]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[15:15]));
	defparam
		add_sub_cella_15.cin_used = "true",
		add_sub_cella_15.lut_mask = "69b2",
		add_sub_cella_15.operation_mode = "arithmetic",
		add_sub_cella_15.sum_lutc_input = "cin",
		add_sub_cella_15.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_16
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_15cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_16cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[16:16]),
	.datab(wire_add_sub_cella_datab[16:16]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[16:16]));
	defparam
		add_sub_cella_16.cin_used = "true",
		add_sub_cella_16.lut_mask = "69b2",
		add_sub_cella_16.operation_mode = "arithmetic",
		add_sub_cella_16.sum_lutc_input = "cin",
		add_sub_cella_16.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_17
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_16cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_17cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[17:17]),
	.datab(wire_add_sub_cella_datab[17:17]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[17:17]));
	defparam
		add_sub_cella_17.cin_used = "true",
		add_sub_cella_17.lut_mask = "69b2",
		add_sub_cella_17.operation_mode = "arithmetic",
		add_sub_cella_17.sum_lutc_input = "cin",
		add_sub_cella_17.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_18
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_17cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_18cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[18:18]),
	.datab(wire_add_sub_cella_datab[18:18]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[18:18]));
	defparam
		add_sub_cella_18.cin_used = "true",
		add_sub_cella_18.lut_mask = "69b2",
		add_sub_cella_18.operation_mode = "arithmetic",
		add_sub_cella_18.sum_lutc_input = "cin",
		add_sub_cella_18.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_19
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_18cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_19cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[19:19]),
	.datab(wire_add_sub_cella_datab[19:19]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[19:19]));
	defparam
		add_sub_cella_19.cin_used = "true",
		add_sub_cella_19.lut_mask = "69b2",
		add_sub_cella_19.operation_mode = "arithmetic",
		add_sub_cella_19.sum_lutc_input = "cin",
		add_sub_cella_19.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_20
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_19cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_20cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[20:20]),
	.datab(wire_add_sub_cella_datab[20:20]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[20:20]));
	defparam
		add_sub_cella_20.cin_used = "true",
		add_sub_cella_20.lut_mask = "69b2",
		add_sub_cella_20.operation_mode = "arithmetic",
		add_sub_cella_20.sum_lutc_input = "cin",
		add_sub_cella_20.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_21
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_20cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_21cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[21:21]),
	.datab(wire_add_sub_cella_datab[21:21]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[21:21]));
	defparam
		add_sub_cella_21.cin_used = "true",
		add_sub_cella_21.lut_mask = "69b2",
		add_sub_cella_21.operation_mode = "arithmetic",
		add_sub_cella_21.sum_lutc_input = "cin",
		add_sub_cella_21.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_22
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_21cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_22cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[22:22]),
	.datab(wire_add_sub_cella_datab[22:22]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[22:22]));
	defparam
		add_sub_cella_22.cin_used = "true",
		add_sub_cella_22.lut_mask = "69b2",
		add_sub_cella_22.operation_mode = "arithmetic",
		add_sub_cella_22.sum_lutc_input = "cin",
		add_sub_cella_22.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_23
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_22cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_23cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[23:23]),
	.datab(wire_add_sub_cella_datab[23:23]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[23:23]));
	defparam
		add_sub_cella_23.cin_used = "true",
		add_sub_cella_23.lut_mask = "69b2",
		add_sub_cella_23.operation_mode = "arithmetic",
		add_sub_cella_23.sum_lutc_input = "cin",
		add_sub_cella_23.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_24
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_23cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_24cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[24:24]),
	.datab(wire_add_sub_cella_datab[24:24]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[24:24]));
	defparam
		add_sub_cella_24.cin_used = "true",
		add_sub_cella_24.lut_mask = "69b2",
		add_sub_cella_24.operation_mode = "arithmetic",
		add_sub_cella_24.sum_lutc_input = "cin",
		add_sub_cella_24.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_25
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_24cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_25cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[25:25]),
	.datab(wire_add_sub_cella_datab[25:25]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[25:25]));
	defparam
		add_sub_cella_25.cin_used = "true",
		add_sub_cella_25.lut_mask = "69b2",
		add_sub_cella_25.operation_mode = "arithmetic",
		add_sub_cella_25.sum_lutc_input = "cin",
		add_sub_cella_25.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_26
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_25cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_26cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[26:26]),
	.datab(wire_add_sub_cella_datab[26:26]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[26:26]));
	defparam
		add_sub_cella_26.cin_used = "true",
		add_sub_cella_26.lut_mask = "69b2",
		add_sub_cella_26.operation_mode = "arithmetic",
		add_sub_cella_26.sum_lutc_input = "cin",
		add_sub_cella_26.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_27
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_26cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_27cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[27:27]),
	.datab(wire_add_sub_cella_datab[27:27]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[27:27]));
	defparam
		add_sub_cella_27.cin_used = "true",
		add_sub_cella_27.lut_mask = "69b2",
		add_sub_cella_27.operation_mode = "arithmetic",
		add_sub_cella_27.sum_lutc_input = "cin",
		add_sub_cella_27.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_28
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_27cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_28cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[28:28]),
	.datab(wire_add_sub_cella_datab[28:28]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[28:28]));
	defparam
		add_sub_cella_28.cin_used = "true",
		add_sub_cella_28.lut_mask = "69b2",
		add_sub_cella_28.operation_mode = "arithmetic",
		add_sub_cella_28.sum_lutc_input = "cin",
		add_sub_cella_28.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_29
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_28cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_29cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[29:29]),
	.datab(wire_add_sub_cella_datab[29:29]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[29:29]));
	defparam
		add_sub_cella_29.cin_used = "true",
		add_sub_cella_29.lut_mask = "69b2",
		add_sub_cella_29.operation_mode = "arithmetic",
		add_sub_cella_29.sum_lutc_input = "cin",
		add_sub_cella_29.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_30
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_29cout[0:0]),
	.clk(clock),
	.cout(wire_add_sub_cella_30cout[0:0]),
	.dataa(wire_add_sub_cella_dataa[30:30]),
	.datab(wire_add_sub_cella_datab[30:30]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[30:30]));
	defparam
		add_sub_cella_30.cin_used = "true",
		add_sub_cella_30.lut_mask = "69b2",
		add_sub_cella_30.operation_mode = "arithmetic",
		add_sub_cella_30.sum_lutc_input = "cin",
		add_sub_cella_30.lpm_type = "stratix_lcell";
	stratix_lcell   add_sub_cella_31
	( 
	.aclr(aclr),
	.cin(wire_add_sub_cella_30cout[0:0]),
	.clk(clock),
	.dataa(wire_add_sub_cella_dataa[31:31]),
	.datab(wire_add_sub_cella_datab[31:31]),
	.ena(clken),
	.regout(wire_add_sub_cella_regout[31:31]));
	defparam
		add_sub_cella_31.cin_used = "true",
		add_sub_cella_31.lut_mask = "6969",
		add_sub_cella_31.operation_mode = "normal",
		add_sub_cella_31.sum_lutc_input = "cin",
		add_sub_cella_31.lpm_type = "stratix_lcell";
	assign
		wire_add_sub_cella_dataa = dataa,
		wire_add_sub_cella_datab = datab;
	assign
		result = wire_add_sub_cella_regout;
endmodule //sub32_add_sub_cqa
//VALID FILE


module sub32 (
	dataa,
	datab,
	clock,
	aclr,
	clken,
	result)/* synthesis synthesis_clearbox = 1 */;

	input	[31:0]  dataa;
	input	[31:0]  datab;
	input	  clock;
	input	  aclr;
	input	  clken;
	output	[31:0]  result;

	wire [31:0] sub_wire0;
	wire [31:0] result = sub_wire0[31:0];

	sub32_add_sub_cqa	sub32_add_sub_cqa_component (
				.dataa (dataa),
				.datab (datab),
				.clken (clken),
				.aclr (aclr),
				.clock (clock),
				.result (sub_wire0));

endmodule

// ============================================================
// CNX file retrieval info
// ============================================================
// Retrieval info: PRIVATE: nBit NUMERIC "32"
// Retrieval info: PRIVATE: Function NUMERIC "1"
// Retrieval info: PRIVATE: WhichConstant NUMERIC "0"
// Retrieval info: PRIVATE: ConstantA NUMERIC "0"
// Retrieval info: PRIVATE: ConstantB NUMERIC "0"
// Retrieval info: PRIVATE: ValidCtA NUMERIC "0"
// Retrieval info: PRIVATE: ValidCtB NUMERIC "0"
// Retrieval info: PRIVATE: CarryIn NUMERIC "0"
// Retrieval info: PRIVATE: CarryOut NUMERIC "0"
// Retrieval info: PRIVATE: Overflow NUMERIC "0"
// Retrieval info: PRIVATE: Latency NUMERIC "1"
// Retrieval info: PRIVATE: aclr NUMERIC "1"
// Retrieval info: PRIVATE: clken NUMERIC "1"
// Retrieval info: PRIVATE: LPM_PIPELINE NUMERIC "1"
// Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone"
// Retrieval info: CONSTANT: LPM_WIDTH NUMERIC "32"
// Retrieval info: CONSTANT: LPM_DIRECTION STRING "SUB"
// Retrieval info: CONSTANT: LPM_TYPE STRING "LPM_ADD_SUB"
// Retrieval info: CONSTANT: LPM_HINT STRING "ONE_INPUT_IS_CONSTANT=NO"
// Retrieval info: CONSTANT: LPM_PIPELINE NUMERIC "1"
// Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone"
// Retrieval info: USED_PORT: result 0 0 32 0 OUTPUT NODEFVAL result[31..0]
// Retrieval info: USED_PORT: dataa 0 0 32 0 INPUT NODEFVAL dataa[31..0]
// Retrieval info: USED_PORT: datab 0 0 32 0 INPUT NODEFVAL datab[31..0]
// Retrieval info: USED_PORT: clock 0 0 0 0 INPUT NODEFVAL clock
// Retrieval info: USED_PORT: aclr 0 0 0 0 INPUT NODEFVAL aclr
// Retrieval info: USED_PORT: clken 0 0 0 0 INPUT NODEFVAL clken
// Retrieval info: CONNECT: result 0 0 32 0 @result 0 0 32 0
// Retrieval info: CONNECT: @dataa 0 0 32 0 dataa 0 0 32 0
// Retrieval info: CONNECT: @datab 0 0 32 0 datab 0 0 32 0
// Retrieval info: CONNECT: @clock 0 0 0 0 clock 0 0 0 0
// Retrieval info: CONNECT: @aclr 0 0 0 0 aclr 0 0 0 0
// Retrieval info: CONNECT: @clken 0 0 0 0 clken 0 0 0 0
// Retrieval info: LIBRARY: lpm lpm.lpm_components.all