-
Notifications
You must be signed in to change notification settings - Fork 4
/
test.sus_errors.txt
1330 lines (1312 loc) · 66 KB
/
test.sus_errors.txt
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
Warning: Unused port 'push'
╭─[/home/lennart/.sus/0.2.0-devel/stl/util.sus:86:2]
│
48 │ interface push : bool push'READY_SLACK, T data_in'READY_SLACK
│ ──┬─
│ ╰─── Port 'push' declared here
│
86 │ FIFO #(DEPTH: 3, READY_SLACK: 5, T: type int) f
│ ──────────────────────┬────────────────────── ┬
│ ╰────────────────────────── Unused port 'push'
│ │
│ ╰── f declared here
────╯
Warning: Unused port 'data_in'
╭─[/home/lennart/.sus/0.2.0-devel/stl/util.sus:86:2]
│
48 │ interface push : bool push'READY_SLACK, T data_in'READY_SLACK
│ ───┬───
│ ╰───── Port 'data_in' declared here
│
86 │ FIFO #(DEPTH: 3, READY_SLACK: 5, T: type int) f
│ ──────────────────────┬────────────────────── ┬
│ ╰────────────────────────── Unused port 'data_in'
│ │
│ ╰── f declared here
────╯
Warning: Unused port 'ready'
╭─[/home/lennart/.sus/0.2.0-devel/stl/util.sus:86:2]
│
50 │ output bool ready'0
│ ──┬──
│ ╰──── Port 'ready' declared here
│
86 │ FIFO #(DEPTH: 3, READY_SLACK: 5, T: type int) f
│ ──────────────────────┬────────────────────── ┬
│ ╰────────────────────────── Unused port 'ready'
│ │
│ ╰── f declared here
────╯
Warning: Unused port 'pop'
╭─[/home/lennart/.sus/0.2.0-devel/stl/util.sus:86:2]
│
53 │ interface pop : bool pop -> bool data_valid, T data_out
│ ─┬─
│ ╰─── Port 'pop' declared here
│
86 │ FIFO #(DEPTH: 3, READY_SLACK: 5, T: type int) f
│ ──────────────────────┬────────────────────── ┬
│ ╰────────────────────────── Unused port 'pop'
│ │
│ ╰── f declared here
────╯
Warning: Unused port 'data_valid'
╭─[/home/lennart/.sus/0.2.0-devel/stl/util.sus:86:2]
│
53 │ interface pop : bool pop -> bool data_valid, T data_out
│ ─────┬────
│ ╰────── Port 'data_valid' declared here
│
86 │ FIFO #(DEPTH: 3, READY_SLACK: 5, T: type int) f
│ ──────────────────────┬────────────────────── ┬
│ ╰────────────────────────── Unused port 'data_valid'
│ │
│ ╰── f declared here
────╯
Warning: Unused port 'data_out'
╭─[/home/lennart/.sus/0.2.0-devel/stl/util.sus:86:2]
│
53 │ interface pop : bool pop -> bool data_valid, T data_out
│ ────┬───
│ ╰───── Port 'data_out' declared here
│
86 │ FIFO #(DEPTH: 3, READY_SLACK: 5, T: type int) f
│ ──────────────────────┬────────────────────── ┬
│ ╰────────────────────────── Unused port 'data_out'
│ │
│ ╰── f declared here
────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[/home/lennart/.sus/0.2.0-devel/stl/util.sus:190:10]
│
190 │ int[20] arr
│ ─┬─
│ ╰─── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[/home/lennart/.sus/0.2.0-devel/stl/util.sus:192:9]
│
192 │ int[5] subArr = Slice #(SIZE: 20, OUT_SIZE: 5, FROM: 3, T: type int)(arr)
│ ───┬──
│ ╰──── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[/home/lennart/.sus/0.2.0-devel/stl/core.sus:3:43]
│
3 │ __builtin__ module LatencyOffset #(T, int OFFSET) {
│ ───┬──
│ ╰──── Unused Variable: This variable does not affect the output ports of this module
───╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[/home/lennart/.sus/0.2.0-devel/stl/core.sus:4:33]
│
4 │ interface LatencyOffset : T in'0 -> T out'OFFSET
│ ─┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
───╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[/home/lennart/.sus/0.2.0-devel/stl/core.sus:9:29]
│
9 │ interface in_domain : T in'0
│ ─┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
───╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[/home/lennart/.sus/0.2.0-devel/stl/core.sus:15:31]
│
15 │ interface IntToBits : int value'0 -> bool[32] bits'0
│ ──┬──
│ ╰──── Unused Variable: This variable does not affect the output ports of this module
────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[/home/lennart/.sus/0.2.0-devel/stl/core.sus:19:36]
│
19 │ interface IntToBits : bool[32] bits'0 -> int value'0
│ ──┬─
│ ╰─── Unused Variable: This variable does not affect the output ports of this module
────╯
Error: 'contains_submodule_submodule' conflicts with other declarations:
╭─[test.sus:441:8]
│
441 │ module contains_submodule_submodule {
│ ──────────────┬─────────────
│ ╰─────────────── 'contains_submodule_submodule' conflicts with other declarations:
│
597 │ module contains_submodule_submodule {
│ ──────────────┬─────────────
│ ╰─────────────── Conflicts with
─────╯
Error: 'contains_submodule_submodule' conflicts with other declarations:
╭─[test.sus:597:8]
│
441 │ module contains_submodule_submodule {
│ ──────────────┬─────────────
│ ╰─────────────── Conflicts with
│
597 │ module contains_submodule_submodule {
│ ──────────────┬─────────────
│ ╰─────────────── 'contains_submodule_submodule' conflicts with other declarations:
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:26:6]
│
26 │ int a = pow17(2)
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:60:10]
│
60 │ gen int a
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:62:11]
│
62 │ gen bool b = true
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:63:11]
│
63 │ gen bool bb = false
│ ─┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:115:10]
│
115 │ gen int A = 1
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Error: 'i' is read-only
╭─[test.sus:159:11]
│
142 │ interface generative : int i -> int o, int o2
│ ┬
│ ╰── 'i' declared here
│
159 │ if test {i = 5}
│ ┬
│ ╰── 'i' is read-only
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:144:13]
│
144 │ gen int[x] ys
│ ─┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:148:13]
│
148 │ gen int[3] ps
│ ─┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:155:13]
│
155 │ gen int[3] xx = a
│ ─┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:178:15]
│
178 │ state int[3] st
│ ─┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:179:7]
│
179 │ bool b
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:180:10]
│
180 │ reg int a, st[2], reg reg b = assignment_producer()
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Error: Latency Counting couldn't reach this node
╭─[test.sus:179:2]
│
179 │ bool b
│ ───┬──
│ ╰──── Latency Counting couldn't reach this node
─────╯
Error: Latency Counting couldn't reach this node
╭─[test.sus:180:6]
│
180 │ reg int a, st[2], reg reg b = assignment_producer()
│ ──┬──
│ ╰──── Latency Counting couldn't reach this node
─────╯
Error: No Global of the name 'multiply' was found. Did you forget to import it?
╭─[test.sus:219:17]
│
219 │ int tmp'1 = multiply(a, b)
│ ────┬───
│ ╰───── No Global of the name 'multiply' was found. Did you forget to import it?
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:218:49]
│
218 │ interface multiply_add_with_latencies : int a'0, int b'0, int c'0 -> int r'0
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:218:58]
│
218 │ interface multiply_add_with_latencies : int a'0, int b'0, int c'0 -> int r'0
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:224:43]
│
224 │ interface first_bit_idx_24 : bool[24] bits -> int first
│ ──┬─
│ ╰─── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:225:9]
│
225 │ int[4] offsets
│ ───┬───
│ ╰───── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:226:10]
│
226 │ bool[4] was_nonzeros
│ ──────┬─────
│ ╰─────── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:228:10]
│
228 │ for int i in 0..4 {
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:229:11]
│
229 │ bool[6] these_bits
│ ─────┬────
│ ╰────── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:230:11]
│
230 │ for int j in 0..6 {
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:234:7]
│
234 │ int offset, bool was_nonzero = first_bit_idx_6(these_bits)
│ ───┬──
│ ╰──── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:234:20]
│
234 │ int offset, bool was_nonzero = first_bit_idx_6(these_bits)
│ ─────┬─────
│ ╰─────── Unused Variable: This variable does not affect the output ports of this module
─────╯
Error: Pre-emptive error because latency-unspecified 'first' is never written to.
(This is because work-in-progress code would get a lot of latency counting errors while unfinished)
╭─[test.sus:224:55]
│
224 │ interface first_bit_idx_24 : bool[24] bits -> int first
│ ──┬──
│ ╰──── Pre-emptive error because latency-unspecified 'first' is never written to.
(This is because work-in-progress code would get a lot of latency counting errors while unfinished)
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:241:44]
│
241 │ interface permute : bool[128] mbf, int selected_permutation -> bool[128] permuted_mbf
│ ──────────┬─────────
│ ╰─────────── Unused Variable: This variable does not affect the output ports of this module
─────╯
Error: Latency Counting couldn't reach this node
╭─[test.sus:241:40]
│
241 │ interface permute : bool[128] mbf, int selected_permutation -> bool[128] permuted_mbf
│ ────────────┬───────────
│ ╰───────────── Latency Counting couldn't reach this node
─────╯
Error: Function call syntax is only possible on modules or interfaces of modules
╭─[test.sus:267:2]
│
267 │ aaaaa()
│ ──┬──
│ ╰──── Function call syntax is only possible on modules or interfaces of modules
─────╯
Error: Typing Error: connection expects a ::bool[] but was given a ::int
╭─[test.sus:250:41]
│
250 │ state bool[24] stored_valid_permutes = 000000000000000000000000
│ ──────────┬────────── ────────────┬───────────
│ ╰─────────────────────────────────────── 'stored_valid_permutes' declared here
│ │
│ ╰───────────── Typing Error: connection expects a ::bool[] but was given a ::int
─────╯
Error: Typing Error: binop left side expects a ::bool but was given a ::bool[]
╭─[test.sus:263:26]
│
263 │ stored_valid_permutes = stored_valid_permutes & permutes_to_keep
│ ──────────┬──────────
│ ╰──────────── Typing Error: binop left side expects a ::bool but was given a ::bool[]
─────╯
Error: Typing Error: binop right side expects a ::bool but was given a ::bool[]
╭─[test.sus:263:50]
│
263 │ stored_valid_permutes = stored_valid_permutes & permutes_to_keep
│ ────────┬───────
│ ╰───────── Typing Error: binop right side expects a ::bool but was given a ::bool[]
─────╯
Error: Typing Error: connection expects a ::bool[] but was given a ::bool
╭─[test.sus:263:26]
│
250 │ state bool[24] stored_valid_permutes = 000000000000000000000000
│ ──────────┬──────────
│ ╰──────────── 'stored_valid_permutes' declared here
│
263 │ stored_valid_permutes = stored_valid_permutes & permutes_to_keep
│ ────────────────────┬───────────────────
│ ╰───────────────────── Typing Error: connection expects a ::bool[] but was given a ::bool
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:248:37]
│
248 │ interface permute24 : bool[128] mbf, bool[24] valid_permutes, bool start -> bool[128] permuted_out, bool permuted_out_valid
│ ─┬─
│ ╰─── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:248:51]
│
248 │ interface permute24 : bool[128] mbf, bool[24] valid_permutes, bool start -> bool[128] permuted_out, bool permuted_out_valid
│ ───────┬──────
│ ╰──────── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:248:72]
│
248 │ interface permute24 : bool[128] mbf, bool[24] valid_permutes, bool start -> bool[128] permuted_out, bool permuted_out_valid
│ ──┬──
│ ╰──── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:252:10]
│
252 │ gen int aaaaa = 5
│ ──┬──
│ ╰──── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:278:50]
│
278 │ interface disjoint_ports : int a, int b, int c -> int result
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Error: Latency Counting couldn't reach this node
╭─[test.sus:278:46]
│
278 │ interface disjoint_ports : int a, int b, int c -> int result
│ ──┬──
│ ╰──── Latency Counting couldn't reach this node
─────╯
Error: Cannot determine port latency. Options are 1 and 2
Try specifying an explicit latency or rework the module to remove this ambiguity
╭─[test.sus:284:74]
│
284 │ interface undeteriminable_input_latency : int a, int b -> int x, int y
│ ┬
│ ╰── Cannot determine port latency. Options are 1 and 2
Try specifying an explicit latency or rework the module to remove this ambiguity
─────╯
Error: Conflicting specified latency
a'0
-> nio'1 (+1)
-> x'2 (+1)
But this was specified as x'1
╭─[test.sus:325:67]
│
325 │ interface conflicting_latency_declarations : int a'0 -> int x'1
│ ┬ ┬
│ ╰─────────────── 'a' declared here
│ │
│ ╰── Conflicting specified latency
a'0
-> nio'1 (+1)
-> x'2 (+1)
But this was specified as x'1
─────╯
Error: This register is part of a net-positive latency cycle of +1
state_reg'1
-> state_reg'2 (+1)
Which conflicts with the starting latency
╭─[test.sus:337:2]
│
337 │ reg state_reg = state_reg + a
│ ─┬─
│ ╰─── This register is part of a net-positive latency cycle of +1
state_reg'1
-> state_reg'2 (+1)
Which conflicts with the starting latency
─────╯
Error: This write is part of a net-positive latency cycle of +5
_1_i'0
-> test'5 (+5)
-> _1_i'5 (+0)
Which conflicts with the starting latency
╭─[test.sus:363:2]
│
363 │ test = module_taking_time(test+a)
│ ──┬─
│ ╰─── This write is part of a net-positive latency cycle of +5
_1_i'0
-> test'5 (+5)
-> _1_i'5 (+0)
Which conflicts with the starting latency
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:375:36]
│
375 │ interface offset_latency : int i'0 -> int o'-5
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:393:32]
│
393 │ interface input_only : int i
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:394:12]
│
394 │ state int loop
│ ──┬─
│ ╰─── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:400:42]
│
400 │ interface multiple_inputs_only : int i, int i2
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:400:49]
│
400 │ interface multiple_inputs_only : int i, int i2
│ ─┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:401:12]
│
401 │ state int loop
│ ──┬─
│ ╰─── Unused Variable: This variable does not affect the output ports of this module
─────╯
Error: Latency Counting couldn't reach this node
╭─[test.sus:415:49]
│
415 │ interface multiple_outputs_only : -> int o, int o2
│ ───┬──
│ ╰──── Latency Counting couldn't reach this node
─────╯
Error: ::doNothing does not have a main interface. You should explicitly specify an interface to access
╭─[test.sus:445:2]
│
431 │ module doNothing {}
│ ────┬────
│ ╰────── Module 'doNothing' defined here. module ::doNothing #():
│
445 │ doNothing()
│ ────┬────
│ ╰────── ::doNothing does not have a main interface. You should explicitly specify an interface to access
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:462:7]
│
462 │ bool b = xor(true, false)
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Error: ::doNothing does not have a main interface. You should explicitly specify an interface to access
╭─[test.sus:601:2]
│
431 │ module doNothing {}
│ ────┬────
│ ╰────── Module 'doNothing' defined here. module ::doNothing #():
│
601 │ doNothing()
│ ────┬────
│ ╰────── ::doNothing does not have a main interface. You should explicitly specify an interface to access
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:608:22]
│
608 │ interface in : bool i'0
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:613:21]
│
613 │ interface in : int i'0
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:619:31]
│
619 │ interface in : bool[20][512] i'0
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:625:39]
│
625 │ interface offset_backwards : bool i'0 -> bool o'-5
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:651:11]
│
651 │ bool[20] data
│ ──┬─
│ ╰─── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:653:7]
│
653 │ bool valid, bool[20] data2 = fiii.pop(true)
│ ──┬──
│ ╰──── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:653:23]
│
653 │ bool valid, bool[20] data2 = fiii.pop(true)
│ ──┬──
│ ╰──── Unused Variable: This variable does not affect the output ports of this module
─────╯
Error: Could not fully instantiate ::FIFO #(
T: type ::bool[20] /* inferred */,
DEPTH: /* Could not infer */
READY_SLACK: /* Could not infer */
)
╭─[test.sus:649:7]
│
649 │ FIFO fiii
│ ──┬─
│ ╰─── Could not fully instantiate ::FIFO #(
T: type ::bool[20] /* inferred */,
DEPTH: /* Could not infer */
READY_SLACK: /* Could not infer */
)
─────╯
Error: Pre-emptive error because latency-unspecified 'o' is never written to.
(This is because work-in-progress code would get a lot of latency counting errors while unfinished)
╭─[test.sus:648:33]
│
648 │ interface use_fifo : -> int o
│ ┬
│ ╰── Pre-emptive error because latency-unspecified 'o' is never written to.
(This is because work-in-progress code would get a lot of latency counting errors while unfinished)
─────╯
Error: MIN is not a valid template argument of ::int
╭─[test.sus:672:8]
│
672 │ int #(MIN: 0, MAX: 199) my_int
│ ─┬─
│ ╰─── MIN is not a valid template argument of ::int
│
├─[/home/lennart/.sus/0.2.0-devel/stl/core.sus:28:20]
│
28 │ __builtin__ struct int {}
│ ─┬─
│ ╰─── 'int' defined here
─────╯
Error: MAX is not a valid template argument of ::int
╭─[test.sus:672:16]
│
672 │ int #(MIN: 0, MAX: 199) my_int
│ ─┬─
│ ╰─── MAX is not a valid template argument of ::int
│
├─[/home/lennart/.sus/0.2.0-devel/stl/core.sus:28:20]
│
28 │ __builtin__ struct int {}
│ ─┬─
│ ╰─── 'int' defined here
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:659:43]
│
659 │ interface test_separated_domain : int main
│ ──┬─
│ ╰─── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:660:6]
│
660 │ int domain2
│ ───┬───
│ ╰───── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:662:6]
│
662 │ int domain3
│ ───┬───
│ ╰───── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:664:6]
│
664 │ int domain4
│ ───┬───
│ ╰───── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:670:6]
│
670 │ int domain5
│ ───┬───
│ ╰───── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:672:26]
│
672 │ int #(MIN: 0, MAX: 199) my_int
│ ───┬──
│ ╰──── Unused Variable: This variable does not affect the output ports of this module
─────╯
Error: ::no_port_module does not have a main interface. You should explicitly specify an interface to access
╭─[test.sus:678:2]
│
675 │ module no_port_module {}
│ ───────┬──────
│ ╰──────── Module 'no_port_module' defined here. module ::no_port_module #():
│
678 │ no_port_module()
│ ───────┬──────
│ ╰──────── ::no_port_module does not have a main interface. You should explicitly specify an interface to access
─────╯
Error: ::no_port_module does not have a main interface. You should explicitly specify an interface to access
╭─[test.sus:681:10]
│
675 │ module no_port_module {}
│ ───────┬──────
│ ╰──────── Module 'no_port_module' defined here. module ::no_port_module #():
│
681 │ int x = no_port()
│ ───┬───
│ ╰───── ::no_port_module does not have a main interface. You should explicitly specify an interface to access
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:681:6]
│
681 │ int x = no_port()
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:686:21]
│
686 │ interface v : int a -> int b
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Error: This value is non-generative, yet it is being assigned to a generative value
╭─[test.sus:701:6]
│
701 │ b = a
│ ┬ ┬
│ ╰────── This object is generative
│ │
│ ╰── This value is non-generative, yet it is being assigned to a generative value
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:691:6]
│
691 │ int a
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:693:10]
│
693 │ gen int b
│ ┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: The result of this operation is not used
╭─[test.sus:707:2]
│
707 │ mm.a
│ ──┬─
│ ╰─── The result of this operation is not used
─────╯
Error: Port 'a' is used, but the instantiated module has this port disabled
╭─[test.sus:707:5]
│
686 │ interface v : int a -> int b
│ ┬
│ ╰── Port 'a' declared here
│
705 │ mod_with_unused_interface mm
│ ─┬
│ ╰── mm declared here
│
707 │ mm.a
│ ┬
│ ╰── Port 'a' is used, but the instantiated module has this port disabled
─────╯
Error: Could not finalize this type, some parameters were still unknown: {concrete_type_variable_0}
╭─[test.sus:705:2]
│
705 │ mod_with_unused_interface mm
│ ────────────┬────────────
│ ╰────────────── Could not finalize this type, some parameters were still unknown: {concrete_type_variable_0}
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:750:30]
│
750 │ interface sumUpTo : bool start
│ ──┬──
│ ╰──── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:756:7]
│
756 │ bool re = sdf.ready
│ ─┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:758:7]
│
758 │ bool iter_valid, int iter_index = sdf.iter()
│ ─────┬────
│ ╰────── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:758:23]
│
758 │ bool iter_valid, int iter_index = sdf.iter()
│ ─────┬────
│ ╰────── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:760:7]
│
760 │ int idx = iter_index
│ ─┬─
│ ╰─── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:763:6]
│
763 │ int beep
│ ──┬─
│ ╰─── Unused Variable: This variable does not affect the output ports of this module
─────╯
Error: beep is not a valid template argument of ::int
╭─[test.sus:767:30]
│
767 │ interface test : ::int #(beep: 20 > 3, BEEP: int) ab
│ ──┬─
│ ╰─── beep is not a valid template argument of ::int
│
├─[/home/lennart/.sus/0.2.0-devel/stl/core.sus:28:20]
│
28 │ __builtin__ struct int {}
│ ─┬─
│ ╰─── 'int' defined here
─────╯
Error: BEEP is not a valid template argument of ::int
╭─[test.sus:767:44]
│
767 │ interface test : ::int #(beep: 20 > 3, BEEP: int) ab
│ ──┬─
│ ╰─── BEEP is not a valid template argument of ::int
│
├─[/home/lennart/.sus/0.2.0-devel/stl/core.sus:28:20]
│
28 │ __builtin__ struct int {}
│ ─┬─
│ ╰─── 'int' defined here
─────╯
Error: ::int is not a named wire: local or constant, it is a Struct instead!
╭─[test.sus:767:50]
│
767 │ interface test : ::int #(beep: 20 > 3, BEEP: int) ab
│ ─┬─
│ ╰─── ::int is not a named wire: local or constant, it is a Struct instead!
│
├─[/home/lennart/.sus/0.2.0-devel/stl/core.sus:28:20]
│
28 │ __builtin__ struct int {}
│ ─┬─
│ ╰─── Defined here
─────╯
Error: Template arguments must be known at compile-time!
╭─[test.sus:767:50]
│
767 │ interface test : ::int #(beep: 20 > 3, BEEP: int) ab
│ ─┬─
│ ╰─── Template arguments must be known at compile-time!
─────╯
Error: BITWIDTH is not a valid template argument of ::FIFO
╭─[test.sus:775:9]
│
775 │ FIFO #(BITWIDTH: 4) badoop
│ ────┬───
│ ╰───── BITWIDTH is not a valid template argument of ::FIFO
│
├─[/home/lennart/.sus/0.2.0-devel/stl/util.sus:35:8]
│
35 │ module FIFO #(
│ ──┬─
│ ╰─── 'FIFO' defined here
─────╯
Error: 'MY_INPUT' is read-only
╭─[test.sus:769:2]
│
766 │ module test #(T, int MY_INPUT) {
│ ────┬───
│ ╰───── 'MY_INPUT' declared here
│
769 │ MY_INPUT = 3
│ ────┬───
│ ╰───── 'MY_INPUT' is read-only
─────╯
Error: 'beep' is read-only
╭─[test.sus:773:2]
│
771 │ input int beep
│ ──┬─
│ ╰─── 'beep' declared here
│
773 │ beep = 3
│ ──┬─
│ ╰─── 'beep' is read-only
─────╯
Error: Could not fully figure out the type of this object. type_variable_4
╭─[test.sus:767:50]
│
767 │ interface test : ::int #(beep: 20 > 3, BEEP: int) ab
│ ─┬─
│ ╰─── Could not fully figure out the type of this object. type_variable_4
─────╯
Error: Could not fully figure out the type of this object. type_variable_12
╭─[test.sus:775:2]
│
775 │ FIFO #(BITWIDTH: 4) badoop
│ ─────────┬─────────
│ ╰─────────── Could not fully figure out the type of this object. type_variable_12
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:766:22]
│
766 │ module test #(T, int MY_INPUT) {
│ ────┬───
│ ╰───── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:767:55]
│
767 │ interface test : ::int #(beep: 20 > 3, BEEP: int) ab
│ ─┬
│ ╰── Unused Variable: This variable does not affect the output ports of this module
─────╯
Warning: Unused Variable: This variable does not affect the output ports of this module
╭─[test.sus:771:12]
│
771 │ input int beep
│ ──┬─
│ ╰─── Unused Variable: This variable does not affect the output ports of this module
─────╯
Error: Could not fully figure out the type of this object. type_variable_1
╭─[test.sus:779:2]
│
779 │ test #(MY_INPUT: 3) test_mod
│ ─────────┬─────────
│ ╰─────────── Could not fully figure out the type of this object. type_variable_1
─────╯
Warning: Unused port 'o'
╭─[test.sus:791:2]
│
786 │ output int o = beep
│ ┬
│ ╰── Port 'o' declared here
│
791 │ tinyTestMod #(beep: 3) a
│ ───────────┬────────── ┬
│ ╰────────────── Unused port 'o'
│ │
│ ╰── a declared here
─────╯
Warning: Unused port 'o'
╭─[test.sus:792:2]
│
786 │ output int o = beep
│ ┬
│ ╰── Port 'o' declared here
│
792 │ tinyTestMod #(beep: 4) b
│ ───────────┬────────── ┬
│ ╰────────────── Unused port 'o'
│ │