Skip to content

Commit

Permalink
white space typo for make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrayne committed Jun 3, 2024
1 parent 540bf48 commit b3823a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions vunit/sim_if/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ def fail():
except TypeError:
fail()


class DictOfStringOption(Option):
"""
Must be a dictinary of strings
Expand Down
8 changes: 4 additions & 4 deletions vunit/sim_if/modelsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from ..ostools import Process, file_exists
from ..vhdl_standard import VHDL
from . import SimulatorInterface, ListOfStringOption, StringOption
from . import DictOfStringOption
from . import DictOfStringOption
from .vsim_simulator_mixin import VsimSimulatorMixin, fix_path

LOGGER = logging.getLogger(__name__)
Expand Down Expand Up @@ -234,7 +234,7 @@ def _create_load_function(self, test_suite_name, config, output_path):
"""
Create the vunit_load TCL function that runs the vsim command and loads the design
"""

self._vsim_extra_ini(config)

set_generic_str = " ".join(
Expand Down Expand Up @@ -376,7 +376,7 @@ def _vsim_extra_args(self, config):
vsim_extra_args = config.sim_options.get("modelsim.vsim_flags.gui", vsim_extra_args)

return " ".join(vsim_extra_args)

def _vsim_extra_ini(self, config):
if not self._gui:
return
Expand All @@ -387,7 +387,7 @@ def _vsim_extra_ini(self, config):
vsim_extra_ini = config.sim_options.get("modelsim.vsim_ini.gui", vsim_extra_ini)
for name, val in vsim_extra_ini.items():
cfg.set("vsim", name, val)

write_modelsimini(cfg, self._sim_cfg_file_name)
return

Expand Down

0 comments on commit b3823a6

Please sign in to comment.