From f11c212c68897ae5a1265128f855e040d5473541 Mon Sep 17 00:00:00 2001 From: "Rodrigo A. Melo" Date: Mon, 30 Aug 2021 09:06:50 -0300 Subject: [PATCH] Fixed an issue with the shared command-line arguments of Incisive and Xcelium --- vunit/sim_if/incisive.py | 19 +------------------ vunit/sim_if/xcelium.py | 2 +- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/vunit/sim_if/incisive.py b/vunit/sim_if/incisive.py index 455de667b3..76187102f6 100644 --- a/vunit/sim_if/incisive.py +++ b/vunit/sim_if/incisive.py @@ -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): diff --git a/vunit/sim_if/xcelium.py b/vunit/sim_if/xcelium.py index 609ce47fb3..8803776f4d 100644 --- a/vunit/sim_if/xcelium.py +++ b/vunit/sim_if/xcelium.py @@ -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",