The lab 3 of CS250 in fall 13. Need to study the lab 2 discussion material of spring 17.
Some Changes:
rocc.scala->tile/LazyRoCC.scalanbdcache.scala->rocket/HellaCache.scala
Requirements:
-
an n-by-n matrix consisting of 64-bit unsigned integers (maximum size = 64) FIX: up to 31 because the width of rs2 is 5 (pow(2,5)=32).
-
access memory to fetch the relevant elements of the matrix
-
return the sum of the relevant row sum and column sum to the core. If overflow, then return 2^64-1.
-
record three partial column sums if any row sun is called firstly or vice versa.
-
opcode: assume in custom 0 (
inst[6:0]=00_010_11),INSTRUCTIONSfunct7rs2rs1xd&xs1&xs2rdopcodeSETUP0000000 ????? ????? 011 ????? 0001011 ROWSUM0000001 ????? ????? 110 ????? 0001011 COLSUM0000010 ????? ????? 110 ????? 0001011 -
Submodules(original)
-
Submodules(mimic
SHA3)


