12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600 |
- # test case 0
- # stall
- 0
- # flush
- 0
- # pc
- 0001100111111001
- # aluop
- ALU_OR
- # alusrc1
- 0
- # alusrc2
- 0
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01100001001011001110011010111000
- # readdata2
- 01111001010111101111101000001110
- # imm
- 01011000011110010001100000011010
- # branchtype
- BR_NOP
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_HU
- # wb rd
- 01001
- # wb write
- 1
- # wb src
- WBS_MEM
- # reg write mem write
- 1
- # reg write mem reg
- 00001
- # reg write mem data
- 00100001011110110100100101010010
- # reg write wr write
- 0
- # reg write wr reg
- 11101
- # reg write wr data
- 01110010101101001011100111101011
- # test case 1
- # stall
- 0
- # flush
- 0
- # pc
- 1010110011101101
- # aluop
- ALU_ADD
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01100100110001111011101010111010
- # readdata2
- 00001001110010111100111110110001
- # imm
- 01001111101101000100001011000101
- # branchtype
- BR_CNDI
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_B
- # wb rd
- 10001
- # wb write
- 1
- # wb src
- WBS_ALU
- # reg write mem write
- 1
- # reg write mem reg
- 10110
- # reg write mem data
- 01010111111111110001111100100010
- # reg write wr write
- 1
- # reg write wr reg
- 10000
- # reg write wr data
- 00000100010110110001111001011010
- # test case 2
- # stall
- 0
- # flush
- 0
- # pc
- 1000011111100100
- # aluop
- ALU_SUB
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01111111111101101111000011110000
- # readdata2
- 01100011000110111010101101001111
- # imm
- 01001011111001001111000000000101
- # branchtype
- BR_NOP
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_B
- # wb rd
- 00101
- # wb write
- 0
- # wb src
- WBS_OPC
- # reg write mem write
- 0
- # reg write mem reg
- 11001
- # reg write mem data
- 01001000100011111001110111111001
- # reg write wr write
- 0
- # reg write wr reg
- 11110
- # reg write wr data
- 00100000010101010011000110110000
- # test case 3
- # stall
- 0
- # flush
- 0
- # pc
- 0110101010101000
- # aluop
- ALU_SUB
- # alusrc1
- 1
- # alusrc2
- 0
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01101000001111110110110011001111
- # readdata2
- 00010011111001001110111000111100
- # imm
- 00111011000011110100101110010010
- # branchtype
- BR_CND
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_B
- # wb rd
- 01111
- # wb write
- 1
- # wb src
- WBS_MEM
- # reg write mem write
- 0
- # reg write mem reg
- 01100
- # reg write mem data
- 01110000010101010111011110111111
- # reg write wr write
- 1
- # reg write wr reg
- 10010
- # reg write wr data
- 00010011001100011110011101010111
- # test case 4
- # stall
- 0
- # flush
- 0
- # pc
- 0100100100010111
- # aluop
- ALU_SLL
- # alusrc1
- 1
- # alusrc2
- 0
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01100100011111100111001001101111
- # readdata2
- 01010100101000010101110011101101
- # imm
- 01111011001100111000010010011010
- # branchtype
- BR_CNDI
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_B
- # wb rd
- 11100
- # wb write
- 0
- # wb src
- WBS_OPC
- # reg write mem write
- 0
- # reg write mem reg
- 00010
- # reg write mem data
- 01100011111001110000001001111011
- # reg write wr write
- 0
- # reg write wr reg
- 10101
- # reg write wr data
- 01001101101001011111011011000110
- # test case 5
- # stall
- 0
- # flush
- 0
- # pc
- 1111111000101011
- # aluop
- ALU_OR
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00011011001010001111011110010001
- # readdata2
- 01101010110101010010101001010001
- # imm
- 00100000010011001010101011010000
- # branchtype
- BR_BR
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_HU
- # wb rd
- 10100
- # wb write
- 0
- # wb src
- WBS_MEM
- # reg write mem write
- 0
- # reg write mem reg
- 01000
- # reg write mem data
- 01110000101010000000100001110100
- # reg write wr write
- 1
- # reg write wr reg
- 00010
- # reg write wr data
- 01101010110001011011100100101000
- # test case 6
- # stall
- 0
- # flush
- 0
- # pc
- 1100101000100000
- # aluop
- ALU_ADD
- # alusrc1
- 0
- # alusrc2
- 0
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01101101100110001001000111100110
- # readdata2
- 01100111111110001000101100110101
- # imm
- 01110010111000100100000011010101
- # branchtype
- BR_NOP
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_B
- # wb rd
- 10000
- # wb write
- 1
- # wb src
- WBS_ALU
- # reg write mem write
- 1
- # reg write mem reg
- 11100
- # reg write mem data
- 00001001000001111010001000100010
- # reg write wr write
- 0
- # reg write wr reg
- 01101
- # reg write wr data
- 01110101000111101100100110011111
- # test case 7
- # stall
- 0
- # flush
- 0
- # pc
- 1010101010101010
- # aluop
- ALU_NOP
- # alusrc1
- 1
- # alusrc2
- 0
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01011110101010011101000100011100
- # readdata2
- 01101011011001111001111110011000
- # imm
- 00101000010100111000100001001110
- # branchtype
- BR_BR
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_H
- # wb rd
- 10010
- # wb write
- 0
- # wb src
- WBS_MEM
- # reg write mem write
- 0
- # reg write mem reg
- 00010
- # reg write mem data
- 01100011110100111010011111100000
- # reg write wr write
- 1
- # reg write wr reg
- 11000
- # reg write wr data
- 01101111110001111110010101100101
- # test case 8
- # stall
- 0
- # flush
- 0
- # pc
- 0111110001000011
- # aluop
- ALU_AND
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01000111001100000001110110101010
- # readdata2
- 01011100110111011010001011101011
- # imm
- 00101111110100100011111000100110
- # branchtype
- BR_NOP
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_BU
- # wb rd
- 11010
- # wb write
- 1
- # wb src
- WBS_OPC
- # reg write mem write
- 1
- # reg write mem reg
- 00111
- # reg write mem data
- 01101011111011000001001100010100
- # reg write wr write
- 1
- # reg write wr reg
- 10110
- # reg write wr data
- 00010101100011111101100000000110
- # test case 9
- # stall
- 0
- # flush
- 0
- # pc
- 0101001010011110
- # aluop
- ALU_XOR
- # alusrc1
- 0
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00001101010001101000101010011100
- # readdata2
- 01001111010001000000011001001001
- # imm
- 01001101100010011110101111100111
- # branchtype
- BR_CND
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_H
- # wb rd
- 11001
- # wb write
- 1
- # wb src
- WBS_MEM
- # reg write mem write
- 0
- # reg write mem reg
- 11001
- # reg write mem data
- 00001100110000100001000000001011
- # reg write wr write
- 0
- # reg write wr reg
- 11111
- # reg write wr data
- 01111101101101110101010010011100
- # test case 10
- # stall
- 0
- # flush
- 0
- # pc
- 0100100100101100
- # aluop
- ALU_SLTU
- # alusrc1
- 0
- # alusrc2
- 0
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00011000001010110110010011100001
- # readdata2
- 01001111010001011001000111100001
- # imm
- 01110101010011111110100010010001
- # branchtype
- BR_BR
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_BU
- # wb rd
- 00011
- # wb write
- 0
- # wb src
- WBS_OPC
- # reg write mem write
- 0
- # reg write mem reg
- 01011
- # reg write mem data
- 00011000001001001011001001001011
- # reg write wr write
- 0
- # reg write wr reg
- 10010
- # reg write wr data
- 00011010101010111110101110100001
- # test case 11
- # stall
- 0
- # flush
- 0
- # pc
- 1100101111010101
- # aluop
- ALU_SLL
- # alusrc1
- 1
- # alusrc2
- 0
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01011111101100000100110011100011
- # readdata2
- 01100100000100011100101100000011
- # imm
- 01101010000010001011000000101100
- # branchtype
- BR_CNDI
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_W
- # wb rd
- 00100
- # wb write
- 0
- # wb src
- WBS_ALU
- # reg write mem write
- 0
- # reg write mem reg
- 00011
- # reg write mem data
- 00010011011101001010110110000000
- # reg write wr write
- 1
- # reg write wr reg
- 10100
- # reg write wr data
- 00011011101010011101001100000101
- # test case 12
- # stall
- 0
- # flush
- 0
- # pc
- 0010001010010111
- # aluop
- ALU_AND
- # alusrc1
- 0
- # alusrc2
- 1
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00011100010011110101000010010011
- # readdata2
- 01111110100101111011111110100110
- # imm
- 01100011111110100100001011100101
- # branchtype
- BR_CNDI
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_HU
- # wb rd
- 11100
- # wb write
- 1
- # wb src
- WBS_MEM
- # reg write mem write
- 1
- # reg write mem reg
- 11000
- # reg write mem data
- 01011000111100010001110010100101
- # reg write wr write
- 0
- # reg write wr reg
- 00100
- # reg write wr data
- 01111010100101001011100000011101
- # test case 13
- # stall
- 0
- # flush
- 0
- # pc
- 1100011101001101
- # aluop
- ALU_ADD
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00000010101110111010111011111111
- # readdata2
- 00100001000110100111000101010110
- # imm
- 00101110011111001001010100001010
- # branchtype
- BR_CND
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_BU
- # wb rd
- 10101
- # wb write
- 1
- # wb src
- WBS_OPC
- # reg write mem write
- 0
- # reg write mem reg
- 01111
- # reg write mem data
- 01011101100100010000001111001011
- # reg write wr write
- 0
- # reg write wr reg
- 10101
- # reg write wr data
- 01101110010110000110000000010010
- # test case 14
- # stall
- 0
- # flush
- 0
- # pc
- 1010000010001111
- # aluop
- ALU_ADD
- # alusrc1
- 0
- # alusrc2
- 0
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01000100110110100010110110110101
- # readdata2
- 01111000010000101101010001011110
- # imm
- 00011000110100010111000100000011
- # branchtype
- BR_NOP
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_W
- # wb rd
- 01101
- # wb write
- 0
- # wb src
- WBS_ALU
- # reg write mem write
- 0
- # reg write mem reg
- 11001
- # reg write mem data
- 01001001001011100111010011100000
- # reg write wr write
- 1
- # reg write wr reg
- 00011
- # reg write wr data
- 01101010110111101100011111111111
- # test case 15
- # stall
- 0
- # flush
- 0
- # pc
- 1010001000100001
- # aluop
- ALU_OR
- # alusrc1
- 0
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00111101001101101000001010000101
- # readdata2
- 00110000001111010011011111100110
- # imm
- 00000010011111011010100100010110
- # branchtype
- BR_CNDI
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_B
- # wb rd
- 01010
- # wb write
- 1
- # wb src
- WBS_OPC
- # reg write mem write
- 1
- # reg write mem reg
- 10101
- # reg write mem data
- 01110000111011111011111100001100
- # reg write wr write
- 1
- # reg write wr reg
- 11001
- # reg write wr data
- 00100011011101100101110101001100
- # test case 16
- # stall
- 0
- # flush
- 0
- # pc
- 0101010011010010
- # aluop
- ALU_SLT
- # alusrc1
- 1
- # alusrc2
- 0
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00111010101100111101100111111001
- # readdata2
- 01100101010100000101011100111001
- # imm
- 00111010100011110011101111011011
- # branchtype
- BR_NOP
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_HU
- # wb rd
- 10010
- # wb write
- 0
- # wb src
- WBS_MEM
- # reg write mem write
- 1
- # reg write mem reg
- 11011
- # reg write mem data
- 00111101110011111100010000010100
- # reg write wr write
- 1
- # reg write wr reg
- 10001
- # reg write wr data
- 01011011101010010100101100001111
- # test case 17
- # stall
- 0
- # flush
- 0
- # pc
- 1110111100101011
- # aluop
- ALU_SRA
- # alusrc1
- 0
- # alusrc2
- 0
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00110100111001001000010010001011
- # readdata2
- 01111101111010010110100010111000
- # imm
- 00010111110001010111101100111011
- # branchtype
- BR_CND
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_W
- # wb rd
- 01100
- # wb write
- 0
- # wb src
- WBS_ALU
- # reg write mem write
- 1
- # reg write mem reg
- 00101
- # reg write mem data
- 01110100110110110111010101011010
- # reg write wr write
- 0
- # reg write wr reg
- 00001
- # reg write wr data
- 00001100011100011101011111001010
- # test case 18
- # stall
- 0
- # flush
- 0
- # pc
- 0101101001100011
- # aluop
- ALU_SUB
- # alusrc1
- 0
- # alusrc2
- 1
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01110000000001100000010110100101
- # readdata2
- 00100001100011011010011001001110
- # imm
- 01010000001001100100111000011110
- # branchtype
- BR_BR
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_W
- # wb rd
- 00000
- # wb write
- 0
- # wb src
- WBS_OPC
- # reg write mem write
- 0
- # reg write mem reg
- 01000
- # reg write mem data
- 00010011110101001001000001010011
- # reg write wr write
- 0
- # reg write wr reg
- 00011
- # reg write wr data
- 01000010101111111111101100101101
- # test case 19
- # stall
- 0
- # flush
- 0
- # pc
- 0000000100101011
- # aluop
- ALU_OR
- # alusrc1
- 0
- # alusrc2
- 0
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01101111011011111101110011000111
- # readdata2
- 01111101001101100100101110111011
- # imm
- 01001111000100100001001110000101
- # branchtype
- BR_BR
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_H
- # wb rd
- 10001
- # wb write
- 0
- # wb src
- WBS_ALU
- # reg write mem write
- 0
- # reg write mem reg
- 00010
- # reg write mem data
- 00100011101001101100110101010010
- # reg write wr write
- 1
- # reg write wr reg
- 00001
- # reg write wr data
- 01011011110100110011010000100111
- # test case 20
- # stall
- 0
- # flush
- 0
- # pc
- 0100110001010010
- # aluop
- ALU_XOR
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01001100000110001110000111101001
- # readdata2
- 00111010010010011110111000110011
- # imm
- 01111100010100111110011001001010
- # branchtype
- BR_NOP
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_BU
- # wb rd
- 01111
- # wb write
- 1
- # wb src
- WBS_OPC
- # reg write mem write
- 1
- # reg write mem reg
- 01101
- # reg write mem data
- 01001010011101110111100100011000
- # reg write wr write
- 1
- # reg write wr reg
- 10010
- # reg write wr data
- 01110010101100111100111100000110
- # test case 21
- # stall
- 0
- # flush
- 0
- # pc
- 1100001010011101
- # aluop
- ALU_XOR
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01001100100100000101110101011011
- # readdata2
- 00000111111000111111111001011000
- # imm
- 00011011010000000100110101000001
- # branchtype
- BR_CND
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_BU
- # wb rd
- 00001
- # wb write
- 0
- # wb src
- WBS_OPC
- # reg write mem write
- 0
- # reg write mem reg
- 11111
- # reg write mem data
- 00010111100010001110110101111000
- # reg write wr write
- 1
- # reg write wr reg
- 01001
- # reg write wr data
- 01011001010001111000111111011100
- # test case 22
- # stall
- 0
- # flush
- 0
- # pc
- 0111001111010101
- # aluop
- ALU_NOP
- # alusrc1
- 0
- # alusrc2
- 1
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00111110011010010001100111110001
- # readdata2
- 01001110010100110100100010000100
- # imm
- 00111000100110010010110010101010
- # branchtype
- BR_CND
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_BU
- # wb rd
- 10000
- # wb write
- 1
- # wb src
- WBS_ALU
- # reg write mem write
- 1
- # reg write mem reg
- 01000
- # reg write mem data
- 01001010011011101101100001100011
- # reg write wr write
- 1
- # reg write wr reg
- 01001
- # reg write wr data
- 00110010100010111011101000010001
- # test case 23
- # stall
- 0
- # flush
- 0
- # pc
- 0101011111110110
- # aluop
- ALU_SUB
- # alusrc1
- 0
- # alusrc2
- 0
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01111110000010100101010100111110
- # readdata2
- 00000001101010101010000011111101
- # imm
- 01100111101001110001010101011000
- # branchtype
- BR_BR
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_B
- # wb rd
- 10011
- # wb write
- 1
- # wb src
- WBS_OPC
- # reg write mem write
- 0
- # reg write mem reg
- 11001
- # reg write mem data
- 00100101011101001111001010010010
- # reg write wr write
- 0
- # reg write wr reg
- 00011
- # reg write wr data
- 01111001011000000011111011000101
- # test case 24
- # stall
- 0
- # flush
- 0
- # pc
- 0001000110000100
- # aluop
- ALU_SUB
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00011001100100001111011111011010
- # readdata2
- 01110001100111010010110011100101
- # imm
- 00000011001000000001110101011110
- # branchtype
- BR_NOP
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_BU
- # wb rd
- 01110
- # wb write
- 1
- # wb src
- WBS_ALU
- # reg write mem write
- 1
- # reg write mem reg
- 11111
- # reg write mem data
- 00010101011000110001010011000001
- # reg write wr write
- 0
- # reg write wr reg
- 11000
- # reg write wr data
- 01101010000101001100010101011110
- # test case 25
- # stall
- 0
- # flush
- 0
- # pc
- 1100000110110001
- # aluop
- ALU_SLT
- # alusrc1
- 1
- # alusrc2
- 0
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00110011111100011001110101011011
- # readdata2
- 01101010100000110101000101010001
- # imm
- 00001001000110101001000111000000
- # branchtype
- BR_BR
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_B
- # wb rd
- 01110
- # wb write
- 0
- # wb src
- WBS_MEM
- # reg write mem write
- 1
- # reg write mem reg
- 00100
- # reg write mem data
- 01101000010111110001010111110101
- # reg write wr write
- 1
- # reg write wr reg
- 00010
- # reg write wr data
- 01010111000100011011011001101101
- # test case 26
- # stall
- 0
- # flush
- 0
- # pc
- 0111111011011111
- # aluop
- ALU_ADD
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01010011111110011111100011001000
- # readdata2
- 01001110001011110110111011111110
- # imm
- 01010011000101001111011110010110
- # branchtype
- BR_CNDI
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_W
- # wb rd
- 00100
- # wb write
- 1
- # wb src
- WBS_ALU
- # reg write mem write
- 0
- # reg write mem reg
- 10001
- # reg write mem data
- 00100101101001100100010000100001
- # reg write wr write
- 1
- # reg write wr reg
- 10010
- # reg write wr data
- 00100111010100011101110110001011
- # test case 27
- # stall
- 0
- # flush
- 0
- # pc
- 1100011000000001
- # aluop
- ALU_SLL
- # alusrc1
- 1
- # alusrc2
- 0
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00110010111100000001001010100100
- # readdata2
- 01101110011011001101111000001110
- # imm
- 00101100110111001000110001100111
- # branchtype
- BR_BR
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_W
- # wb rd
- 10101
- # wb write
- 1
- # wb src
- WBS_OPC
- # reg write mem write
- 0
- # reg write mem reg
- 11000
- # reg write mem data
- 01011000011100011110101001111000
- # reg write wr write
- 0
- # reg write wr reg
- 01110
- # reg write wr data
- 00000001100001101100111000101011
- # test case 28
- # stall
- 0
- # flush
- 0
- # pc
- 1010101011101001
- # aluop
- ALU_SRL
- # alusrc1
- 1
- # alusrc2
- 0
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00111100110111101100100010101011
- # readdata2
- 01100011000001101111011111011110
- # imm
- 01101010101111101100111110001010
- # branchtype
- BR_NOP
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_HU
- # wb rd
- 11001
- # wb write
- 1
- # wb src
- WBS_ALU
- # reg write mem write
- 1
- # reg write mem reg
- 11001
- # reg write mem data
- 01110010100000000100100000110010
- # reg write wr write
- 1
- # reg write wr reg
- 00000
- # reg write wr data
- 00011100011111100001000111101000
- # test case 29
- # stall
- 0
- # flush
- 0
- # pc
- 1110110010100010
- # aluop
- ALU_XOR
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01010111001100000000011000010001
- # readdata2
- 01110001110111000110100111111101
- # imm
- 00011110000111001111100111011100
- # branchtype
- BR_CNDI
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_BU
- # wb rd
- 01100
- # wb write
- 1
- # wb src
- WBS_MEM
- # reg write mem write
- 1
- # reg write mem reg
- 10110
- # reg write mem data
- 00110001111010100000010001000001
- # reg write wr write
- 1
- # reg write wr reg
- 00000
- # reg write wr data
- 01000000110000110111001101011001
- # test case 30
- # stall
- 0
- # flush
- 0
- # pc
- 0100010011100111
- # aluop
- ALU_SLTU
- # alusrc1
- 0
- # alusrc2
- 0
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01110111010111011000110100010110
- # readdata2
- 01000000110010010110101101101000
- # imm
- 01001111011100101111110000010101
- # branchtype
- BR_CNDI
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_W
- # wb rd
- 01001
- # wb write
- 1
- # wb src
- WBS_ALU
- # reg write mem write
- 0
- # reg write mem reg
- 00001
- # reg write mem data
- 01111111111000100110111010001011
- # reg write wr write
- 1
- # reg write wr reg
- 11101
- # reg write wr data
- 00111111101100001000111100101111
- # test case 31
- # stall
- 0
- # flush
- 0
- # pc
- 0111000111110110
- # aluop
- ALU_SUB
- # alusrc1
- 1
- # alusrc2
- 0
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00011101001010110010100000010100
- # readdata2
- 00001111100000101110100111111010
- # imm
- 01101001101000100111010100011011
- # branchtype
- BR_CNDI
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_BU
- # wb rd
- 10010
- # wb write
- 1
- # wb src
- WBS_ALU
- # reg write mem write
- 1
- # reg write mem reg
- 10010
- # reg write mem data
- 00111101011001000001110111111100
- # reg write wr write
- 1
- # reg write wr reg
- 00111
- # reg write wr data
- 01111110111010110110110111000100
- # test case 32
- # stall
- 0
- # flush
- 0
- # pc
- 0000000011010001
- # aluop
- ALU_SUB
- # alusrc1
- 1
- # alusrc2
- 0
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00000011001110010010000001111100
- # readdata2
- 01000011010000101101100000101111
- # imm
- 01111001001000101100111010001011
- # branchtype
- BR_CNDI
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_BU
- # wb rd
- 11110
- # wb write
- 0
- # wb src
- WBS_OPC
- # reg write mem write
- 0
- # reg write mem reg
- 01010
- # reg write mem data
- 01000111111101011110000010001010
- # reg write wr write
- 0
- # reg write wr reg
- 00101
- # reg write wr data
- 01110011010110111100110111010101
- # test case 33
- # stall
- 0
- # flush
- 0
- # pc
- 0000000000110110
- # aluop
- ALU_ADD
- # alusrc1
- 0
- # alusrc2
- 1
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01000011011101010100111100101001
- # readdata2
- 00001000101101100010011100110111
- # imm
- 01111000001001001111011111111100
- # branchtype
- BR_CND
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_HU
- # wb rd
- 00011
- # wb write
- 1
- # wb src
- WBS_OPC
- # reg write mem write
- 0
- # reg write mem reg
- 00011
- # reg write mem data
- 01100100000000000011000001101010
- # reg write wr write
- 1
- # reg write wr reg
- 01110
- # reg write wr data
- 01110010100110000011000100110001
- # test case 34
- # stall
- 0
- # flush
- 0
- # pc
- 1000110011101110
- # aluop
- ALU_SLL
- # alusrc1
- 1
- # alusrc2
- 0
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00100101101000101111111011110001
- # readdata2
- 00110101001000011111001100101001
- # imm
- 01011011110110000010110110000111
- # branchtype
- BR_BR
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_W
- # wb rd
- 00011
- # wb write
- 0
- # wb src
- WBS_MEM
- # reg write mem write
- 0
- # reg write mem reg
- 01000
- # reg write mem data
- 00010101111000010100101010001110
- # reg write wr write
- 1
- # reg write wr reg
- 00100
- # reg write wr data
- 01011010010111010101010001000000
- # test case 35
- # stall
- 0
- # flush
- 0
- # pc
- 1011010111011110
- # aluop
- ALU_XOR
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00011111110101011100111000010101
- # readdata2
- 01100000000100000010011001100100
- # imm
- 01100010111011100001010011111101
- # branchtype
- BR_CNDI
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_B
- # wb rd
- 00101
- # wb write
- 0
- # wb src
- WBS_OPC
- # reg write mem write
- 1
- # reg write mem reg
- 11000
- # reg write mem data
- 00001111110011101110100100001111
- # reg write wr write
- 0
- # reg write wr reg
- 11111
- # reg write wr data
- 01010101111100100010110011111101
- # test case 36
- # stall
- 0
- # flush
- 0
- # pc
- 1111000100011011
- # aluop
- ALU_SLT
- # alusrc1
- 0
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01001100011011101110111100001001
- # readdata2
- 00111100101000010000010011101011
- # imm
- 00100000101001111010110110001111
- # branchtype
- BR_NOP
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_BU
- # wb rd
- 00110
- # wb write
- 0
- # wb src
- WBS_ALU
- # reg write mem write
- 0
- # reg write mem reg
- 00111
- # reg write mem data
- 00111000110010010010111010101000
- # reg write wr write
- 0
- # reg write wr reg
- 00100
- # reg write wr data
- 00011101110010010100010000111111
- # test case 37
- # stall
- 0
- # flush
- 0
- # pc
- 1000101110111111
- # aluop
- ALU_NOP
- # alusrc1
- 0
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00010011001001101001000011101000
- # readdata2
- 01010101010001001011110000110001
- # imm
- 00110011001110110101101101100000
- # branchtype
- BR_NOP
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_HU
- # wb rd
- 01111
- # wb write
- 1
- # wb src
- WBS_MEM
- # reg write mem write
- 0
- # reg write mem reg
- 01111
- # reg write mem data
- 00101101000001101110100010000111
- # reg write wr write
- 1
- # reg write wr reg
- 11110
- # reg write wr data
- 01110111001100000111110010101111
- # test case 38
- # stall
- 0
- # flush
- 0
- # pc
- 0010011000001101
- # aluop
- ALU_SUB
- # alusrc1
- 0
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00001010100011011100111011011110
- # readdata2
- 01110111011000001001101110001001
- # imm
- 01101110111101010011000110101001
- # branchtype
- BR_CND
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_H
- # wb rd
- 01001
- # wb write
- 0
- # wb src
- WBS_MEM
- # reg write mem write
- 1
- # reg write mem reg
- 10001
- # reg write mem data
- 01001110001001001110110110010101
- # reg write wr write
- 0
- # reg write wr reg
- 10010
- # reg write wr data
- 01111011010101000001101111001010
- # test case 39
- # stall
- 0
- # flush
- 0
- # pc
- 1110101101000101
- # aluop
- ALU_OR
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00010110010111111110100001101100
- # readdata2
- 01101011010001100110111001100010
- # imm
- 00000001110011111001110111010100
- # branchtype
- BR_BR
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_W
- # wb rd
- 10110
- # wb write
- 0
- # wb src
- WBS_ALU
- # reg write mem write
- 0
- # reg write mem reg
- 01111
- # reg write mem data
- 00101111111101011011000000011000
- # reg write wr write
- 1
- # reg write wr reg
- 11001
- # reg write wr data
- 01111000101110011010110110000010
- # test case 40
- # stall
- 0
- # flush
- 0
- # pc
- 1010100001001110
- # aluop
- ALU_XOR
- # alusrc1
- 0
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01101111010011010011110101001111
- # readdata2
- 00110001010001111110011000100000
- # imm
- 01100101101101011010011001000101
- # branchtype
- BR_CNDI
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_B
- # wb rd
- 01001
- # wb write
- 0
- # wb src
- WBS_ALU
- # reg write mem write
- 0
- # reg write mem reg
- 01111
- # reg write mem data
- 00111001011010111110010110010100
- # reg write wr write
- 0
- # reg write wr reg
- 00100
- # reg write wr data
- 01100000110010101000000000111110
- # test case 41
- # stall
- 0
- # flush
- 0
- # pc
- 1110010000011110
- # aluop
- ALU_NOP
- # alusrc1
- 0
- # alusrc2
- 1
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00001111100010000111000000101100
- # readdata2
- 00000100110110000100100111111100
- # imm
- 00110101011100011101010001011010
- # branchtype
- BR_BR
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_HU
- # wb rd
- 11100
- # wb write
- 1
- # wb src
- WBS_MEM
- # reg write mem write
- 1
- # reg write mem reg
- 00111
- # reg write mem data
- 00101101100000001111010111010111
- # reg write wr write
- 1
- # reg write wr reg
- 01100
- # reg write wr data
- 01010001010101111111010111111011
- # test case 42
- # stall
- 0
- # flush
- 0
- # pc
- 1111000011111110
- # aluop
- ALU_SRL
- # alusrc1
- 0
- # alusrc2
- 0
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01101000101010100100100000100000
- # readdata2
- 00111011100010100101000100001111
- # imm
- 01101100000001101000111111011000
- # branchtype
- BR_CND
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_HU
- # wb rd
- 11100
- # wb write
- 1
- # wb src
- WBS_MEM
- # reg write mem write
- 1
- # reg write mem reg
- 11101
- # reg write mem data
- 01011001001110001100000100110111
- # reg write wr write
- 0
- # reg write wr reg
- 10111
- # reg write wr data
- 01110010110010101111110000100100
- # test case 43
- # stall
- 0
- # flush
- 0
- # pc
- 0001000011111011
- # aluop
- ALU_SLT
- # alusrc1
- 0
- # alusrc2
- 1
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01101001101110001101000010101011
- # readdata2
- 01000101010010011110000111011010
- # imm
- 01010111100000001110010101110100
- # branchtype
- BR_CNDI
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_BU
- # wb rd
- 10101
- # wb write
- 1
- # wb src
- WBS_MEM
- # reg write mem write
- 1
- # reg write mem reg
- 00100
- # reg write mem data
- 01111001101001110000010011110011
- # reg write wr write
- 0
- # reg write wr reg
- 11100
- # reg write wr data
- 01001110000111100010001000110001
- # test case 44
- # stall
- 0
- # flush
- 0
- # pc
- 0010101000011000
- # aluop
- ALU_SLT
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00001101100100111011101001110111
- # readdata2
- 00011000010100011100011110010001
- # imm
- 00010001101110001101011001110100
- # branchtype
- BR_BR
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_H
- # wb rd
- 11000
- # wb write
- 0
- # wb src
- WBS_ALU
- # reg write mem write
- 1
- # reg write mem reg
- 11001
- # reg write mem data
- 01011111101111101000001010100100
- # reg write wr write
- 1
- # reg write wr reg
- 01101
- # reg write wr data
- 01110010111101100010101010111011
- # test case 45
- # stall
- 0
- # flush
- 0
- # pc
- 1111100000101011
- # aluop
- ALU_SLT
- # alusrc1
- 0
- # alusrc2
- 0
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01111011001111110010001101000101
- # readdata2
- 00111110010010001001011001110001
- # imm
- 01110110101111000010011000100010
- # branchtype
- BR_CND
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_BU
- # wb rd
- 00010
- # wb write
- 0
- # wb src
- WBS_ALU
- # reg write mem write
- 1
- # reg write mem reg
- 11101
- # reg write mem data
- 01101110010010100010011001010111
- # reg write wr write
- 0
- # reg write wr reg
- 10001
- # reg write wr data
- 01110010011011011100000110110100
- # test case 46
- # stall
- 0
- # flush
- 0
- # pc
- 0010100011101111
- # aluop
- ALU_XOR
- # alusrc1
- 1
- # alusrc2
- 1
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00001101101001111011011101111000
- # readdata2
- 00011111011001011000000001000100
- # imm
- 01110011100110000000000110100111
- # branchtype
- BR_CND
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_BU
- # wb rd
- 01001
- # wb write
- 1
- # wb src
- WBS_ALU
- # reg write mem write
- 0
- # reg write mem reg
- 11100
- # reg write mem data
- 00101101110001010001001101111000
- # reg write wr write
- 1
- # reg write wr reg
- 11110
- # reg write wr data
- 00010011110101011110011101000010
- # test case 47
- # stall
- 0
- # flush
- 0
- # pc
- 0010111000010100
- # aluop
- ALU_SRA
- # alusrc1
- 0
- # alusrc2
- 0
- # alusrc3
- 0
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00001010111110101100100110111010
- # readdata2
- 00100001010011010110000011010001
- # imm
- 01010110011010011000111101101001
- # branchtype
- BR_NOP
- # memread
- 0
- # memwrite
- 1
- # memtype
- MEM_HU
- # wb rd
- 01111
- # wb write
- 0
- # wb src
- WBS_ALU
- # reg write mem write
- 1
- # reg write mem reg
- 01110
- # reg write mem data
- 00011000010011000111011010100011
- # reg write wr write
- 1
- # reg write wr reg
- 10101
- # reg write wr data
- 00110111000110000101100101100001
- # test case 48
- # stall
- 0
- # flush
- 0
- # pc
- 0000010100010001
- # aluop
- ALU_XOR
- # alusrc1
- 1
- # alusrc2
- 0
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 00000110111001101000000101100001
- # readdata2
- 01101001000110100000000101011011
- # imm
- 00100110101110111101100100000011
- # branchtype
- BR_NOP
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_B
- # wb rd
- 11100
- # wb write
- 1
- # wb src
- WBS_MEM
- # reg write mem write
- 1
- # reg write mem reg
- 11101
- # reg write mem data
- 01001100111000110110111100100100
- # reg write wr write
- 0
- # reg write wr reg
- 00110
- # reg write wr data
- 01110011110100111110010100000101
- # test case 49
- # stall
- 0
- # flush
- 0
- # pc
- 1000101111100101
- # aluop
- ALU_SUB
- # alusrc1
- 0
- # alusrc2
- 1
- # alusrc3
- 1
- # rs1
- 00000
- # rs2
- 00000
- # readdata1
- 01011001001010111111111101101111
- # readdata2
- 01110110001110100101101101111111
- # imm
- 01011101011000110011001011010011
- # branchtype
- BR_CNDI
- # memread
- 1
- # memwrite
- 0
- # memtype
- MEM_B
- # wb rd
- 00000
- # wb write
- 1
- # wb src
- WBS_OPC
- # reg write mem write
- 0
- # reg write mem reg
- 11000
- # reg write mem data
- 01110110001110010100000111100000
- # reg write wr write
- 1
- # reg write wr reg
- 11011
- # reg write wr data
- 01100111011101111010011011001000
|