Tests: Update invoke_ scripts for more recent environment

This commit is contained in:
Wilson Snyder 2009-11-13 18:18:30 -05:00
parent 3fc55bba8e
commit bb6b825836
4 changed files with 9 additions and 4 deletions

View File

@ -10,7 +10,7 @@ use strict;
delete $ENV{MODULE_VERSION};
_setup_modules();
module('add','cadence_verif');
module('add','cadence-ius');
exec('iccr',@ARGV);
#######################################################################
@ -18,7 +18,7 @@ exec('iccr',@ARGV);
sub _setup_modules {
# Load the 'module' command into the environment
my $init = "/sicortex/$ENV{DIRPROJECT_ARCH}/lib/Modules/default/init/perl";
my $init = "$ENV{MODULESHOME}/init/perl";
(-f $init) or die "%Error: Script not found: $init,";
require $init;
}

View File

@ -10,7 +10,7 @@ use strict;
delete $ENV{MODULE_VERSION};
_setup_modules();
module('add','cadence_verif');
module('add','cadence-ius');
exec('ncverilog',@ARGV);
#######################################################################
@ -18,7 +18,7 @@ exec('ncverilog',@ARGV);
sub _setup_modules {
# Load the 'module' command into the environment
my $init = "/sicortex/$ENV{DIRPROJECT_ARCH}/lib/Modules/default/init/perl";
my $init = "$ENV{MODULESHOME}/init/perl";
(-f $init) or die "%Error: Script not found: $init,";
require $init;
}

View File

@ -1158,6 +1158,10 @@ Run using Verilator.
Root directory name of SystemC kit.
=item VERILATOR_IVERILOG
Command to use to invoke Icarus Verilog.
=item VERILATOR_NCVERILOG
Command to use to invoke ncverilog.

View File

@ -19,6 +19,7 @@ VERILATOR_ROOT := $(shell pwd)/..
export VERILATOR_ROOT
VERILATOR_NCVERILOG ?= ncverilog
VERILATOR_VCS ?= vcs
# Pick up PERL and other variable settings
include $(VERILATOR_ROOT)/include/verilated.mk