-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtest.sus_codegen.sv
More file actions
5138 lines (4934 loc) · 186 KB
/
test.sus_codegen.sv
File metadata and controls
5138 lines (4934 loc) · 186 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
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
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// PositiveAndNegativeLatencyOffset #()
module PositiveAndNegativeLatencyOffset(
/* clock */ input clk
);
LatencyOffset_T_type_bool_OFFSET_3 pos(
.clk(clk),
.din(),
.dout()
);
LatencyOffset_T_type_bool_OFFSET_N3 neg(
.clk(clk),
.din(),
.dout()
);
endmodule // PositiveAndNegativeLatencyOffset #()
// LatencyOffset #(T: type bool #(), OFFSET: -3)
module LatencyOffset_T_type_bool_OFFSET_N3(
/* clock */ input clk,
input wire din,
output /*mux_wire*/ logic dout
);
assign dout = din;
endmodule // LatencyOffset #(T: type bool #(), OFFSET: -3)
// LatencyOffset #(T: type bool #(), OFFSET: 3)
module LatencyOffset_T_type_bool_OFFSET_3(
/* clock */ input clk,
input wire din,
output /*mux_wire*/ logic dout
);
assign dout = din;
endmodule // LatencyOffset #(T: type bool #(), OFFSET: 3)
// TwoDomainsWithLatRegs #()
module TwoDomainsWithLatRegs(
/* clock */ input clk,
input wire a_i,
output /*mux_wire*/ logic a_o,
output /*mux_wire*/ logic a_o2,
input wire b_i,
output /*mux_wire*/ logic b_o
);
/*latency*/ logic _a_i_D10; always_ff @(posedge clk) begin _a_i_D10 <= a_i; end
/*latency*/ logic _a_i_D11; always_ff @(posedge clk) begin _a_i_D11 <= _a_i_D10; end
/*latency*/ logic _a_i_D12; always_ff @(posedge clk) begin _a_i_D12 <= _a_i_D11; end
/*latency*/ logic _a_i_D13; always_ff @(posedge clk) begin _a_i_D13 <= _a_i_D12; end
/*latency*/ logic _a_i_D14; always_ff @(posedge clk) begin _a_i_D14 <= _a_i_D13; end
/*latency*/ logic _a_i_D15; always_ff @(posedge clk) begin _a_i_D15 <= _a_i_D14; end
/*latency*/ logic _a_i_D16; always_ff @(posedge clk) begin _a_i_D16 <= _a_i_D15; end
/*latency*/ logic _a_i_D17; always_ff @(posedge clk) begin _a_i_D17 <= _a_i_D16; end
/*latency*/ logic _a_i_D18; always_ff @(posedge clk) begin _a_i_D18 <= _a_i_D17; end
/*latency*/ logic _a_i_D19; always_ff @(posedge clk) begin _a_i_D19 <= _a_i_D18; end
/*latency*/ logic _a_i_D20; always_ff @(posedge clk) begin _a_i_D20 <= _a_i_D19; end
always_comb begin // combinatorial a_o
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
a_o = 1'bx;
a_o = _a_i_D12;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
a_o = a_o;
end
always_comb begin // combinatorial a_o2
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
a_o2 = 1'bx;
a_o2 = _a_i_D20;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
a_o2 = a_o2;
end
always_comb begin // combinatorial b_o
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
b_o = 1'bx;
b_o = b_i;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
b_o = b_o;
end
endmodule // TwoDomainsWithLatRegs #()
// NegativeIntLiterals #()
module NegativeIntLiterals(
/* clock */ input clk
);
/*mux_wire*/ logic signed[4:0] j;
/*mux_wire*/ logic signed[4:0] j_2;
/*mux_wire*/ logic signed[3:0] j_3;
/*mux_wire*/ logic signed[3:0] j_4;
/*mux_wire*/ logic signed[3:0] j_5;
/*mux_wire*/ logic signed[3:0] j_6;
/*mux_wire*/ logic signed[2:0] j_7;
/*mux_wire*/ logic signed[2:0] j_8;
/*mux_wire*/ logic signed[1:0] j_9;
/*mux_wire*/ logic signed[0:0] j_10;
// (zero sized) j_11
/*mux_wire*/ logic[0:0] j_12;
/*mux_wire*/ logic[1:0] j_13;
/*mux_wire*/ logic[1:0] j_14;
/*mux_wire*/ logic[2:0] j_15;
/*mux_wire*/ logic[2:0] j_16;
/*mux_wire*/ logic[2:0] j_17;
/*mux_wire*/ logic[2:0] j_18;
/*mux_wire*/ logic[3:0] j_19;
/*mux_wire*/ logic[3:0] j_20;
always_comb begin // combinatorial j
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j = 5'sdx;
j = 5'sh16 /* -10 */;
end
always_comb begin // combinatorial j_2
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_2 = 5'sdx;
j_2 = 5'sh17 /* -9 */;
end
always_comb begin // combinatorial j_3
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_3 = 4'sdx;
j_3 = 4'sh8 /* -8 */;
end
always_comb begin // combinatorial j_4
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_4 = 4'sdx;
j_4 = 4'sh9 /* -7 */;
end
always_comb begin // combinatorial j_5
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_5 = 4'sdx;
j_5 = 4'sha /* -6 */;
end
always_comb begin // combinatorial j_6
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_6 = 4'sdx;
j_6 = 4'shb /* -5 */;
end
always_comb begin // combinatorial j_7
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_7 = 3'sdx;
j_7 = 3'sh4 /* -4 */;
end
always_comb begin // combinatorial j_8
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_8 = 3'sdx;
j_8 = 3'sh5 /* -3 */;
end
always_comb begin // combinatorial j_9
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_9 = 2'sdx;
j_9 = 2'sh2 /* -2 */;
end
always_comb begin // combinatorial j_10
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_10 = 1'sdx;
j_10 = 1'sh1 /* -1 */;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
j_10 = j_10;
end
always_comb begin // combinatorial j_12
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_12 = 1'dx;
j_12 = 1'd1;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
j_12 = j_12;
end
always_comb begin // combinatorial j_13
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_13 = 2'dx;
j_13 = 2'd2;
end
always_comb begin // combinatorial j_14
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_14 = 2'dx;
j_14 = 2'd3;
end
always_comb begin // combinatorial j_15
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_15 = 3'dx;
j_15 = 3'd4;
end
always_comb begin // combinatorial j_16
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_16 = 3'dx;
j_16 = 3'd5;
end
always_comb begin // combinatorial j_17
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_17 = 3'dx;
j_17 = 3'd6;
end
always_comb begin // combinatorial j_18
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_18 = 3'dx;
j_18 = 3'd7;
end
always_comb begin // combinatorial j_19
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_19 = 4'dx;
j_19 = 4'd8;
end
always_comb begin // combinatorial j_20
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
j_20 = 4'dx;
j_20 = 4'd9;
end
endmodule // NegativeIntLiterals #()
// IntNarrowToZero #()
module IntNarrowToZero(
/* clock */ input clk
);
// (zero sized) x
/*mux_wire*/ logic[2:0] _IntNarrow_din;
// (zero sized) _IntNarrow_dout
/*mux_wire*/ logic signed[3:0] y;
// (zero sized) _IntNarrow_2_din
wire signed[3:0] _IntNarrow_2_dout;
IntNarrow_FROM_I_5_TO_I_6_FROM_0_TO_1 IntNarrow(
.clk(clk),
.din(_IntNarrow_din)
// (zero sized port) .dout(_IntNarrow_dout)
);
IntNarrow_FROM_I_0_TO_I_1_FROM_N3_TO_6 IntNarrow_2(
.clk(clk),
// (zero sized port) .din(_IntNarrow_2_din)
.dout(_IntNarrow_2_dout)
);
always_comb begin // combinatorial _IntNarrow_din
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_IntNarrow_din = 3'dx;
_IntNarrow_din = 3'd5;
end
always_comb begin // combinatorial y
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
y = 4'sdx;
y = _IntNarrow_2_dout;
end
endmodule // IntNarrowToZero #()
// IntNarrow #(FROM_I: 0, TO_I: 1, FROM: -3, TO: 6)
module IntNarrow_FROM_I_0_TO_I_1_FROM_N3_TO_6(
/* clock */ input clk,
// (zero sized) input din
output /*mux_wire*/ logic signed[3:0] dout
);
assign dout = 0;
endmodule // IntNarrow #(FROM_I: 0, TO_I: 1, FROM: -3, TO: 6)
// IntNarrow #(FROM_I: 5, TO_I: 6, FROM: 0, TO: 1)
module IntNarrow_FROM_I_5_TO_I_6_FROM_0_TO_1(
/* clock */ input clk,
input wire[2:0] din
// (zero sized) output dout
);
// PATCH XRT 2.16 over-zealous empty module DRC
initial begin end
endmodule // IntNarrow #(FROM_I: 5, TO_I: 6, FROM: 0, TO: 1)
// UseModWithDomains #()
module UseModWithDomains(
/* clock */ input clk
);
wire _mwd_b_trig;
wire _mwd_b_data;
/*mux_wire*/ logic d;
/*mux_wire*/ logic _mwd_a_act;
/*mux_wire*/ logic _mwd_a_data;
ModWithDomains mwd(
.clk(clk),
.b_trig(_mwd_b_trig),
.b_data(_mwd_b_data),
.a_act(_mwd_a_act),
.a_data(_mwd_a_data)
);
always_comb begin // combinatorial d
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
d = 1'bx;
if(_mwd_b_trig) d = _mwd_b_data;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
d = d;
end
always_comb begin // combinatorial _mwd_a_act
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_mwd_a_act = 1'bx;
_mwd_a_act = 1'b0;
_mwd_a_act = 1'b1;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_mwd_a_act = _mwd_a_act;
end
always_comb begin // combinatorial _mwd_a_data
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_mwd_a_data = 1'bx;
_mwd_a_data = 1'b1;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_mwd_a_data = _mwd_a_data;
end
endmodule // UseModWithDomains #()
// ModWithDomains #()
module ModWithDomains(
/* clock */ input clk,
output /*mux_wire*/ logic b_trig,
output /*mux_wire*/ logic b_data,
input wire a_act,
input wire a_data
);
always_comb begin // combinatorial b_trig
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
b_trig = 1'bx;
b_trig = 1'b0;
if(a_act) b_trig = 1'b1;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
b_trig = b_trig;
end
always_comb begin // combinatorial b_data
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
b_data = 1'bx;
if(a_act) b_data = a_data;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
b_data = b_data;
end
endmodule // ModWithDomains #()
// CountBitsWithSplits #()
module CountBitsWithSplits(
/* clock */ input clk,
input wire[19:0] bits,
output /*mux_wire*/ logic[4:0] total
);
wire _1 = bits[0];
/*mux_wire*/ logic _BoolToInt_i;
wire[0:0] _BoolToInt_o;
/*mux_wire*/ logic[0:0] sums_split_0;
wire _3 = bits[1];
/*mux_wire*/ logic _BoolToInt_2_i;
wire[0:0] _BoolToInt_2_o;
wire[1:0] _4;
assign _4 = sums_split_0 + _BoolToInt_2_o;
/*mux_wire*/ logic[1:0] sums_split_1;
wire _6 = bits[2];
/*mux_wire*/ logic _BoolToInt_3_i;
wire[0:0] _BoolToInt_3_o;
wire[1:0] _7;
assign _7 = sums_split_1 + _BoolToInt_3_o;
/*mux_wire*/ logic[1:0] sums_split_2;
wire _9 = bits[3];
/*mux_wire*/ logic _BoolToInt_4_i;
wire[0:0] _BoolToInt_4_o;
wire[2:0] _10;
assign _10 = sums_split_2 + _BoolToInt_4_o;
/*mux_wire*/ logic[2:0] sums_split_3;
wire _12 = bits[4];
/*mux_wire*/ logic _BoolToInt_5_i;
wire[0:0] _BoolToInt_5_o;
wire[2:0] _13;
assign _13 = sums_split_3 + _BoolToInt_5_o;
/*mux_wire*/ logic[2:0] sums_split_4;
wire _15 = bits[5];
/*mux_wire*/ logic _BoolToInt_6_i;
wire[0:0] _BoolToInt_6_o;
wire[2:0] _16;
assign _16 = sums_split_4 + _BoolToInt_6_o;
/*mux_wire*/ logic[2:0] sums_split_5;
wire _18 = bits[6];
/*mux_wire*/ logic _BoolToInt_7_i;
wire[0:0] _BoolToInt_7_o;
wire[2:0] _19;
assign _19 = sums_split_5 + _BoolToInt_7_o;
/*mux_wire*/ logic[2:0] sums_split_6;
wire _21 = bits[7];
/*mux_wire*/ logic _BoolToInt_8_i;
wire[0:0] _BoolToInt_8_o;
wire[3:0] _22;
assign _22 = sums_split_6 + _BoolToInt_8_o;
/*mux_wire*/ logic[3:0] sums_split_7;
wire _24 = bits[8];
/*mux_wire*/ logic _BoolToInt_9_i;
wire[0:0] _BoolToInt_9_o;
wire[3:0] _25;
assign _25 = sums_split_7 + _BoolToInt_9_o;
/*mux_wire*/ logic[3:0] sums_split_8;
wire _27 = bits[9];
/*mux_wire*/ logic _BoolToInt_10_i;
wire[0:0] _BoolToInt_10_o;
wire[3:0] _28;
assign _28 = sums_split_8 + _BoolToInt_10_o;
/*mux_wire*/ logic[3:0] sums_split_9;
wire _30 = bits[10];
/*mux_wire*/ logic _BoolToInt_11_i;
wire[0:0] _BoolToInt_11_o;
wire[3:0] _31;
assign _31 = sums_split_9 + _BoolToInt_11_o;
/*mux_wire*/ logic[3:0] sums_split_10;
wire _33 = bits[11];
/*mux_wire*/ logic _BoolToInt_12_i;
wire[0:0] _BoolToInt_12_o;
wire[3:0] _34;
assign _34 = sums_split_10 + _BoolToInt_12_o;
/*mux_wire*/ logic[3:0] sums_split_11;
wire _36 = bits[12];
/*mux_wire*/ logic _BoolToInt_13_i;
wire[0:0] _BoolToInt_13_o;
wire[3:0] _37;
assign _37 = sums_split_11 + _BoolToInt_13_o;
/*mux_wire*/ logic[3:0] sums_split_12;
wire _39 = bits[13];
/*mux_wire*/ logic _BoolToInt_14_i;
wire[0:0] _BoolToInt_14_o;
wire[3:0] _40;
assign _40 = sums_split_12 + _BoolToInt_14_o;
/*mux_wire*/ logic[3:0] sums_split_13;
wire _42 = bits[14];
/*mux_wire*/ logic _BoolToInt_15_i;
wire[0:0] _BoolToInt_15_o;
wire[3:0] _43;
assign _43 = sums_split_13 + _BoolToInt_15_o;
/*mux_wire*/ logic[3:0] sums_split_14;
wire _45 = bits[15];
/*mux_wire*/ logic _BoolToInt_16_i;
wire[0:0] _BoolToInt_16_o;
wire[4:0] _46;
assign _46 = sums_split_14 + _BoolToInt_16_o;
/*mux_wire*/ logic[4:0] sums_split_15;
wire _48 = bits[16];
/*mux_wire*/ logic _BoolToInt_17_i;
wire[0:0] _BoolToInt_17_o;
wire[4:0] _49;
assign _49 = sums_split_15 + _BoolToInt_17_o;
/*mux_wire*/ logic[4:0] sums_split_16;
wire _51 = bits[17];
/*mux_wire*/ logic _BoolToInt_18_i;
wire[0:0] _BoolToInt_18_o;
wire[4:0] _52;
assign _52 = sums_split_16 + _BoolToInt_18_o;
/*mux_wire*/ logic[4:0] sums_split_17;
wire _54 = bits[18];
/*mux_wire*/ logic _BoolToInt_19_i;
wire[0:0] _BoolToInt_19_o;
wire[4:0] _55;
assign _55 = sums_split_17 + _BoolToInt_19_o;
/*mux_wire*/ logic[4:0] sums_split_18;
wire _57 = bits[19];
/*mux_wire*/ logic _BoolToInt_20_i;
wire[0:0] _BoolToInt_20_o;
wire[4:0] _58;
assign _58 = sums_split_18 + _BoolToInt_20_o;
/*mux_wire*/ logic[4:0] sums_split_19;
BoolToInt BoolToInt(
.clk(clk),
.i(_BoolToInt_i),
.o(_BoolToInt_o)
);
BoolToInt BoolToInt_2(
.clk(clk),
.i(_BoolToInt_2_i),
.o(_BoolToInt_2_o)
);
BoolToInt BoolToInt_3(
.clk(clk),
.i(_BoolToInt_3_i),
.o(_BoolToInt_3_o)
);
BoolToInt BoolToInt_4(
.clk(clk),
.i(_BoolToInt_4_i),
.o(_BoolToInt_4_o)
);
BoolToInt BoolToInt_5(
.clk(clk),
.i(_BoolToInt_5_i),
.o(_BoolToInt_5_o)
);
BoolToInt BoolToInt_6(
.clk(clk),
.i(_BoolToInt_6_i),
.o(_BoolToInt_6_o)
);
BoolToInt BoolToInt_7(
.clk(clk),
.i(_BoolToInt_7_i),
.o(_BoolToInt_7_o)
);
BoolToInt BoolToInt_8(
.clk(clk),
.i(_BoolToInt_8_i),
.o(_BoolToInt_8_o)
);
BoolToInt BoolToInt_9(
.clk(clk),
.i(_BoolToInt_9_i),
.o(_BoolToInt_9_o)
);
BoolToInt BoolToInt_10(
.clk(clk),
.i(_BoolToInt_10_i),
.o(_BoolToInt_10_o)
);
BoolToInt BoolToInt_11(
.clk(clk),
.i(_BoolToInt_11_i),
.o(_BoolToInt_11_o)
);
BoolToInt BoolToInt_12(
.clk(clk),
.i(_BoolToInt_12_i),
.o(_BoolToInt_12_o)
);
BoolToInt BoolToInt_13(
.clk(clk),
.i(_BoolToInt_13_i),
.o(_BoolToInt_13_o)
);
BoolToInt BoolToInt_14(
.clk(clk),
.i(_BoolToInt_14_i),
.o(_BoolToInt_14_o)
);
BoolToInt BoolToInt_15(
.clk(clk),
.i(_BoolToInt_15_i),
.o(_BoolToInt_15_o)
);
BoolToInt BoolToInt_16(
.clk(clk),
.i(_BoolToInt_16_i),
.o(_BoolToInt_16_o)
);
BoolToInt BoolToInt_17(
.clk(clk),
.i(_BoolToInt_17_i),
.o(_BoolToInt_17_o)
);
BoolToInt BoolToInt_18(
.clk(clk),
.i(_BoolToInt_18_i),
.o(_BoolToInt_18_o)
);
BoolToInt BoolToInt_19(
.clk(clk),
.i(_BoolToInt_19_i),
.o(_BoolToInt_19_o)
);
BoolToInt BoolToInt_20(
.clk(clk),
.i(_BoolToInt_20_i),
.o(_BoolToInt_20_o)
);
always_comb begin // combinatorial _BoolToInt_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_i = 1'bx;
_BoolToInt_i = _1;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_i = _BoolToInt_i;
end
always_comb begin // combinatorial sums_split_0
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_0 = 1'dx;
sums_split_0 = _BoolToInt_o;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
sums_split_0 = sums_split_0;
end
always_comb begin // combinatorial _BoolToInt_2_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_2_i = 1'bx;
_BoolToInt_2_i = _3;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_2_i = _BoolToInt_2_i;
end
always_comb begin // combinatorial sums_split_1
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_1 = 2'dx;
sums_split_1 = _4;
end
always_comb begin // combinatorial _BoolToInt_3_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_3_i = 1'bx;
_BoolToInt_3_i = _6;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_3_i = _BoolToInt_3_i;
end
always_comb begin // combinatorial sums_split_2
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_2 = 2'dx;
sums_split_2 = _7;
end
always_comb begin // combinatorial _BoolToInt_4_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_4_i = 1'bx;
_BoolToInt_4_i = _9;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_4_i = _BoolToInt_4_i;
end
always_comb begin // combinatorial sums_split_3
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_3 = 3'dx;
sums_split_3 = _10;
end
always_comb begin // combinatorial _BoolToInt_5_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_5_i = 1'bx;
_BoolToInt_5_i = _12;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_5_i = _BoolToInt_5_i;
end
always_comb begin // combinatorial sums_split_4
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_4 = 3'dx;
sums_split_4 = _13;
end
always_comb begin // combinatorial _BoolToInt_6_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_6_i = 1'bx;
_BoolToInt_6_i = _15;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_6_i = _BoolToInt_6_i;
end
always_comb begin // combinatorial sums_split_5
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_5 = 3'dx;
sums_split_5 = _16;
end
always_comb begin // combinatorial _BoolToInt_7_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_7_i = 1'bx;
_BoolToInt_7_i = _18;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_7_i = _BoolToInt_7_i;
end
always_comb begin // combinatorial sums_split_6
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_6 = 3'dx;
sums_split_6 = _19;
end
always_comb begin // combinatorial _BoolToInt_8_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_8_i = 1'bx;
_BoolToInt_8_i = _21;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_8_i = _BoolToInt_8_i;
end
always_comb begin // combinatorial sums_split_7
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_7 = 4'dx;
sums_split_7 = _22;
end
always_comb begin // combinatorial _BoolToInt_9_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_9_i = 1'bx;
_BoolToInt_9_i = _24;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_9_i = _BoolToInt_9_i;
end
always_comb begin // combinatorial sums_split_8
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_8 = 4'dx;
sums_split_8 = _25;
end
always_comb begin // combinatorial _BoolToInt_10_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_10_i = 1'bx;
_BoolToInt_10_i = _27;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_10_i = _BoolToInt_10_i;
end
always_comb begin // combinatorial sums_split_9
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_9 = 4'dx;
sums_split_9 = _28;
end
always_comb begin // combinatorial _BoolToInt_11_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_11_i = 1'bx;
_BoolToInt_11_i = _30;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_11_i = _BoolToInt_11_i;
end
always_comb begin // combinatorial sums_split_10
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_10 = 4'dx;
sums_split_10 = _31;
end
always_comb begin // combinatorial _BoolToInt_12_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_12_i = 1'bx;
_BoolToInt_12_i = _33;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_12_i = _BoolToInt_12_i;
end
always_comb begin // combinatorial sums_split_11
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_11 = 4'dx;
sums_split_11 = _34;
end
always_comb begin // combinatorial _BoolToInt_13_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_13_i = 1'bx;
_BoolToInt_13_i = _36;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_13_i = _BoolToInt_13_i;
end
always_comb begin // combinatorial sums_split_12
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_12 = 4'dx;
sums_split_12 = _37;
end
always_comb begin // combinatorial _BoolToInt_14_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_14_i = 1'bx;
_BoolToInt_14_i = _39;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_14_i = _BoolToInt_14_i;
end
always_comb begin // combinatorial sums_split_13
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_13 = 4'dx;
sums_split_13 = _40;
end
always_comb begin // combinatorial _BoolToInt_15_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_15_i = 1'bx;
_BoolToInt_15_i = _42;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_15_i = _BoolToInt_15_i;
end
always_comb begin // combinatorial sums_split_14
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_14 = 4'dx;
sums_split_14 = _43;
end
always_comb begin // combinatorial _BoolToInt_16_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_16_i = 1'bx;
_BoolToInt_16_i = _45;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_16_i = _BoolToInt_16_i;
end
always_comb begin // combinatorial sums_split_15
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_15 = 5'dx;
sums_split_15 = _46;
end
always_comb begin // combinatorial _BoolToInt_17_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_17_i = 1'bx;
_BoolToInt_17_i = _48;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_17_i = _BoolToInt_17_i;
end
always_comb begin // combinatorial sums_split_16
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_16 = 5'dx;
sums_split_16 = _49;
end
always_comb begin // combinatorial _BoolToInt_18_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_18_i = 1'bx;
_BoolToInt_18_i = _51;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_18_i = _BoolToInt_18_i;
end
always_comb begin // combinatorial sums_split_17
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_17 = 5'dx;
sums_split_17 = _52;
end
always_comb begin // combinatorial _BoolToInt_19_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_19_i = 1'bx;
_BoolToInt_19_i = _54;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_19_i = _BoolToInt_19_i;
end
always_comb begin // combinatorial sums_split_18
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_18 = 5'dx;
sums_split_18 = _55;
end
always_comb begin // combinatorial _BoolToInt_20_i
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
_BoolToInt_20_i = 1'bx;
_BoolToInt_20_i = _57;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
_BoolToInt_20_i = _BoolToInt_20_i;
end
always_comb begin // combinatorial sums_split_19
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums_split_19 = 5'dx;
sums_split_19 = _58;
end
always_comb begin // combinatorial total
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
total = 5'dx;
total = sums_split_19;
end
endmodule // CountBitsWithSplits #()
// TestSplits #()
module TestSplits(
/* clock */ input clk,
input wire y
);
/*mux_wire*/ logic x_split_0;
/*latency*/ logic _x_split_0_D5; always_ff @(posedge clk) begin _x_split_0_D5 <= x_split_0; end
/*mux_wire*/ logic x_unknowns_split_0;
/*latency*/ logic _x_unknowns_split_0_D5; always_ff @(posedge clk) begin _x_unknowns_split_0_D5 <= x_unknowns_split_0; end
/*mux_wire*/ logic x_with_latency_split_0;
/*mux_wire*/ logic x_split_1;
/*latency*/ logic _x_split_1_D6; always_ff @(posedge clk) begin _x_split_1_D6 <= x_split_1; end
/*mux_wire*/ logic x_unknowns_split_1;
/*latency*/ logic _x_unknowns_split_1_D6; always_ff @(posedge clk) begin _x_unknowns_split_1_D6 <= x_unknowns_split_1; end
/*mux_wire*/ logic x_with_latency_split_1;
/*mux_wire*/ logic x_split_2;
/*latency*/ logic _x_split_2_D7; always_ff @(posedge clk) begin _x_split_2_D7 <= x_split_2; end
/*mux_wire*/ logic x_unknowns_split_2;
/*latency*/ logic _x_unknowns_split_2_D7; always_ff @(posedge clk) begin _x_unknowns_split_2_D7 <= x_unknowns_split_2; end
/*mux_wire*/ logic x_with_latency_split_2;
/*mux_wire*/ logic x_split_3;
/*latency*/ logic _x_split_3_D8; always_ff @(posedge clk) begin _x_split_3_D8 <= x_split_3; end
/*mux_wire*/ logic x_unknowns_split_3;
/*latency*/ logic _x_unknowns_split_3_D8; always_ff @(posedge clk) begin _x_unknowns_split_3_D8 <= x_unknowns_split_3; end
/*mux_wire*/ logic x_with_latency_split_3;
/*mux_wire*/ logic x_split_4;
/*mux_wire*/ logic x_unknowns_split_4;
/*mux_wire*/ logic x_with_latency_split_4;
always_comb begin // combinatorial x_split_0
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_split_0 = 1'bx;
x_split_0 = y;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_split_0 = x_split_0;
end
always_comb begin // combinatorial x_unknowns_split_0
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_unknowns_split_0 = 1'bx;
x_unknowns_split_0 = y;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_unknowns_split_0 = x_unknowns_split_0;
end
always_comb begin // combinatorial x_with_latency_split_0
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_with_latency_split_0 = 1'bx;
x_with_latency_split_0 = y;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_with_latency_split_0 = x_with_latency_split_0;
end
always_comb begin // combinatorial x_split_1
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_split_1 = 1'bx;
x_split_1 = _x_split_0_D5;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_split_1 = x_split_1;
end
always_comb begin // combinatorial x_unknowns_split_1
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_unknowns_split_1 = 1'bx;
x_unknowns_split_1 = _x_unknowns_split_0_D5;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_unknowns_split_1 = x_unknowns_split_1;
end
always_comb begin // combinatorial x_with_latency_split_1
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_with_latency_split_1 = 1'bx;
x_with_latency_split_1 = x_with_latency_split_0;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_with_latency_split_1 = x_with_latency_split_1;
end
always_comb begin // combinatorial x_split_2
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_split_2 = 1'bx;
x_split_2 = _x_split_1_D6;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_split_2 = x_split_2;
end
always_comb begin // combinatorial x_unknowns_split_2
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_unknowns_split_2 = 1'bx;
x_unknowns_split_2 = _x_unknowns_split_1_D6;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_unknowns_split_2 = x_unknowns_split_2;
end
always_comb begin // combinatorial x_with_latency_split_2
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_with_latency_split_2 = 1'bx;
x_with_latency_split_2 = x_with_latency_split_1;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_with_latency_split_2 = x_with_latency_split_2;
end
always_comb begin // combinatorial x_split_3
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_split_3 = 1'bx;
x_split_3 = _x_split_2_D7;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_split_3 = x_split_3;
end
always_comb begin // combinatorial x_unknowns_split_3
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_unknowns_split_3 = 1'bx;
x_unknowns_split_3 = _x_unknowns_split_2_D7;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_unknowns_split_3 = x_unknowns_split_3;
end
always_comb begin // combinatorial x_with_latency_split_3
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_with_latency_split_3 = 1'bx;
x_with_latency_split_3 = x_with_latency_split_2;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_with_latency_split_3 = x_with_latency_split_3;
end
always_comb begin // combinatorial x_split_4
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_split_4 = 1'bx;
x_split_4 = _x_split_3_D8;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_split_4 = x_split_4;
end
always_comb begin // combinatorial x_unknowns_split_4
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_unknowns_split_4 = 1'bx;
x_unknowns_split_4 = _x_unknowns_split_3_D8;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_unknowns_split_4 = x_unknowns_split_4;
end
always_comb begin // combinatorial x_with_latency_split_4
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
x_with_latency_split_4 = 1'bx;
x_with_latency_split_4 = x_with_latency_split_3;
// PATCH Vivado 23.1 Simulator Bug: 1-bit Conditional Assigns become don't care
x_with_latency_split_4 = x_with_latency_split_4;
end
endmodule // TestSplits #()
// TestZerosArrays #()
module TestZerosArrays(
/* clock */ input clk
);
genvar _g0;
// (zero sized) zeros
// (zero sized) _1
/*mux_wire*/ logic signed[3:0] vs[0:1];
// (zero sized) _2
// (zero sized) _ReceiveZerosArray_values
// (zero sized) _3
// (zero sized) manyzeros
/*mux_wire*/ logic[3:0] nums[0:1];
localparam[3:0] _5[0:1] = '{4'd5, 4'd9};
/*mux_wire*/ logic[3:0] sums[0:1];
// (zero sized) _7
wire[3:0] _8[0:1];
generate
for(_g0 = 0; _g0 < 2; _g0 = _g0 + 1) begin
assign _8[_g0] = nums[_g0] + 1'd0;
end
endgenerate
wire[3:0] _10[0:1];
generate
for(_g0 = 0; _g0 < 2; _g0 = _g0 + 1) begin
assign _10[_g0] = _8[_g0] + 1'd0;
end
endgenerate
// (zero sized) _11
wire[3:0] _12[0:1];
generate
for(_g0 = 0; _g0 < 2; _g0 = _g0 + 1) begin
assign _12[_g0] = _10[_g0] + 1'd0;
end
endgenerate
ReceiveZerosArray ReceiveZerosArray(
.clk(clk)
// (zero sized port) .values(_ReceiveZerosArray_values)
);
always_comb begin // combinatorial vs
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
vs = '{4'sdx, 4'sdx};
for(int _v0 = 0; _v0 < 2; _v0 = _v0 + 1) begin
vs[_v0] = 1'd0;
end
end
always_comb begin // combinatorial nums
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
nums = '{4'dx, 4'dx};
for(int _v0 = 0; _v0 < 2; _v0 = _v0 + 1) begin
nums[_v0] = _5[_v0];
end
end
always_comb begin // combinatorial sums
// Combinatorial wires are not defined when not valid. This is just so that the synthesis tool doesn't generate latches
sums = '{4'dx, 4'dx};
for(int _v0 = 0; _v0 < 2; _v0 = _v0 + 1) begin
sums[_v0] = _12[_v0];
end
end
endmodule // TestZerosArrays #()