OpenCores
URL https://opencores.org/ocsvn/tv80/tv80/trunk

Subversion Repositories tv80

[/] [tv80/] [trunk/] [scripts/] [run] - Rev 2

Go to most recent revision | Compare with Previous | Blame | View Log

#!/usr/bin/env python

import sys, os

testname = sys.argv[1]
simulator = "cver"

filelist = " -f env/tb.vf"
testdef  = " +incdir+env -l logs/%s.log +define+DUMPFILE_NAME=\\\"logs/%s.dump\\\" +define+PROGRAM_FILE=\\\"tests/%s.vmem\\\"" % (testname, testname, testname)

os.chdir ("tests")
os.system ("make %s.vmem" % testname)
os.chdir ("..")

command = simulator + filelist + testdef

print "command:",command
os.system (command)

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.