VUnit / vunit

VUnit is a unit testing framework for VHDL/SystemVerilog
http://vunit.github.io/
Other
723 stars 258 forks source link

examples/vhdl/user_guide/run.py: error: unrecognized arguments: --gui #176

Closed eine closed 8 years ago

eine commented 8 years ago

I successfully tried the commands in http://vunit.github.io/cli.html#example-session However, when I try either python run.py --gui lib.tb_example.all & or python run.py --g lib.tb_example.all &, I get the following error:

usage: run.py [-h] [-l] [-f] [--compile] [-k] [--elaborate] [--clean]
              [-o OUTPUT_PATH] [-x XUNIT_XML] [--exit-0] [-v] [--no-color]
              [--log-level {info,error,warning,debug}] [-p NUM_THREADS]
              [--gtkwave {vcd,ghw}] [--gtkwave-args GTKWAVE_ARGS]
              [--use-debug-codecs]
              [tests [tests ...]]
run.py: error: unrecognized arguments: --gui

I compared the provided options with those shown in http://vunit.github.io/cli.html#usage , and I realized that [-g] is not shown in my setup:

usage: run.py [-h] [-l] [-f] [--compile] [-k] [--elaborate] [--clean]
              [-o OUTPUT_PATH] [-x XUNIT_XML] [--exit-0] [-v] [--no-color]
              [--log-level {info,error,warning,debug}] [-p NUM_THREADS] [-g]
              [--new-vsim] [--coverage [COVERAGE]] [--gtkwave {vcd,ghw}]
              [--gtkwave-args GTKWAVE_ARGS] [--use-debug-codecs]
              [tests [tests ...]]

Since I am using the latest version (cloned the git repo and added as explained in http://vunit.github.io/installing.html#for-vunit-developers), I don't know whether I am missing something.

I'm with 4.5.7-200.fc23.x86_64, Python 2.7.11, and GHDL 0.34dev.

eine commented 8 years ago

Just realized that using --gtkwave automatically launches GHDL. No need to add -g or --gui.