-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.txt
1009 lines (806 loc) · 71 KB
/
outputs.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
1.1
Total number of cycles: 93
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 8
Memory content at the end of the execution:
1000-1003: 25
1600-1603: 40
2000-2003: 140
2540-2543: 5
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: addi $t0, $t0, 5 $t0 = 5 N.A. N.A. 0
cycle 2: addi $t5, $t5, 4 $t5 = 4 N.A. N.A. 4
cycle 3: add $t1, $zero, $t0 $t1 = 5 N.A. N.A. 8
cycle 4: addi $t2, $t2, 40 $t2 = 40 N.A. N.A. 12
cycle 5: mul $t1, $t1, $t0 $t1 = 25 N.A. N.A. 16
cycle 6: sw $t2, 1600($zero) N.A. DRAM request issued for sw $t2, 1600($zero) N.A. N.A
cycle 7-16: sw $t2, 1600($zero) N.A. Activated row 1 N.A. N.A
cycle 17-18: sw $t2, 1600($zero) N.A. Column access 576 memory address 1600-1603=40 24
cycle 19: lw $t3, 1600($zero) N.A. DRAM request issued for lw $t3, 1600($zero) N.A. N.A
cycle 20-21: lw $t3, 1600($zero) N.A. Column access 576 $t3 = 40 28
cycle 22: addi $t3, $t3, 100 $t3 = 140 DRAM request issued for sw $t1, 1000($zero) N.A. 32
cycle 23-32: sw $t1, 1000($zero) N.A. Writeback row 1 N.A. N.A
cycle 33-42: sw $t1, 1000($zero) N.A. Activated row 0 N.A. N.A
cycle 43-44: sw $t1, 1000($zero) N.A. Column access 1000 memory address 1000-1003=25 20
cycle 45: sw $t3, 2000($zero) N.A. DRAM request issued for sw $t3, 2000($zero) N.A. N.A
cycle 46-55: sw $t3, 2000($zero) N.A. Writeback row 0 N.A. N.A
cycle 56-65: sw $t3, 2000($zero) N.A. Activated row 1 N.A. N.A
cycle 66-67: sw $t3, 2000($zero) N.A. Column access 976 memory address 2000-2003=140 36
cycle 68: lw $t5, 2000($zero) N.A. DRAM request issued for lw $t5, 2000($zero) N.A. N.A
cycle 69-70: lw $t5, 2000($zero) N.A. Column access 976 $t5 = 140 40
cycle 71: addi $t0, $t0, 20 $t0 = 25 DRAM request issued for sw $t0, 2400($t5) N.A. 48
cycle 72-81: sw $t0, 2400($t5) N.A. Writeback row 1 N.A. N.A
cycle 82-91: sw $t0, 2400($t5) N.A. Activated row 2 N.A. N.A
cycle 92-93: sw $t0, 2400($t5) N.A. Column access 492 memory address 2540-2543=5 44
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
Instruction no: 10 was read 1 times.
Instruction no: 11 was read 1 times.
Instruction no: 12 was read 1 times.
Instruction no: 13 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 1 times.
Operation sub was executed 0 times.
Operation mul was executed 1 times.
Operation beq was executed 0 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 0 times.
Operation lw was executed 2 times.
Operation sw was executed 4 times.
Operation addi was executed 5 times.
1.2
Total number of cycles: 46
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 4
Memory content at the end of the execution:
4000-4003: 10
6000-6003: 100
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: sub $t0, $t0, -10 $t0 = 10 N.A. N.A. 0
cycle 2: addi $t1, $t1, 10 $t1 = 10 N.A. N.A. 4
cycle 3: beq $t0, $t1, rest N.A. N.A. N.A. 8
cycle 4: addi $t3, $t3, 40 $t3 = 40 DRAM request issued for sw $t0, 4000($zero) N.A. 20
cycle 5-14: sw $t0, 4000($zero) N.A. Activated row 3 N.A. N.A
cycle 15-16: sw $t0, 4000($zero) N.A. Column access 928 memory address 4000-4003=10 16
cycle 17: lw $t6, 4000($zero) N.A. DRAM request issued for lw $t6, 4000($zero) N.A. N.A
cycle 18-19: lw $t6, 4000($zero) N.A. Column access 928 $t6 = 10 24
cycle 20: mul $t6, $t6, $t0 $t6 = 100 N.A. N.A. 28
cycle 21: addi $t9, $t9, 20 $t9 = 20 DRAM request issued for sw $t6, 6000($zero) N.A. 40
cycle 22: j exit N.A. Writeback row 3 N.A. 44
cycle 23-31: sw $t6, 6000($zero) N.A. Writeback row 3 N.A. N.A
cycle 32-41: sw $t6, 6000($zero) N.A. Activated row 5 N.A. N.A
cycle 42-43: sw $t6, 6000($zero) N.A. Column access 880 memory address 6000-6003=100 32
cycle 44: lw $t7, 6000($zero) N.A. DRAM request issued for lw $t7, 6000($zero) N.A. N.A
cycle 45-46: lw $t7, 6000($zero) N.A. Column access 880 $t7 = 100 36
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 0 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
Instruction no: 10 was read 1 times.
Instruction no: 11 was read 1 times.
Instruction no: 12 was read 1 times.
Instruction no: 13 was read 0 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 0 times.
Operation sub was executed 1 times.
Operation mul was executed 1 times.
Operation beq was executed 1 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 1 times.
Operation lw was executed 2 times.
Operation sw was executed 2 times.
Operation addi was executed 3 times.
1.3
Total number of cycles: 24
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 3
Memory content at the end of the execution:
100-103: -10
500-503: 25
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: addi $t3, $t3, 25 $t3 = 25 N.A. N.A. 0
cycle 2: addi $t6, $t6, -10 $t6 = -10 N.A. N.A. 4
cycle 3: bne $t3, $t6, l1 N.A. DRAM request issued for sw $t6, 100($zero) N.A. 12
cycle 4: addi $t3, $t3, 25 $t3 = 50 Activated row 0 N.A. 28
cycle 5: add $t3, $t3, $t6 $t3 = 40 Activated row 0 N.A. 32
cycle 6: j _l2 N.A. Activated row 0 N.A. 36
cycle 7-13: sw $t6, 100($zero) N.A. Activated row 0 N.A. N.A
cycle 14-15: sw $t6, 100($zero) N.A. Column access 100 memory address 100-103=-10 8
cycle 16: lw $t2, 200($zero) N.A. DRAM request issued for lw $t2, 200($zero) N.A. N.A
cycle 17-18: lw $t2, 200($zero) N.A. Column access 200 $t2 = 0 20
cycle 19: sw $t3, 500($zero) N.A. DRAM request issued for sw $t3, 500($zero) N.A. N.A
cycle 20-21: sw $t3, 500($zero) N.A. Column access 500 memory address 500-503=25 24
cycle 22: lw $t5, 500($zero) N.A. DRAM request issued for lw $t5, 500($zero) N.A. N.A
cycle 23-24: lw $t5, 500($zero) N.A. Column access 500 $t5 = 25 40
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 0 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
Instruction no: 10 was read 1 times.
Instruction no: 11 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 1 times.
Operation sub was executed 0 times.
Operation mul was executed 0 times.
Operation beq was executed 0 times.
Operation bne was executed 1 times.
Operation slt was executed 0 times.
Operation j was executed 1 times.
Operation lw was executed 2 times.
Operation sw was executed 2 times.
Operation addi was executed 3 times.
2.1
Total number of cycles: 58
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 6
Memory content at the end of the execution:
1000-1003: 1
1016-1019: 3
2400-2403: 2
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: addi $s0, $zero, 1000 $s0 = 1000 N.A. N.A. 0
cycle 2: addi $s1, $zero, 2400 $s1 = 2400 N.A. N.A. 4
cycle 3: addi $t0, $t0, 1 $t0 = 1 N.A. N.A. 8
cycle 4: addi $t1, $t1, 2 $t1 = 2 N.A. N.A. 12
cycle 5: addi $t2, $zero, 3 $t2 = 3 DRAM request issued for sw $t0, 0($s0) N.A. 24
cycle 6: addi $t3, $zero, 4 $t3 = 4 Activated row 0 N.A. 28
cycle 7-15: sw $t0, 0($s0) N.A. Activated row 0 N.A. N.A
cycle 16-17: sw $t0, 0($s0) N.A. Column access 1000 memory address 1000-1003=1 16
cycle 18: sw $t2, 16($s0) N.A. DRAM request issued for sw $t2, 16($s0) N.A. N.A
cycle 19-20: sw $t2, 16($s0) N.A. Column access 1016 memory address 1016-1019=3 32
cycle 21: lw $t7, 8($s0) N.A. DRAM request issued for lw $t7, 8($s0) N.A. N.A
cycle 22-23: lw $t7, 8($s0) N.A. Column access 1008 $t7 = 0 40
cycle 24: lw $t5, 4($s0) N.A. DRAM request issued for lw $t5, 4($s0) N.A. N.A
cycle 25-26: lw $t5, 4($s0) N.A. Column access 1004 $t5 = 0 48
cycle 27: sw $t1, 0($s1) N.A. DRAM request issued for sw $t1, 0($s1) N.A. N.A
cycle 28-37: sw $t1, 0($s1) N.A. Writeback row 0 N.A. N.A
cycle 38-47: sw $t1, 0($s1) N.A. Activated row 2 N.A. N.A
cycle 48-49: sw $t1, 0($s1) N.A. Column access 352 memory address 2400-2403=2 20
cycle 50: sw $t4, 16($s1) N.A. DRAM request issued for sw $t4, 16($s1) N.A. N.A
cycle 51-52: sw $t4, 16($s1) N.A. Column access 368 memory address 2416-2419=0 36
cycle 53: lw $t8, 8($s1) N.A. DRAM request issued for lw $t8, 8($s1) N.A. N.A
cycle 54-55: lw $t8, 8($s1) N.A. Column access 360 $t8 = 0 44
cycle 56: lw $t6, 4($s1) N.A. DRAM request issued for lw $t6, 4($s1) N.A. N.A
cycle 57-58: lw $t6, 4($s1) N.A. Column access 356 $t6 = 0 52
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
Instruction no: 10 was read 1 times.
Instruction no: 11 was read 1 times.
Instruction no: 12 was read 1 times.
Instruction no: 13 was read 1 times.
Instruction no: 14 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 0 times.
Operation sub was executed 0 times.
Operation mul was executed 0 times.
Operation beq was executed 0 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 0 times.
Operation lw was executed 4 times.
Operation sw was executed 4 times.
Operation addi was executed 6 times.
2.2
Total number of cycles: 47
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 4
Memory content at the end of the execution:
1000-1003: 10
3000-3003: 20
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: add $s0, $s0, 1000 $s0 = 1000 N.A. N.A. 0
cycle 2: addi $s1, $s1, 3000 $s1 = 3000 N.A. N.A. 4
cycle 3: add $t0, $t0, 10 $t0 = 10 N.A. N.A. 8
cycle 4: add $t1, $t1, 20 $t1 = 20 N.A. N.A. 12
cycle 5: add $t2, $t2, 40 $t2 = 40 N.A. N.A. 16
cycle 6: mul $t3, $t1, $t2 $t3 = 800 DRAM request issued for sw $t0, 0($s0) N.A. 24
cycle 7: sub $t4, $t4, 50 $t4 = -50 Activated row 0 N.A. 36
cycle 8-16: sw $t0, 0($s0) N.A. Activated row 0 N.A. N.A
cycle 17-18: sw $t0, 0($s0) N.A. Column access 1000 memory address 1000-1003=10 20
cycle 19: lw $t2, 4($s0) N.A. DRAM request issued for lw $t2, 4($s0) N.A. N.A
cycle 20-21: lw $t2, 4($s0) N.A. Column access 1004 $t2 = 0 32
cycle 22: lw $t3, 4($s0) N.A. DRAM request issued for lw $t3, 4($s0) N.A. N.A
cycle 23-24: lw $t3, 4($s0) N.A. Column access 1004 $t3 = 0 40
cycle 25: sw $t1, 0($s1) N.A. DRAM request issued for sw $t1, 0($s1) N.A. N.A
cycle 26-35: sw $t1, 0($s1) N.A. Writeback row 0 N.A. N.A
cycle 36-45: sw $t1, 0($s1) N.A. Activated row 2 N.A. N.A
cycle 46-47: sw $t1, 0($s1) N.A. Column access 952 memory address 3000-3003=20 28
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
Instruction no: 10 was read 1 times.
Instruction no: 11 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 4 times.
Operation sub was executed 1 times.
Operation mul was executed 1 times.
Operation beq was executed 0 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 0 times.
Operation lw was executed 2 times.
Operation sw was executed 2 times.
Operation addi was executed 1 times.
2.3
Total number of cycles: 42
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 4
Memory content at the end of the execution:
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: add $s0, $s0, 1024 $s0 = 1024 N.A. N.A. 0
cycle 2: addi $s1, $s1, 1020 $s1 = 1020 N.A. N.A. 4
cycle 3: add $t0, $t0, 10 $t0 = 10 N.A. N.A. 8
cycle 4: add $t3, $t3, 10 $t3 = 10 DRAM request issued for sw $t1, 0($s1) N.A. 20
cycle 5: mul $t3, $t1, $t0 $t3 = 0 Activated row 0 N.A. 24
cycle 6-14: sw $t1, 0($s1) N.A. Activated row 0 N.A. N.A
cycle 15-16: sw $t1, 0($s1) N.A. Column access 1020 memory address 1020-1023=0 12
cycle 17: lw $t2, 0($s0) N.A. DRAM request issued for lw $t2, 0($s0) N.A. N.A
cycle 18-27: lw $t2, 0($s0) N.A. Writeback row 0 N.A. N.A
cycle 28-37: lw $t2, 0($s0) N.A. Activated row 1 N.A. N.A
cycle 38-39: lw $t2, 0($s0) N.A. Column access 0 $t2 = 0 16
cycle 40: sw $t1, 4($s1) N.A. DRAM request issued for sw $t1, 4($s1) N.A. N.A
cycle 41-42: sw $t1, 4($s1) N.A. Column access 0 memory address 1024-1027=0 28
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 3 times.
Operation sub was executed 0 times.
Operation mul was executed 1 times.
Operation beq was executed 0 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 0 times.
Operation lw was executed 1 times.
Operation sw was executed 2 times.
Operation addi was executed 1 times.
3.1
Total number of cycles: 45
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 4
Memory content at the end of the execution:
980-983: 60
1000-1003: 20
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: addi $t0, $t0, 30 $t0 = 30 N.A. N.A. 0
cycle 2: add $t1, $t0, $t0 $t1 = 60 N.A. N.A. 4
cycle 3: sub $t5, $t5, -20 $t5 = 20 N.A. N.A. 8
cycle 4: addi $t9, $t9, 40 $t9 = 40 DRAM request issued for lw $t6, 3000($zero) N.A. 16
cycle 5: j rem N.A. Activated row 2 N.A. 20
cycle 6-14: lw $t6, 3000($zero) N.A. Activated row 2 N.A. N.A
cycle 15-16: lw $t6, 3000($zero) N.A. Column access 952 $t6 = 0 12
cycle 17: lw $t7, 3004($zero) N.A. DRAM request issued for lw $t7, 3004($zero) N.A. N.A
cycle 18-19: lw $t7, 3004($zero) N.A. Column access 956 $t7 = 0 28
cycle 20: addi $t7, $t7, 20 $t7 = 20 DRAM request issued for sw $t5, 1000($zero) N.A. 36
cycle 21: sub $s0, $s0, $t7 $s0 = -20 Writeback row 2 N.A. 40
cycle 22-30: sw $t5, 1000($zero) N.A. Writeback row 2 N.A. N.A
cycle 31-40: sw $t5, 1000($zero) N.A. Activated row 0 N.A. N.A
cycle 41-42: sw $t5, 1000($zero) N.A. Column access 1000 memory address 1000-1003=20 24
cycle 43: sw $t1, 980($zero) N.A. DRAM request issued for sw $t1, 980($zero) N.A. N.A
cycle 44-45: sw $t1, 980($zero) N.A. Column access 980 memory address 980-983=60 32
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
Instruction no: 10 was read 1 times.
Instruction no: 11 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 1 times.
Operation sub was executed 2 times.
Operation mul was executed 0 times.
Operation beq was executed 0 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 1 times.
Operation lw was executed 2 times.
Operation sw was executed 2 times.
Operation addi was executed 3 times.
3.2
Total number of cycles: 51
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 6
Memory content at the end of the execution:
300-303: 100
400-403: 40
500-503: 40
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: addi $s0, $s0, 200 $s0 = 200 N.A. N.A. 0
cycle 2: addi $t2, $t2, 40 $t2 = 40 N.A. N.A. 4
cycle 3: sub $t5, $t5, -50 $t5 = 50 N.A. N.A. 8
cycle 4: bne $t3, $t2, next N.A. DRAM request issued for sw $t2, 400($zero) N.A. 20
cycle 5: addi $t6, $t6, 100 $t6 = 100 Activated row 0 N.A. 36
cycle 6-14: sw $t2, 400($zero) N.A. Activated row 0 N.A. N.A
cycle 15-16: sw $t2, 400($zero) N.A. Column access 400 memory address 400-403=40 12
cycle 17: sw $t2, 500($zero) N.A. DRAM request issued for sw $t2, 500($zero) N.A. N.A
cycle 18-19: sw $t2, 500($zero) N.A. Column access 500 memory address 500-503=40 28
cycle 20: sw $t6, 300($zero) N.A. DRAM request issued for sw $t6, 300($zero) N.A. N.A
cycle 21-22: sw $t6, 300($zero) N.A. Column access 300 memory address 300-303=100 40
cycle 23: lw $t2, 1020($zero) N.A. DRAM request issued for lw $t2, 1020($zero) N.A. N.A
cycle 24-25: lw $t2, 1020($zero) N.A. Column access 1020 $t2 = 0 44
cycle 26: sw $t3, 1000($t2) N.A. DRAM request issued for sw $t3, 1000($t2) N.A. N.A
cycle 27-36: sw $t3, 1000($t2) N.A. Writeback row 0 N.A. N.A
cycle 37-46: sw $t3, 1000($t2) N.A. Activated row 1 N.A. N.A
cycle 47-48: sw $t3, 1000($t2) N.A. Column access 16 memory address 1040-1043=0 16
cycle 49: lw $t7, 1000($t2) N.A. DRAM request issued for lw $t7, 1000($t2) N.A. N.A
cycle 50-51: lw $t7, 1000($t2) N.A. Column access 16 $t7 = 0 32
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 0 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
Instruction no: 10 was read 1 times.
Instruction no: 11 was read 1 times.
Instruction no: 12 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 0 times.
Operation sub was executed 1 times.
Operation mul was executed 0 times.
Operation beq was executed 0 times.
Operation bne was executed 1 times.
Operation slt was executed 0 times.
Operation j was executed 0 times.
Operation lw was executed 2 times.
Operation sw was executed 4 times.
Operation addi was executed 3 times.
3.3
Total number of cycles: 103
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 7
Memory content at the end of the execution:
100-103: 20
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: lw $t8, 5040($zero) N.A. DRAM request issued for lw $t8, 5040($zero) N.A. N.A
cycle 2-11: lw $t8, 5040($zero) N.A. Activated row 4 N.A. N.A
cycle 12-13: lw $t8, 5040($zero) N.A. Column access 944 $t8 = 0 20
cycle 14: addi $t8, $t8, 20 $t8 = 20 DRAM request issued for lw $t6, 5000($zero) N.A. 24
cycle 15-16: lw $t6, 5000($zero) N.A. Column access 904 $t6 = 0 12
cycle 17: lw $t2, 200($zero) N.A. DRAM request issued for lw $t2, 200($zero) N.A. N.A
cycle 18-27: lw $t2, 200($zero) N.A. Writeback row 4 N.A. N.A
cycle 28-37: lw $t2, 200($zero) N.A. Activated row 0 N.A. N.A
cycle 38-39: lw $t2, 200($zero) N.A. Column access 200 $t2 = 0 4
cycle 40: sw $t7, 340($zero) N.A. DRAM request issued for sw $t7, 340($zero) N.A. N.A
cycle 41-42: sw $t7, 340($zero) N.A. Column access 340 memory address 340-343=0 16
cycle 43: sw $t8, 100($zero) N.A. DRAM request issued for sw $t8, 100($zero) N.A. N.A
cycle 44-45: sw $t8, 100($zero) N.A. Column access 100 memory address 100-103=20 28
cycle 46: lw $s0, 240($zero) N.A. DRAM request issued for lw $s0, 240($zero) N.A. N.A
cycle 47-48: lw $s0, 240($zero) N.A. Column access 240 $s0 = 0 36
cycle 49: sw $t2, 400($t8) N.A. DRAM request issued for sw $t2, 400($t8) N.A. N.A
cycle 50-51: sw $t2, 400($t8) N.A. Column access 420 memory address 420-423=0 44
cycle 52: lw $t3, 2000($zero) N.A. DRAM request issued for lw $t3, 2000($zero) N.A. N.A
cycle 53-62: lw $t3, 2000($zero) N.A. Writeback row 0 N.A. N.A
cycle 63-72: lw $t3, 2000($zero) N.A. Activated row 1 N.A. N.A
cycle 73-74: lw $t3, 2000($zero) N.A. Column access 976 $t3 = 0 0
cycle 75: lw $t5, 2040($zero) N.A. DRAM request issued for lw $t5, 2040($zero) N.A. N.A
cycle 76-77: lw $t5, 2040($zero) N.A. Column access 1016 $t5 = 0 8
cycle 78: lw $t9, 6000($zero) N.A. DRAM request issued for lw $t9, 6000($zero) N.A. N.A
cycle 79-88: lw $t9, 6000($zero) N.A. Writeback row 1 N.A. N.A
cycle 89-98: lw $t9, 6000($zero) N.A. Activated row 5 N.A. N.A
cycle 99-100: lw $t9, 6000($zero) N.A. Column access 880 $t9 = 0 32
cycle 101: lw $s1, 6000($zero) N.A. DRAM request issued for lw $s1, 6000($zero) N.A. N.A
cycle 102-103: lw $s1, 6000($zero) N.A. Column access 880 $s1 = 0 40
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
Instruction no: 10 was read 1 times.
Instruction no: 11 was read 1 times.
Instruction no: 12 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 0 times.
Operation sub was executed 0 times.
Operation mul was executed 0 times.
Operation beq was executed 0 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 0 times.
Operation lw was executed 8 times.
Operation sw was executed 3 times.
Operation addi was executed 1 times.
4.1
Total number of cycles: 43
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 4
Memory content at the end of the execution:
1020-1023: 10
1024-1027: 10
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: add $s0, $s0, 1024 $s0 = 1024 N.A. N.A. 0
cycle 2: addi $s1, $s1, 1020 $s1 = 1020 N.A. N.A. 4
cycle 3: add $t0, $t0, 10 $t0 = 10 N.A. N.A. 8
cycle 4: sub $t1, $t1, -80 $t1 = 80 N.A. N.A. 12
cycle 5: sw $t0, 0($s1) N.A. DRAM request issued for sw $t0, 0($s1) N.A. N.A
cycle 6-15: sw $t0, 0($s1) N.A. Activated row 0 N.A. N.A
cycle 16-17: sw $t0, 0($s1) N.A. Column access 1020 memory address 1020-1023=10 16
cycle 18: lw $t2, 0($s1) N.A. DRAM request issued for lw $t2, 0($s1) N.A. N.A
cycle 19-20: lw $t2, 0($s1) N.A. Column access 1020 $t2 = 10 28
cycle 21: sw $t2, 4($s1) N.A. DRAM request issued for sw $t2, 4($s1) N.A. N.A
cycle 22-31: sw $t2, 4($s1) N.A. Writeback row 0 N.A. N.A
cycle 32-41: sw $t2, 4($s1) N.A. Activated row 1 N.A. N.A
cycle 42-43: sw $t2, 4($s1) N.A. Column access 0 memory address 1024-1027=10 32
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 2 times.
Operation sub was executed 1 times.
Operation mul was executed 0 times.
Operation beq was executed 0 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 0 times.
Operation lw was executed 1 times.
Operation sw was executed 2 times.
Operation addi was executed 1 times.
4.2
Total number of cycles: 46
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 5
Memory content at the end of the execution:
1020-1023: 100
1024-1027: 10
1120-1123: 20
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: add $s0, $s0, 1020 $s0 = 1020 N.A. N.A. 0
cycle 2: addi $s1, $s1, 1024 $s1 = 1024 N.A. N.A. 4
cycle 3: add $t0, $t0, 10 $t0 = 10 N.A. N.A. 8
cycle 4: mul $t1, $t0, $t0 $t1 = 100 N.A. N.A. 12
cycle 5: add $t3, $t3, 20 $t3 = 20 DRAM request issued for sw $t1, 0($s0) N.A. 28
cycle 6-15: sw $t1, 0($s0) N.A. Activated row 0 N.A. N.A
cycle 16-17: sw $t1, 0($s0) N.A. Column access 1020 memory address 1020-1023=100 20
cycle 18: sw $t0, 0($s1) N.A. DRAM request issued for sw $t0, 0($s1) N.A. N.A
cycle 19-28: sw $t0, 0($s1) N.A. Writeback row 0 N.A. N.A
cycle 29-38: sw $t0, 0($s1) N.A. Activated row 1 N.A. N.A
cycle 39-40: sw $t0, 0($s1) N.A. Column access 0 memory address 1024-1027=10 16
cycle 41: sw $t3, 100($s0) N.A. DRAM request issued for sw $t3, 100($s0) N.A. N.A
cycle 42-43: sw $t3, 100($s0) N.A. Column access 96 memory address 1120-1123=20 36
cycle 44: lw $t2, 0($s1) N.A. DRAM request issued for lw $t2, 0($s1) N.A. N.A
cycle 45-46: lw $t2, 0($s1) N.A. Column access 0 $t2 = 10 40
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
Instruction no: 10 was read 1 times.
Instruction no: 11 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 3 times.
Operation sub was executed 0 times.
Operation mul was executed 1 times.
Operation beq was executed 0 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 0 times.
Operation lw was executed 1 times.
Operation sw was executed 3 times.
Operation addi was executed 1 times.
4.3
Total number of cycles: 46
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 4
Memory content at the end of the execution:
1024-1027: -199
1120-1123: 20
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: add $s0, $s0, 1020 $s0 = 1020 N.A. N.A. 0
cycle 2: addi $s1, $s1, 1024 $s1 = 1024 N.A. N.A. 4
cycle 3: sub $t0, $t0, 199 $t0 = -199 N.A. N.A. 8
cycle 4: mul $t1, $t0, 40 $t1 = -7960 N.A. N.A. 12
cycle 5: add $t3, $t3, 20 $t3 = 20 DRAM request issued for sw $t0, 0($s1) N.A. 24
cycle 6-15: sw $t0, 0($s1) N.A. Activated row 1 N.A. N.A
cycle 16-17: sw $t0, 0($s1) N.A. Column access 0 memory address 1024-1027=-199 16
cycle 18: sw $t3, 100($s0) N.A. DRAM request issued for sw $t3, 100($s0) N.A. N.A
cycle 19-20: sw $t3, 100($s0) N.A. Column access 96 memory address 1120-1123=20 32
cycle 21: lw $t4, 100($s0) N.A. DRAM request issued for lw $t4, 100($s0) N.A. N.A
cycle 22-23: lw $t4, 100($s0) N.A. Column access 96 $t4 = 20 40
cycle 24: lw $t2, 0($s0) N.A. DRAM request issued for lw $t2, 0($s0) N.A. N.A
cycle 25-34: lw $t2, 0($s0) N.A. Writeback row 1 N.A. N.A
cycle 35-44: lw $t2, 0($s0) N.A. Activated row 0 N.A. N.A
cycle 45-46: lw $t2, 0($s0) N.A. Column access 1020 $t2 = 0 28
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
Instruction no: 10 was read 1 times.
Instruction no: 11 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 2 times.
Operation sub was executed 1 times.
Operation mul was executed 1 times.
Operation beq was executed 0 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 0 times.
Operation lw was executed 2 times.
Operation sw was executed 2 times.
Operation addi was executed 1 times.
5.1
Total number of cycles: 19
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 3
Memory content at the end of the execution:
2000-2003: 20
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: addi $t3, $t3, 40 $t3 = 40 N.A. N.A. 0
cycle 2: addi $t5, $t5, -20 $t5 = -20 N.A. N.A. 4
cycle 3: mul $t6, $t3, $t5 $t6 = -800 N.A. N.A. 8
cycle 4: addi $t2, $t2, 20 $t2 = 20 DRAM request issued for sw $t7, 2000($zero) N.A. 28
cycle 5-14: sw $t7, 2000($zero) N.A. Activated row 1 N.A. N.A
cycle 15-16: sw $t7, 2000($zero) N.A. Column access 976 memory address 2000-2003=0 24
cycle 17: sw $t2, 2000($zero) N.A. DRAM request issued for sw $t2, 2000($zero) N.A. N.A
cycle 18-19: sw $t2, 2000($zero) N.A. Column access 976 memory address 2000-2003=20 32
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 0 times.
Operation sub was executed 0 times.
Operation mul was executed 1 times.
Operation beq was executed 0 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 0 times.
Operation lw was executed 0 times.
Operation sw was executed 2 times.
Operation addi was executed 3 times.
5.2
Total number of cycles: 22
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 3
Memory content at the end of the execution:
3000-3003: 20
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: addi $t0, $t0, 20 $t0 = 20 N.A. N.A. 0
cycle 2: mul $t1, $t0, $t0 $t1 = 400 N.A. N.A. 4
cycle 3: bne $t0, $t1, rem N.A. N.A. N.A. 8
cycle 4: addi $t6, $t6, 40 $t6 = 40 DRAM request issued for sw $t1, 3000($zero) N.A. 20
cycle 5: addi $t1, $t1, 2000 $t1 = 2400 Activated row 2 N.A. 28
cycle 6: beq $t1, $t6, exit N.A. Activated row 2 N.A. 36
cycle 7-14: sw $t1, 3000($zero) N.A. Activated row 2 N.A. N.A
cycle 15-16: sw $t1, 3000($zero) N.A. Column access 952 memory address 3000-3003=400 16
cycle 17: sw $t0, 3000($zero) N.A. DRAM request issued for sw $t0, 3000($zero) N.A. N.A
cycle 18-19: sw $t0, 3000($zero) N.A. Column access 952 memory address 3000-3003=20 40
cycle 20: lw $t5, 3000($zero) N.A. DRAM request issued for lw $t5, 3000($zero) N.A. N.A
cycle 21-22: lw $t5, 3000($zero) N.A. Column access 952 $t5 = 20 44
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 0 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
Instruction no: 10 was read 1 times.
Instruction no: 11 was read 1 times.
Instruction no: 12 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 0 times.
Operation sub was executed 0 times.
Operation mul was executed 1 times.
Operation beq was executed 1 times.
Operation bne was executed 1 times.
Operation slt was executed 0 times.
Operation j was executed 0 times.
Operation lw was executed 1 times.
Operation sw was executed 2 times.
Operation addi was executed 3 times.
5.3
Total number of cycles: 42
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 4
Memory content at the end of the execution:
3000-3003: 20
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: addi $t0, $t0, 20 $t0 = 20 N.A. N.A. 0
cycle 2: addi $t1, $t1, 20 $t1 = 20 N.A. N.A. 4
cycle 3: beq $t0, $t1, next N.A. N.A. N.A. 8
cycle 4: lw $t3, 2000($zero) N.A. DRAM request issued for lw $t3, 2000($zero) N.A. N.A
cycle 5-14: lw $t3, 2000($zero) N.A. Activated row 1 N.A. N.A
cycle 15-16: lw $t3, 2000($zero) N.A. Column access 976 $t3 = 0 16
cycle 17: addi $t2, $t2, 20 $t2 = 20 DRAM request issued for sw $t3, 3000($zero) N.A. 24
cycle 18: sub $t3, $t3, $t1 $t3 = -20 Writeback row 1 N.A. 28
cycle 19: addi $t6, $t6, 70 $t6 = 70 Writeback row 1 N.A. 32
cycle 20: j exit N.A. Writeback row 1 N.A. 48
cycle 21-27: sw $t3, 3000($zero) N.A. Writeback row 1 N.A. N.A
cycle 28-37: sw $t3, 3000($zero) N.A. Activated row 2 N.A. N.A
cycle 38-39: sw $t3, 3000($zero) N.A. Column access 952 memory address 3000-3003=0 20
cycle 40: sw $t2, 3000($zero) N.A. DRAM request issued for sw $t2, 3000($zero) N.A. N.A
cycle 41-42: sw $t2, 3000($zero) N.A. Column access 952 memory address 3000-3003=20 44
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 0 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 1 times.
Instruction no: 9 was read 1 times.
Instruction no: 10 was read 1 times.
Instruction no: 11 was read 1 times.
Instruction no: 12 was read 1 times.
Instruction no: 13 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 0 times.
Operation sub was executed 1 times.
Operation mul was executed 0 times.
Operation beq was executed 1 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 1 times.
Operation lw was executed 1 times.
Operation sw was executed 2 times.
Operation addi was executed 4 times.
6.1
Total number of cycles: 18
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 2
Memory content at the end of the execution:
1024-1027: 50
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: addi $s1, $s1, 1024 $s1 = 1024 N.A. N.A. 0
cycle 2: add $t0, $t0, 50 $t0 = 50 N.A. N.A. 4
cycle 3: add $t0, $t0, 99 $t0 = 149 DRAM request issued for sw $t0, 0($s1) N.A. 12
cycle 4-13: sw $t0, 0($s1) N.A. Activated row 1 N.A. N.A
cycle 14-15: sw $t0, 0($s1) N.A. Column access 0 memory address 1024-1027=50 8
cycle 16: lw $t0, 0($s1) N.A. DRAM request issued for lw $t0, 0($s1) N.A. N.A
cycle 17-18: lw $t0, 0($s1) N.A. Column access 0 $t0 = 50 16
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 1 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 2 times.
Operation sub was executed 0 times.
Operation mul was executed 0 times.
Operation beq was executed 0 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 0 times.
Operation lw was executed 1 times.
Operation sw was executed 1 times.
Operation addi was executed 1 times.
6.2
Total number of cycles: 20
Total number of row buffer updates(loading new row into buffer or modifying row buffer): 2
Memory content at the end of the execution:
1020-1023: 50
Every cycle description
Cycle numbers Instructions Register changed DRAM operations DRAM changes Address of completed instruction
cycle 1: add $s0, $s0, 1020 $s0 = 1020 N.A. N.A. 0
cycle 2: add $t0, $t0, 50 $t0 = 50 N.A. N.A. 4
cycle 3: add $t0, $t0, 99 $t0 = 149 DRAM request issued for sw $t0, 0($s0) N.A. 16
cycle 4-13: sw $t0, 0($s0) N.A. Activated row 0 N.A. N.A
cycle 14-15: sw $t0, 0($s0) N.A. Column access 1020 memory address 1020-1023=50 8
cycle 16: lw $t1, 0($s0) N.A. DRAM request issued for lw $t1, 0($s0) N.A. N.A
cycle 17-18: lw $t1, 0($s0) N.A. Column access 1020 $t1 = 50 12
cycle 19: add $t1, $t1, 99 $t1 = 149 N.A. N.A. 20
cycle 20: j exit N.A. N.A. N.A. 24
The number of times each instruction was read is given below :
Instruction no: 1 was read 1 times.
Instruction no: 2 was read 1 times.
Instruction no: 3 was read 1 times.
Instruction no: 4 was read 1 times.
Instruction no: 5 was read 1 times.
Instruction no: 6 was read 1 times.
Instruction no: 7 was read 1 times.
Instruction no: 8 was read 0 times.
The number of times each type of instruction was executed is given below :
Operation add was executed 4 times.
Operation sub was executed 0 times.
Operation mul was executed 0 times.
Operation beq was executed 0 times.
Operation bne was executed 0 times.
Operation slt was executed 0 times.
Operation j was executed 1 times.
Operation lw was executed 1 times.
Operation sw was executed 1 times.
Operation addi was executed 0 times.
7.1
Invalid MIPS program
7.2
Invalid MIPS program
8.1
Invalid MIPS program
8.2
Invalid MIPS program
9.1
Invalid MIPS program
9.2
Invalid MIPS program
10.1
Invalid MIPS program