1 WARP 2 THREADS WORKING

This commit is contained in:
felsabbagh3
2019-03-31 05:02:55 -04:00
parent 4aac33b298
commit c83ef94d02
50 changed files with 8125 additions and 117160 deletions

View File

@@ -5,9 +5,9 @@ vortex_test.elf: file format elf32-littleriscv
Disassembly of section .text:
80000000 <_start>:
80000000: 00400513 li a0,4
80000000: 00100513 li a0,1
80000004: 02051073 csrw 0x20,a0
80000008: 00800513 li a0,8
80000008: 00200513 li a0,2
8000000c: 02151073 csrw 0x21,a0
80000010: f1401073 csrw mhartid,zero
80000014: 30101073 csrw misa,zero

Binary file not shown.

View File

@@ -1,5 +1,5 @@
:0200000480007A
:1000000013054000731005021305800073101502DC
:10000000130510007310050213052000731015026C
:10001000731040F17310103037F1FF7FEF0080193B
:10002000EF10C06D73000000938B0600130D0700E6
:10003000130F01009303050013051000635C7500A6

View File

@@ -6,9 +6,9 @@
.type _start, @function
.global _start
_start:
li a0, 4 # Num Warps
li a0, 1 # Num Warps
csrw 0x20, a0 # Setting the number of available warps
li a0, 8 # Num Threads
li a0, 2 # Num Threads
csrw 0x21, a0 # Setting the number of available threads
csrw mhartid,zero
csrw misa,zero