Skip to content

Commit

Permalink
Fixed an issue with the shared command-line arguments of Incisive and…
Browse files Browse the repository at this point in the history
… Xcelium
  • Loading branch information
rodrigomelo9 committed Aug 30, 2021
1 parent 347d17b commit f11c212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
19 changes: 1 addition & 18 deletions vunit/sim_if/incisive.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,7 @@ class IncisiveInterface( # pylint: disable=too-many-instance-attributes

sim_options = [ListOfStringOption("incisive.irun_sim_flags")]

@staticmethod
def add_arguments(parser):
"""
Add command line arguments
"""
group = parser.add_argument_group(
"Incisive irun", description="Incisive irun-specific flags"
)
group.add_argument(
"--cdslib",
default=None,
help="The cds.lib file to use. If not given, VUnit maintains its own cds.lib file.",
)
group.add_argument(
"--hdlvar",
default=None,
help="The hdl.var file to use. If not given, VUnit does not use a hdl.var file.",
)
# NOTE: Incisive shares the command-line arguments with Xcelium

@classmethod
def from_args(cls, args, output_path, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion vunit/sim_if/xcelium.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def add_arguments(parser):
Add command line arguments
"""
group = parser.add_argument_group(
"Xcelium xrun", description="Xcelium xrun-specific flags"
"Xcelium/Incisive", description="Xcelium/Incisive-specific flags"
)
group.add_argument(
"--cdslib",
Expand Down

0 comments on commit f11c212

Please sign in to comment.