-
Notifications
You must be signed in to change notification settings - Fork 0
/
a.out
884 lines (884 loc) · 21 KB
/
a.out
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
#! /usr/share/iverilog-0.10.0/bin/vvp
:ivl_version "0.10.0 (devel)" "(v0_9_6)";
:ivl_delay_selection "TYPICAL";
:vpi_time_precision - 12;
:vpi_module "system";
:vpi_module "vhdl_sys";
:vpi_module "v2005_math";
:vpi_module "va_math";
:vpi_module "v2009";
S_0xcaf470 .scope module, "test_Hex_Keypad" "test_Hex_Keypad" 2 3;
.timescale -9 -12;
P_0xcc8b20 .param/str "Key_0" 0 2 11, "Key_0";
P_0xcc8b60 .param/str "Key_1" 0 2 12, "Key_1";
P_0xcc8ba0 .param/str "Key_2" 0 2 13, "Key_2";
P_0xcc8be0 .param/str "Key_3" 0 2 14, "Key_3";
P_0xcc8c20 .param/str "Key_4" 0 2 15, "Key_4";
P_0xcc8c60 .param/str "Key_5" 0 2 16, "Key_5";
P_0xcc8ca0 .param/str "Key_6" 0 2 17, "Key_6";
P_0xcc8ce0 .param/str "Key_7" 0 2 18, "Key_7";
P_0xcc8d20 .param/str "Key_8" 0 2 19, "Key_8";
P_0xcc8d60 .param/str "Key_9" 0 2 20, "Key_9";
P_0xcc8da0 .param/str "Key_A" 0 2 21, "Key_A";
P_0xcc8de0 .param/str "Key_B" 0 2 22, "Key_B";
P_0xcc8e20 .param/str "Key_C" 0 2 23, "Key_C";
P_0xcc8e60 .param/str "Key_D" 0 2 24, "Key_D";
P_0xcc8ea0 .param/str "Key_E" 0 2 25, "Key_E";
P_0xcc8ee0 .param/str "Key_F" 0 2 26, "Key_F";
P_0xcc8f20 .param/str "None" 0 2 27, "\000None";
v0xce9d30_0 .net "Code", 3 0, v0xcb8bd0_0; 1 drivers
v0xce9e10_0 .net "Col", 3 0, v0xce7cf0_0; 1 drivers
v0xce9f00_0 .var "Key", 15 0;
v0xce9fd0_0 .var "Pressed", 39 0;
v0xcea090_0 .net "Row", 3 0, v0xce9440_0; 1 drivers
v0xcea1a0_0 .net "S_Row", 0 0, v0xce9a70_0; 1 drivers
v0xcea290_0 .net "Valid", 0 0, L_0xceb050; 1 drivers
v0xcea330_0 .var "clock", 0 0;
v0xcea420_0 .var/i "j", 31 0;
v0xcea570_0 .var/i "k", 31 0;
v0xcea650_0 .var "reset", 0 0;
E_0xcba080 .event edge, v0xce9380_0;
S_0xcaf5f0 .scope module, "M1" "Hex_Keypad_Grayhill_072" 2 52, 3 42 0, S_0xcaf470;
.timescale -9 -12;
.port_info 0 /INPUT 4 "Row"
.port_info 1 /INPUT 1 "S_Row"
.port_info 2 /INPUT 1 "clock"
.port_info 3 /INPUT 1 "reset"
.port_info 4 /OUTPUT 4 "Code"
.port_info 5 /OUTPUT 1 "Valid"
.port_info 6 /OUTPUT 4 "Col"
P_0xcad070 .param/l "S_0" 0 3 55, C4<000001>;
P_0xcad0b0 .param/l "S_1" 0 3 55, C4<000010>;
P_0xcad0f0 .param/l "S_2" 0 3 55, C4<000100>;
P_0xcad130 .param/l "S_3" 0 3 56, C4<001000>;
P_0xcad170 .param/l "S_4" 0 3 56, C4<010000>;
P_0xcad1b0 .param/l "S_5" 0 3 56, C4<100000>;
L_0xcea950 .functor OR 1, L_0xcea6f0, L_0xcea7e0, C4<0>, C4<0>;
L_0xceab50 .functor OR 1, L_0xcea950, L_0xceaa60, C4<0>, C4<0>;
L_0xcead90 .functor OR 1, L_0xceab50, L_0xceac60, C4<0>, C4<0>;
L_0xceb050 .functor AND 1, L_0xcead90, L_0xceaf20, C4<1>, C4<1>;
v0xcb8bd0_0 .var "Code", 3 0;
v0xce7cf0_0 .var "Col", 3 0;
v0xce7dd0_0 .net "Row", 3 0, v0xce9440_0; alias, 1 drivers
v0xce7ec0_0 .net "S_Row", 0 0, v0xce9a70_0; alias, 1 drivers
v0xce7f80_0 .net "Valid", 0 0, L_0xceb050; alias, 1 drivers
L_0x7fdbef6b8018 .functor BUFT 1, C4<000010>, C4<0>, C4<0>, C4<0>;
v0xce8090_0 .net/2u *"_s0", 5 0, L_0x7fdbef6b8018; 1 drivers
L_0x7fdbef6b80a8 .functor BUFT 1, C4<001000>, C4<0>, C4<0>, C4<0>;
v0xce8170_0 .net/2u *"_s10", 5 0, L_0x7fdbef6b80a8; 1 drivers
v0xce8250_0 .net *"_s12", 0 0, L_0xceaa60; 1 drivers
v0xce8310_0 .net *"_s14", 0 0, L_0xceab50; 1 drivers
L_0x7fdbef6b80f0 .functor BUFT 1, C4<010000>, C4<0>, C4<0>, C4<0>;
v0xce8460_0 .net/2u *"_s16", 5 0, L_0x7fdbef6b80f0; 1 drivers
v0xce8540_0 .net *"_s18", 0 0, L_0xceac60; 1 drivers
v0xce8600_0 .net *"_s2", 0 0, L_0xcea6f0; 1 drivers
v0xce86c0_0 .net *"_s20", 0 0, L_0xcead90; 1 drivers
L_0x7fdbef6b8138 .functor BUFT 1, C4<0000>, C4<0>, C4<0>, C4<0>;
v0xce8780_0 .net/2u *"_s22", 3 0, L_0x7fdbef6b8138; 1 drivers
v0xce8860_0 .net *"_s24", 0 0, L_0xceaf20; 1 drivers
L_0x7fdbef6b8060 .functor BUFT 1, C4<000100>, C4<0>, C4<0>, C4<0>;
v0xce8920_0 .net/2u *"_s4", 5 0, L_0x7fdbef6b8060; 1 drivers
v0xce8a00_0 .net *"_s6", 0 0, L_0xcea7e0; 1 drivers
v0xce8bb0_0 .net *"_s8", 0 0, L_0xcea950; 1 drivers
v0xce8c50_0 .net "clock", 0 0, v0xcea330_0; 1 drivers
v0xce8cf0_0 .var "next_state", 5 0;
v0xce8db0_0 .net "reset", 0 0, v0xcea650_0; 1 drivers
v0xce8e70_0 .var "state", 5 0;
E_0xcc03e0 .event edge, v0xce7dd0_0, v0xce7ec0_0, v0xce8e70_0;
E_0xcb9280 .event posedge, v0xce8db0_0, v0xce8c50_0;
E_0xcb9a20 .event edge, v0xce7cf0_0, v0xce7dd0_0;
L_0xcea6f0 .cmp/eq 6, v0xce8e70_0, L_0x7fdbef6b8018;
L_0xcea7e0 .cmp/eq 6, v0xce8e70_0, L_0x7fdbef6b8060;
L_0xceaa60 .cmp/eq 6, v0xce8e70_0, L_0x7fdbef6b80a8;
L_0xceac60 .cmp/eq 6, v0xce8e70_0, L_0x7fdbef6b80f0;
L_0xceaf20 .cmp/ne 4, v0xce9440_0, L_0x7fdbef6b8138;
S_0xce9070 .scope module, "M2" "Row_Signal" 2 53, 3 2 0, S_0xcaf470;
.timescale -9 -12;
.port_info 0 /INPUT 16 "Key"
.port_info 1 /INPUT 4 "Col"
.port_info 2 /OUTPUT 4 "Row"
v0xce92a0_0 .net "Col", 3 0, v0xce7cf0_0; alias, 1 drivers
v0xce9380_0 .net "Key", 15 0, v0xce9f00_0; 1 drivers
v0xce9440_0 .var "Row", 3 0;
E_0xcb9850 .event edge, v0xce7cf0_0, v0xce9380_0;
S_0xce95a0 .scope module, "M3" "Synchronizer" 2 54, 3 17 0, S_0xcaf470;
.timescale -9 -12;
.port_info 0 /INPUT 4 "Row"
.port_info 1 /INPUT 1 "clock"
.port_info 2 /INPUT 1 "reset"
.port_info 3 /OUTPUT 1 "S_Row"
v0xce9880_0 .var "A_Row", 0 0;
v0xce9960_0 .net "Row", 3 0, v0xce9440_0; alias, 1 drivers
v0xce9a70_0 .var "S_Row", 0 0;
v0xce9b40_0 .net "clock", 0 0, v0xcea330_0; alias, 1 drivers
v0xce9c10_0 .net "reset", 0 0, v0xcea650_0; alias, 1 drivers
E_0xce9840/0 .event negedge, v0xce8c50_0;
E_0xce9840/1 .event posedge, v0xce8db0_0;
E_0xce9840 .event/or E_0xce9840/0, E_0xce9840/1;
.scope S_0xcaf5f0;
T_0 ;
%wait E_0xcb9a20;
%load/v 8, v0xce7cf0_0, 4;
%load/v 12, v0xce7dd0_0, 4;
%cmpi/u 8, 17, 8;
%jmp/1 T_0.0, 6;
%cmpi/u 8, 18, 8;
%jmp/1 T_0.1, 6;
%cmpi/u 8, 20, 8;
%jmp/1 T_0.2, 6;
%cmpi/u 8, 24, 8;
%jmp/1 T_0.3, 6;
%cmpi/u 8, 33, 8;
%jmp/1 T_0.4, 6;
%cmpi/u 8, 34, 8;
%jmp/1 T_0.5, 6;
%cmpi/u 8, 36, 8;
%jmp/1 T_0.6, 6;
%cmpi/u 8, 40, 8;
%jmp/1 T_0.7, 6;
%cmpi/u 8, 65, 8;
%jmp/1 T_0.8, 6;
%cmpi/u 8, 66, 8;
%jmp/1 T_0.9, 6;
%cmpi/u 8, 68, 8;
%jmp/1 T_0.10, 6;
%cmpi/u 8, 72, 8;
%jmp/1 T_0.11, 6;
%cmpi/u 8, 129, 8;
%jmp/1 T_0.12, 6;
%cmpi/u 8, 130, 8;
%jmp/1 T_0.13, 6;
%cmpi/u 8, 132, 8;
%jmp/1 T_0.14, 6;
%cmpi/u 8, 136, 8;
%jmp/1 T_0.15, 6;
%set/v v0xcb8bd0_0, 0, 4;
%jmp T_0.17;
T_0.0 ;
%set/v v0xcb8bd0_0, 0, 4;
%jmp T_0.17;
T_0.1 ;
%movi 8, 1, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.2 ;
%movi 8, 2, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.3 ;
%movi 8, 3, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.4 ;
%movi 8, 4, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.5 ;
%movi 8, 5, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.6 ;
%movi 8, 6, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.7 ;
%movi 8, 7, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.8 ;
%movi 8, 8, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.9 ;
%movi 8, 9, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.10 ;
%movi 8, 10, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.11 ;
%movi 8, 11, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.12 ;
%movi 8, 12, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.13 ;
%movi 8, 13, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.14 ;
%movi 8, 14, 4;
%set/v v0xcb8bd0_0, 8, 4;
%jmp T_0.17;
T_0.15 ;
%set/v v0xcb8bd0_0, 1, 4;
%jmp T_0.17;
T_0.17 ;
%jmp T_0;
.thread T_0, $push;
.scope S_0xcaf5f0;
T_1 ;
%wait E_0xcb9280;
%load/v 8, v0xce8db0_0, 1;
%jmp/0xz T_1.0, 8;
%movi 8, 1, 6;
%ix/load 0, 6, 0;
%assign/v0 v0xce8e70_0, 0, 8;
%jmp T_1.1;
T_1.0 ;
%load/v 8, v0xce8cf0_0, 6;
%ix/load 0, 6, 0;
%assign/v0 v0xce8e70_0, 0, 8;
T_1.1 ;
%jmp T_1;
.thread T_1;
.scope S_0xcaf5f0;
T_2 ;
%wait E_0xcc03e0;
%load/v 8, v0xce8e70_0, 6;
%set/v v0xce8cf0_0, 8, 6;
%set/v v0xce7cf0_0, 0, 4;
%load/v 8, v0xce8e70_0, 6;
%cmpi/u 8, 1, 6;
%jmp/1 T_2.0, 6;
%cmpi/u 8, 2, 6;
%jmp/1 T_2.1, 6;
%cmpi/u 8, 4, 6;
%jmp/1 T_2.2, 6;
%cmpi/u 8, 8, 6;
%jmp/1 T_2.3, 6;
%cmpi/u 8, 16, 6;
%jmp/1 T_2.4, 6;
%cmpi/u 8, 32, 6;
%jmp/1 T_2.5, 6;
%jmp T_2.6;
T_2.0 ;
%set/v v0xce7cf0_0, 1, 4;
%load/v 8, v0xce7ec0_0, 1;
%jmp/0xz T_2.7, 8;
%movi 8, 2, 6;
%set/v v0xce8cf0_0, 8, 6;
T_2.7 ;
%jmp T_2.6;
T_2.1 ;
%movi 8, 1, 4;
%set/v v0xce7cf0_0, 8, 4;
%load/v 8, v0xce7dd0_0, 4;
%cmpi/u 8, 0, 4;
%inv 4, 1;
%jmp/0xz T_2.9, 4;
%movi 8, 32, 6;
%set/v v0xce8cf0_0, 8, 6;
%jmp T_2.10;
T_2.9 ;
%movi 8, 4, 6;
%set/v v0xce8cf0_0, 8, 6;
T_2.10 ;
%jmp T_2.6;
T_2.2 ;
%movi 8, 2, 4;
%set/v v0xce7cf0_0, 8, 4;
%load/v 8, v0xce7dd0_0, 4;
%cmpi/u 8, 0, 4;
%inv 4, 1;
%jmp/0xz T_2.11, 4;
%movi 8, 32, 6;
%set/v v0xce8cf0_0, 8, 6;
%jmp T_2.12;
T_2.11 ;
%movi 8, 8, 6;
%set/v v0xce8cf0_0, 8, 6;
T_2.12 ;
%jmp T_2.6;
T_2.3 ;
%movi 8, 4, 4;
%set/v v0xce7cf0_0, 8, 4;
%load/v 8, v0xce7dd0_0, 4;
%cmpi/u 8, 0, 4;
%inv 4, 1;
%jmp/0xz T_2.13, 4;
%movi 8, 32, 6;
%set/v v0xce8cf0_0, 8, 6;
%jmp T_2.14;
T_2.13 ;
%movi 8, 16, 6;
%set/v v0xce8cf0_0, 8, 6;
T_2.14 ;
%jmp T_2.6;
T_2.4 ;
%movi 8, 8, 4;
%set/v v0xce7cf0_0, 8, 4;
%load/v 12, v0xce7dd0_0, 4;
%cmpi/u 12, 0, 4;
%inv 4, 1;
%jmp/0xz T_2.15, 4;
%movi 12, 32, 6;
%set/v v0xce8cf0_0, 12, 6;
%jmp T_2.16;
T_2.15 ;
%movi 8, 1, 6;
%set/v v0xce8cf0_0, 8, 6;
T_2.16 ;
%jmp T_2.6;
T_2.5 ;
%set/v v0xce7cf0_0, 1, 4;
%load/v 8, v0xce7dd0_0, 4;
%pad 12, 0, 1;
%cmpi/u 8, 0, 5;
%jmp/0xz T_2.17, 4;
%movi 8, 1, 6;
%set/v v0xce8cf0_0, 8, 6;
T_2.17 ;
%jmp T_2.6;
T_2.6 ;
%jmp T_2;
.thread T_2, $push;
.scope S_0xce9070;
T_3 ;
%wait E_0xcb9850;
%load/v 8, v0xce9380_0, 1; Only need 1 of 16 bits
; Save base=8 wid=1 in lookaside.
%load/v 9, v0xce92a0_0, 1; Only need 1 of 4 bits
; Save base=9 wid=1 in lookaside.
%and 8, 9, 1;
%ix/load 1, 1, 0;
%mov 4, 0, 1;
%jmp/1 T_3.0, 4;
%load/x1p 9, v0xce9380_0, 1;
%jmp T_3.1;
T_3.0 ;
%mov 9, 2, 1;
T_3.1 ;
; Save base=9 wid=1 in lookaside.
%ix/load 1, 1, 0;
%mov 4, 0, 1;
%jmp/1 T_3.2, 4;
%load/x1p 10, v0xce92a0_0, 1;
%jmp T_3.3;
T_3.2 ;
%mov 10, 2, 1;
T_3.3 ;
; Save base=10 wid=1 in lookaside.
%and 9, 10, 1;
%or 8, 9, 1;
%ix/load 1, 2, 0;
%mov 4, 0, 1;
%jmp/1 T_3.4, 4;
%load/x1p 9, v0xce9380_0, 1;
%jmp T_3.5;
T_3.4 ;
%mov 9, 2, 1;
T_3.5 ;
; Save base=9 wid=1 in lookaside.
%ix/load 1, 2, 0;
%mov 4, 0, 1;
%jmp/1 T_3.6, 4;
%load/x1p 10, v0xce92a0_0, 1;
%jmp T_3.7;
T_3.6 ;
%mov 10, 2, 1;
T_3.7 ;
; Save base=10 wid=1 in lookaside.
%and 9, 10, 1;
%or 8, 9, 1;
%ix/load 1, 3, 0;
%mov 4, 0, 1;
%jmp/1 T_3.8, 4;
%load/x1p 9, v0xce9380_0, 1;
%jmp T_3.9;
T_3.8 ;
%mov 9, 2, 1;
T_3.9 ;
; Save base=9 wid=1 in lookaside.
%ix/load 1, 3, 0;
%mov 4, 0, 1;
%jmp/1 T_3.10, 4;
%load/x1p 10, v0xce92a0_0, 1;
%jmp T_3.11;
T_3.10 ;
%mov 10, 2, 1;
T_3.11 ;
; Save base=10 wid=1 in lookaside.
%and 9, 10, 1;
%or 8, 9, 1;
%ix/load 0, 0, 0;
%set/x0 v0xce9440_0, 8, 1;
%ix/load 1, 4, 0;
%mov 4, 0, 1;
%jmp/1 T_3.12, 4;
%load/x1p 8, v0xce9380_0, 1;
%jmp T_3.13;
T_3.12 ;
%mov 8, 2, 1;
T_3.13 ;
; Save base=8 wid=1 in lookaside.
%load/v 9, v0xce92a0_0, 1; Only need 1 of 4 bits
; Save base=9 wid=1 in lookaside.
%and 8, 9, 1;
%ix/load 1, 5, 0;
%mov 4, 0, 1;
%jmp/1 T_3.14, 4;
%load/x1p 9, v0xce9380_0, 1;
%jmp T_3.15;
T_3.14 ;
%mov 9, 2, 1;
T_3.15 ;
; Save base=9 wid=1 in lookaside.
%ix/load 1, 1, 0;
%mov 4, 0, 1;
%jmp/1 T_3.16, 4;
%load/x1p 10, v0xce92a0_0, 1;
%jmp T_3.17;
T_3.16 ;
%mov 10, 2, 1;
T_3.17 ;
; Save base=10 wid=1 in lookaside.
%and 9, 10, 1;
%or 8, 9, 1;
%ix/load 1, 6, 0;
%mov 4, 0, 1;
%jmp/1 T_3.18, 4;
%load/x1p 9, v0xce9380_0, 1;
%jmp T_3.19;
T_3.18 ;
%mov 9, 2, 1;
T_3.19 ;
; Save base=9 wid=1 in lookaside.
%ix/load 1, 2, 0;
%mov 4, 0, 1;
%jmp/1 T_3.20, 4;
%load/x1p 10, v0xce92a0_0, 1;
%jmp T_3.21;
T_3.20 ;
%mov 10, 2, 1;
T_3.21 ;
; Save base=10 wid=1 in lookaside.
%and 9, 10, 1;
%or 8, 9, 1;
%ix/load 1, 7, 0;
%mov 4, 0, 1;
%jmp/1 T_3.22, 4;
%load/x1p 9, v0xce9380_0, 1;
%jmp T_3.23;
T_3.22 ;
%mov 9, 2, 1;
T_3.23 ;
; Save base=9 wid=1 in lookaside.
%ix/load 1, 3, 0;
%mov 4, 0, 1;
%jmp/1 T_3.24, 4;
%load/x1p 10, v0xce92a0_0, 1;
%jmp T_3.25;
T_3.24 ;
%mov 10, 2, 1;
T_3.25 ;
; Save base=10 wid=1 in lookaside.
%and 9, 10, 1;
%or 8, 9, 1;
%ix/load 0, 1, 0;
%set/x0 v0xce9440_0, 8, 1;
%ix/load 1, 8, 0;
%mov 4, 0, 1;
%jmp/1 T_3.26, 4;
%load/x1p 8, v0xce9380_0, 1;
%jmp T_3.27;
T_3.26 ;
%mov 8, 2, 1;
T_3.27 ;
; Save base=8 wid=1 in lookaside.
%load/v 9, v0xce92a0_0, 1; Only need 1 of 4 bits
; Save base=9 wid=1 in lookaside.
%and 8, 9, 1;
%ix/load 1, 9, 0;
%mov 4, 0, 1;
%jmp/1 T_3.28, 4;
%load/x1p 9, v0xce9380_0, 1;
%jmp T_3.29;
T_3.28 ;
%mov 9, 2, 1;
T_3.29 ;
; Save base=9 wid=1 in lookaside.
%ix/load 1, 1, 0;
%mov 4, 0, 1;
%jmp/1 T_3.30, 4;
%load/x1p 10, v0xce92a0_0, 1;
%jmp T_3.31;
T_3.30 ;
%mov 10, 2, 1;
T_3.31 ;
; Save base=10 wid=1 in lookaside.
%and 9, 10, 1;
%or 8, 9, 1;
%ix/load 1, 10, 0;
%mov 4, 0, 1;
%jmp/1 T_3.32, 4;
%load/x1p 9, v0xce9380_0, 1;
%jmp T_3.33;
T_3.32 ;
%mov 9, 2, 1;
T_3.33 ;
; Save base=9 wid=1 in lookaside.
%ix/load 1, 2, 0;
%mov 4, 0, 1;
%jmp/1 T_3.34, 4;
%load/x1p 10, v0xce92a0_0, 1;
%jmp T_3.35;
T_3.34 ;
%mov 10, 2, 1;
T_3.35 ;
; Save base=10 wid=1 in lookaside.
%and 9, 10, 1;
%or 8, 9, 1;
%ix/load 1, 11, 0;
%mov 4, 0, 1;
%jmp/1 T_3.36, 4;
%load/x1p 9, v0xce9380_0, 1;
%jmp T_3.37;
T_3.36 ;
%mov 9, 2, 1;
T_3.37 ;
; Save base=9 wid=1 in lookaside.
%ix/load 1, 3, 0;
%mov 4, 0, 1;
%jmp/1 T_3.38, 4;
%load/x1p 10, v0xce92a0_0, 1;
%jmp T_3.39;
T_3.38 ;
%mov 10, 2, 1;
T_3.39 ;
; Save base=10 wid=1 in lookaside.
%and 9, 10, 1;
%or 8, 9, 1;
%ix/load 0, 2, 0;
%set/x0 v0xce9440_0, 8, 1;
%ix/load 1, 12, 0;
%mov 4, 0, 1;
%jmp/1 T_3.40, 4;
%load/x1p 8, v0xce9380_0, 1;
%jmp T_3.41;
T_3.40 ;
%mov 8, 2, 1;
T_3.41 ;
; Save base=8 wid=1 in lookaside.
%load/v 9, v0xce92a0_0, 1; Only need 1 of 4 bits
; Save base=9 wid=1 in lookaside.
%and 8, 9, 1;
%ix/load 1, 13, 0;
%mov 4, 0, 1;
%jmp/1 T_3.42, 4;
%load/x1p 9, v0xce9380_0, 1;
%jmp T_3.43;
T_3.42 ;
%mov 9, 2, 1;
T_3.43 ;
; Save base=9 wid=1 in lookaside.
%ix/load 1, 1, 0;
%mov 4, 0, 1;
%jmp/1 T_3.44, 4;
%load/x1p 10, v0xce92a0_0, 1;
%jmp T_3.45;
T_3.44 ;
%mov 10, 2, 1;
T_3.45 ;
; Save base=10 wid=1 in lookaside.
%and 9, 10, 1;
%or 8, 9, 1;
%ix/load 1, 14, 0;
%mov 4, 0, 1;
%jmp/1 T_3.46, 4;
%load/x1p 9, v0xce9380_0, 1;
%jmp T_3.47;
T_3.46 ;
%mov 9, 2, 1;
T_3.47 ;
; Save base=9 wid=1 in lookaside.
%ix/load 1, 2, 0;
%mov 4, 0, 1;
%jmp/1 T_3.48, 4;
%load/x1p 10, v0xce92a0_0, 1;
%jmp T_3.49;
T_3.48 ;
%mov 10, 2, 1;
T_3.49 ;
; Save base=10 wid=1 in lookaside.
%and 9, 10, 1;
%or 8, 9, 1;
%ix/load 1, 15, 0;
%mov 4, 0, 1;
%jmp/1 T_3.50, 4;
%load/x1p 9, v0xce9380_0, 1;
%jmp T_3.51;
T_3.50 ;
%mov 9, 2, 1;
T_3.51 ;
; Save base=9 wid=1 in lookaside.
%ix/load 1, 3, 0;
%mov 4, 0, 1;
%jmp/1 T_3.52, 4;
%load/x1p 10, v0xce92a0_0, 1;
%jmp T_3.53;
T_3.52 ;
%mov 10, 2, 1;
T_3.53 ;
; Save base=10 wid=1 in lookaside.
%and 9, 10, 1;
%or 8, 9, 1;
%ix/load 0, 3, 0;
%set/x0 v0xce9440_0, 8, 1;
%jmp T_3;
.thread T_3, $push;
.scope S_0xce95a0;
T_4 ;
%wait E_0xce9840;
%load/v 8, v0xce9c10_0, 1;
%jmp/0xz T_4.0, 8;
%ix/load 0, 1, 0;
%assign/v0 v0xce9880_0, 0, 0;
%ix/load 0, 1, 0;
%assign/v0 v0xce9a70_0, 0, 0;
%jmp T_4.1;
T_4.0 ;
%load/v 8, v0xce9960_0, 1; Only need 1 of 4 bits
; Save base=8 wid=1 in lookaside.
%ix/load 1, 1, 0;
%mov 4, 0, 1;
%jmp/1 T_4.2, 4;
%load/x1p 9, v0xce9960_0, 1;
%jmp T_4.3;
T_4.2 ;
%mov 9, 2, 1;
T_4.3 ;
; Save base=9 wid=1 in lookaside.
%or 8, 9, 1;
%ix/load 1, 2, 0;
%mov 4, 0, 1;
%jmp/1 T_4.4, 4;
%load/x1p 9, v0xce9960_0, 1;
%jmp T_4.5;
T_4.4 ;
%mov 9, 2, 1;
T_4.5 ;
; Save base=9 wid=1 in lookaside.
%or 8, 9, 1;
%ix/load 1, 3, 0;
%mov 4, 0, 1;
%jmp/1 T_4.6, 4;
%load/x1p 9, v0xce9960_0, 1;
%jmp T_4.7;
T_4.6 ;
%mov 9, 2, 1;
T_4.7 ;
; Save base=9 wid=1 in lookaside.
%or 8, 9, 1;
%ix/load 0, 1, 0;
%assign/v0 v0xce9880_0, 0, 8;
%load/v 8, v0xce9880_0, 1;
%ix/load 0, 1, 0;
%assign/v0 v0xce9a70_0, 0, 8;
T_4.1 ;
%jmp T_4;
.thread T_4;
.scope S_0xcaf470;
T_5 ;
%wait E_0xcba080;
%load/v 8, v0xce9f00_0, 16;
%cmpi/u 8, 0, 16;
%jmp/1 T_5.0, 6;
%cmpi/u 8, 1, 16;
%jmp/1 T_5.1, 6;
%cmpi/u 8, 2, 16;
%jmp/1 T_5.2, 6;
%cmpi/u 8, 4, 16;
%jmp/1 T_5.3, 6;
%cmpi/u 8, 8, 16;
%jmp/1 T_5.4, 6;
%cmpi/u 8, 16, 16;
%jmp/1 T_5.5, 6;
%cmpi/u 8, 32, 16;
%jmp/1 T_5.6, 6;
%cmpi/u 8, 64, 16;
%jmp/1 T_5.7, 6;
%cmpi/u 8, 128, 16;
%jmp/1 T_5.8, 6;
%cmpi/u 8, 256, 16;
%jmp/1 T_5.9, 6;
%cmpi/u 8, 512, 16;
%jmp/1 T_5.10, 6;
%cmpi/u 8, 1024, 16;
%jmp/1 T_5.11, 6;
%cmpi/u 8, 2048, 16;
%jmp/1 T_5.12, 6;
%cmpi/u 8, 4096, 16;
%jmp/1 T_5.13, 6;
%cmpi/u 8, 8192, 16;
%jmp/1 T_5.14, 6;
%cmpi/u 8, 16384, 16;
%jmp/1 T_5.15, 6;
%cmpi/u 8, 32768, 16;
%jmp/1 T_5.16, 6;
%movi 8, 1315925605, 32;
%movi 40, 0, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.0 ;
%movi 8, 1315925605, 32;
%movi 40, 0, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.1 ;
%movi 8, 1702453040, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.2 ;
%movi 8, 1702453041, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.3 ;
%movi 8, 1702453042, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.4 ;
%movi 8, 1702453043, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.5 ;
%movi 8, 1702453044, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.6 ;
%movi 8, 1702453045, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.7 ;
%movi 8, 1702453046, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.8 ;
%movi 8, 1702453047, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.9 ;
%movi 8, 1702453048, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.10 ;
%movi 8, 1702453049, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.11 ;
%movi 8, 1702453057, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.12 ;
%movi 8, 1702453058, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.13 ;
%movi 8, 1702453059, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.14 ;
%movi 8, 1702453060, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.15 ;
%movi 8, 1702453061, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.16 ;
%movi 8, 1702453062, 32;
%movi 40, 75, 8;
%set/v v0xce9fd0_0, 8, 40;
%jmp T_5.18;
T_5.18 ;
%jmp T_5;
.thread T_5, $push;
.scope S_0xcaf470;
T_6 ;
%vpi_call/w 2 58 "$dumpfile", "dump.vcd" {0 0};
%vpi_call/w 2 59 "$dumpvars", 1'sb0 {0 0};
%end;
.thread T_6;
.scope S_0xcaf470;
T_7 ;
%delay 2000000, 0;
%vpi_call/w 2 64 "$finish" {0 0};
%end;
.thread T_7;
.scope S_0xcaf470;
T_8 ;
%set/v v0xcea330_0, 0, 1;
T_8.0 ;
%delay 5000, 0;
%load/v 8, v0xcea330_0, 1;
%inv 8, 1;
%set/v v0xcea330_0, 8, 1;
%jmp T_8.0;
%end;
.thread T_8;
.scope S_0xcaf470;
T_9 ;
%set/v v0xcea650_0, 1, 1;
%delay 10000, 0;
%set/v v0xcea650_0, 0, 1;
%end;
.thread T_9;
.scope S_0xcaf470;
T_10 ;
%set/v v0xcea570_0, 0, 32;
T_10.0 ;
%load/v 8, v0xcea570_0, 32;
%cmpi/s 8, 1, 32;
%or 5, 4, 1;
%jmp/0xz T_10.1, 5;
%set/v v0xce9f00_0, 0, 16;
%delay 20000, 0;
%set/v v0xcea420_0, 0, 32;
T_10.2 ;
%load/v 8, v0xcea420_0, 32;
%cmpi/s 8, 16, 32;
%or 5, 4, 1;
%jmp/0xz T_10.3, 5;
%delay 20000, 0;
%ix/getv/s 0, v0xcea420_0;
%jmp/1 t_0, 4;
%set/x0 v0xce9f00_0, 1, 1;
t_0 ;
%delay 60000, 0;
%set/v v0xce9f00_0, 0, 16;
%ix/load 0, 1, 0;
%load/vp0/s 8, v0xcea420_0, 32;
%set/v v0xcea420_0, 8, 32;
%jmp T_10.2;
T_10.3 ;
%ix/load 0, 1, 0;
%load/vp0/s 8, v0xcea570_0, 32;
%set/v v0xcea570_0, 8, 32;
%jmp T_10.0;
T_10.1 ;
%end;
.thread T_10;
# The file index is used to find the file name in the following table.
:file_names 4;
"N/A";
"<interactive>";
"testbench.sv";
"design.sv";