OSVVM / OSVVM-Scripts

OSVVM project simulation scripts. Scripts are tedious. These scripts simplify the steps to compile your project for simulation
Other
10 stars 14 forks source link

OSVVM-Scripts doesn't Detect Simulator Tool Correctly if not Installed in Default Directory #4

Closed Paebbels closed 3 years ago

Paebbels commented 4 years ago

Problem Description

I installed my Riviera-PRO installation into C:\Aldec\Riviera-PRO\2020.04. This leads to a different value in environment variable ALDEC, which contains the installation path. I use a subdirectory to handle multiple parallel Aldec tool installations.

C:\
  Aldec\
    Riviera-PRO\
      2019.10\
      2020.04\

Current Behavior

ToolConfiguration.tcl doesn't detect the tool correctly if e.g. installation directory is not the default tool directory. As fallback, Active-HDL is assumed.

Expected Behavior

Detect Riviera-PRO. Emit an error if tool isn't detected, don't assume Active-HDL as fallback.

Workaround

Change line 74 to:

if {[string match [string index $ToolExecutableName 0] "r"]} {

image

JimLewis commented 3 years ago

This should be fixed in the current release