Commit ab0c708f authored by Paulo Henrique Silva's avatar Paulo Henrique Silva

Fix to use vvp/gtkwave on OS X.

* Homebrew installs vvp and gtkwave on /usr/local/bin, so current tool
* file failed because the path was not including this folder. Easier to
* add a config and allow custom vvp/gtkwave location.
parent adb145fc
...@@ -116,6 +116,14 @@ ...@@ -116,6 +116,14 @@
format="CopyValue" default="/usr/bin/iverilog" readonly="false" format="CopyValue" default="/usr/bin/iverilog" readonly="false"
visible="true" /> visible="true" />
<parameter id="VVP_Exe" label="VVP_Exe" type="Filename"
format="CopyValue" default="/usr/bin/vvp" readonly="false"
visible="true" />
<parameter id="GtkWave_Exe" label="GtkWave_Exe" type="Filename"
format="CopyValue" default="/usr/bin/gtkwave" readonly="false"
visible="true" />
<parameter id="Param_TopModule" label="Top module extracted from the chosen target file" <parameter id="Param_TopModule" label="Top module extracted from the chosen target file"
type="String" format="TopModuleSyntax" default="%%TopModule" type="String" format="TopModuleSyntax" default="%%TopModule"
readonly="true" visible="true" /> readonly="true" visible="true" />
...@@ -283,6 +291,8 @@ ...@@ -283,6 +291,8 @@
"Param_Exe" "Param_Exe"
"Param_Shell_Options" "Param_Shell_Options"
"IVerilogOther" "IVerilogOther"
"VVP_Exe"
"GtkWave_Exe"
"LogFile" "LogFile"
"OutFile" "OutFile"
"LxtDumpFile" "LxtDumpFile"
...@@ -358,7 +368,7 @@ ...@@ -358,7 +368,7 @@
<!-- "time vvp -v" --> <!-- "time vvp -v" -->
"%Param_1" "%Param_1"
"trap 'killall vvp; ' EXIT;" "trap 'killall vvp; ' EXIT;"
"vvp -v" "%VVP_Exe -v"
"%Param_2" "%Param_2"
"%OutFileFull" "%OutFileFull"
"-lxt2 " "-lxt2 "
...@@ -373,7 +383,7 @@ ...@@ -373,7 +383,7 @@
<!-- "%Param_2" --> <!-- "%Param_2" -->
"%Param_3" "%Param_3"
<if ShowWaves="true"> <if ShowWaves="true">
"gtkwave" "%GtkWave_Exe"
"%LxtDumpFileFull" "%LxtDumpFileFull"
"%GTKWaveSavFile" "%GTKWaveSavFile"
"&amp; " "&amp; "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment