mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
update to match new filesystem organization
This commit is contained in:
parent
8cde06b886
commit
bb8587e06f
@ -4,7 +4,7 @@ import sys, os, subprocess
|
|||||||
def main():
|
def main():
|
||||||
maxGoodCount = 400e6 # num instrs that execute sucessfully starting from 0
|
maxGoodCount = 400e6 # num instrs that execute sucessfully starting from 0
|
||||||
currInstrCount = maxGoodCount
|
currInstrCount = maxGoodCount
|
||||||
linuxTestvectors = "../../tests/linux-testgen/linux-testvectors"
|
linuxTestvectors = "/opt/riscv/linux-testvectors"
|
||||||
if not os.path.exists(linuxTestvectors):
|
if not os.path.exists(linuxTestvectors):
|
||||||
sys.stderr.write("Error: Linux testvectors not found at "+linuxTestvectors+"\n")
|
sys.stderr.write("Error: Linux testvectors not found at "+linuxTestvectors+"\n")
|
||||||
exit(1)
|
exit(1)
|
||||||
@ -22,7 +22,7 @@ def main():
|
|||||||
break
|
break
|
||||||
checkpoint = checkpointList[0]
|
checkpoint = checkpointList[0]
|
||||||
logFile = logDir+"checkpoint"+str(checkpoint)+".log"
|
logFile = logDir+"checkpoint"+str(checkpoint)+".log"
|
||||||
runCommand="{\nvsim -c <<!\ndo wally-pipelined-batch.do buildroot buildroot 0 "+str(checkpoint+1)+" "+str(checkpoint)+"\n!\n} | tee "+logFile
|
runCommand="{\nvsim -c <<!\ndo wally-pipelined-batch.do buildroot buildroot /opt/riscv 0 "+str(checkpoint+1)+" "+str(checkpoint)+"\n!\n} | tee "+logFile
|
||||||
print(runCommand)
|
print(runCommand)
|
||||||
os.system(runCommand)
|
os.system(runCommand)
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user