change simulation options

This commit is contained in:
Roselyne Chotin 2012-08-20 08:29:31 +00:00
parent 33eca48c11
commit 827b3bd400
2 changed files with 3 additions and 2 deletions

View File

@ -512,12 +512,12 @@ class Model :
if not name : name = self._name
if st_config.simulator == 'asimut' :
runpat ( self._name, name, '-l 1 -p 100 -zerodelay -nocheckdriver -nostrict -bdd -nowarning' )
runpat ( self._name, name, '-l 1 -p 100 -zerodelay -bdd' )
elif st_config.simulator == 'ghdl' :
import os
cmd_str = ('ghdl -c -g -Psxlib --ieee=synopsys *.vhd -r %s_run --vcd=%s.vcd' %(name,name))
os.system(cmd_str)
elif tool == 'asimut' : runpat ( self._name, name, '-l 1 -p 100 -zerodelay -nocheckdriver -nostrict -bdd -nowarning' )
elif tool == 'asimut' : runpat ( self._name, name, '-l 1 -p 100 -zerodelay -bdd' )
else : raise Exception ( 'not implemented yet' )
##### TestBench : in order to create testbench #####

View File

@ -68,6 +68,7 @@ if configFile:
else:
print "No configuration file found, using default configuration"
import st_config
print "Output format : %s\nSimulator : %s" %(st_config.format,st_config.simulator)
from st_model import *