Esempio n. 1
0
 def __init__(self, prefix, output_path, gui=False):
     SimulatorInterface.__init__(self, output_path, gui)
     self._library_cfg = join(output_path, "library.cfg")
     self._prefix = prefix
     self._create_library_cfg()
     self._libraries = []
     self._coverage_files = set()
Esempio n. 2
0
 def __init__(self, prefix, library_cfg="library.cfg", gui=False):
     SimulatorInterface.__init__(self)
     self._library_cfg = abspath(library_cfg)
     self._prefix = prefix
     self._gui = gui
     self._create_library_cfg()
     self._libraries = []
Esempio n. 3
0
 def __init__(self, prefix, output_path, persistent=False, gui=False):
     SimulatorInterface.__init__(self, output_path, gui)
     VsimSimulatorMixin.__init__(self, prefix, persistent,
                                 sim_cfg_file_name=join(output_path, "library.cfg"))
     self._create_library_cfg()
     self._libraries = []
     self._coverage_files = set()
Esempio n. 4
0
 def __init__(self, prefix, library_cfg="library.cfg", persistent=False, gui=False, coverage=None):
     SimulatorInterface.__init__(self)
     VsimSimulatorMixin.__init__(self, prefix, persistent, gui, library_cfg)
     self._create_library_cfg()
     self._libraries = []
     self._coverage = coverage
     self._coverage_files = set()
Esempio n. 5
0
 def __init__(self, prefix, output_path, persistent=False, gui=False):
     SimulatorInterface.__init__(self, output_path, gui)
     VsimSimulatorMixin.__init__(self, prefix, persistent,
                                 sim_cfg_file_name=join(output_path, "library.cfg"))
     self._create_library_cfg()
     self._libraries = []
     self._coverage_files = set()
Esempio n. 6
0
 def __init__(self, prefix, modelsim_ini="modelsim.ini", persistent=False, gui=False, coverage=None):
     SimulatorInterface.__init__(self)
     VsimSimulatorMixin.__init__(self, prefix, persistent, gui, modelsim_ini)
     self._libraries = []
     self._coverage = coverage
     self._coverage_files = set()
     assert not (persistent and gui)
     self._create_modelsim_ini()
Esempio n. 7
0
 def __init__(self, prefix, output_path, persistent=False, gui=False):
     SimulatorInterface.__init__(self, output_path, gui)
     VsimSimulatorMixin.__init__(self, prefix, persistent,
                                 sim_cfg_file_name=join(output_path, "modelsim.ini"))
     self._libraries = []
     self._coverage_files = set()
     assert not (persistent and gui)
     self._create_modelsim_ini()
Esempio n. 8
0
 def __init__(self, prefix, output_path, persistent=False, gui=False):
     SimulatorInterface.__init__(self, output_path, gui)
     VsimSimulatorMixin.__init__(self, prefix, persistent,
                                 sim_cfg_file_name=join(output_path, "modelsim.ini"))
     self._libraries = []
     self._coverage_files = set()
     assert not (persistent and gui)
     self._create_modelsim_ini()
Esempio n. 9
0
 def __init__(self,  # pylint: disable=too-many-arguments
              prefix, output_path, gui=False, log_level=None, cdslib=None, hdlvar=None):
     SimulatorInterface.__init__(self, output_path, gui)
     self._prefix = prefix
     self._libraries = []
     self._log_level = log_level
     if cdslib is None:
         self._cdslib = abspath(join(output_path, 'cds.lib'))
     else:
         self._cdslib = abspath(cdslib)
     self._hdlvar = hdlvar
     self._cds_root_irun = self.find_cds_root_irun()
     self._create_cdslib()
Esempio n. 10
0
 def __init__(self,  # pylint: disable=too-many-arguments
              prefix, output_path, gui=False, log_level=None, cdslib=None, hdlvar=None):
     SimulatorInterface.__init__(self, output_path, gui)
     self._prefix = prefix
     self._libraries = []
     self._log_level = log_level
     if cdslib is None:
         self._cdslib = abspath(join(output_path, 'cds.lib'))
     else:
         self._cdslib = abspath(cdslib)
     self._hdlvar = hdlvar
     self._cds_root_irun = self.find_cds_root_irun()
     self._create_cdslib()
Esempio n. 11
0
    def __init__(self, prefix, gui=False, gtkwave_fmt=None, gtkwave_args="", backend="llvm"):
        SimulatorInterface.__init__(self)
        self._prefix = prefix
        self._project = None

        if gui and (not self.find_executable('gtkwave')):
            raise RuntimeError(
                "Cannot find the gtkwave executable in the PATH environment variable. GUI not possible")

        self._gui = gui
        self._gtkwave_fmt = "ghw" if gui and gtkwave_fmt is None else gtkwave_fmt
        self._gtkwave_args = gtkwave_args
        self._backend = backend
        self._vhdl_standard = None
Esempio n. 12
0
    def __init__(self,  # pylint: disable=too-many-arguments
                 output_path, prefix, gui=False, gtkwave_fmt=None, gtkwave_args="", backend="llvm"):
        SimulatorInterface.__init__(self, output_path, gui)
        self._prefix = prefix
        self._project = None

        if gui and (not self.find_executable('gtkwave')):
            raise RuntimeError(
                "Cannot find the gtkwave executable in the PATH environment variable. GUI not possible")

        self._gui = gui
        self._gtkwave_fmt = "ghw" if gui and gtkwave_fmt is None else gtkwave_fmt
        self._gtkwave_args = gtkwave_args
        self._backend = backend
        self._vhdl_standard = None
Esempio n. 13
0
 def __init__(self, prefix, output_path, gui=False):
     SimulatorInterface.__init__(self, output_path, gui)
     self._library_cfg = join(output_path, "library.cfg")
     self._prefix = prefix
     self._create_library_cfg()
     self._libraries = []