File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 11// 0x00000000
2- 00
2+ 05
3300
4400
5500
Original file line number Diff line number Diff line change 1+ begin:
2+ ld x2, 0 (x0)
3+ addi x4, x2, 1
4+ add x8, x6, x2
5+ add x9, x4, x2
6+
7+ end:
8+ nop
Original file line number Diff line number Diff line change @@ -16,13 +16,8 @@ module testbench_pipelined();
1616 reset = 1 ;
1717
1818 // Initialize instruction memory first
19- cpu.imem.memory[0 ] = 32'b00000000001100000000000010010011 ;
20- cpu.imem.memory[1 ] = 32'b00000000011100000000000100010011 ;
21- cpu.imem.memory[2 ] = 32'b00000000000000001000100001100011 ;
22- cpu.imem.memory[3 ] = 32'b00000000000100010000000100110011 ;
23- cpu.imem.memory[4 ] = 32'b11111111111100001000000010010011 ;
24- cpu.imem.memory[5 ] = 32'b11111110000000000000101011100011 ;
25- cpu.imem.memory[6 ] = 32'b00000000000000000000000000000000 ;
19+ cpu.imem.memory[0 ] = 32'b00000000000000000010000100000011 ;
20+ cpu.imem.memory[1 ] = 32'b00000000000000000000000000000000 ;
2621
2722 // promper initialization
2823 #10 reset = 0 ;
You can’t perform that action at this time.
0 commit comments