mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-23 04:54:29 +00:00
Removed symlinks for non-buildroot derivative configs
This commit is contained in:
parent
37c459ba89
commit
4e2b3cdbec
@ -88,14 +88,16 @@ foreach my $key (@derivnames) {
|
||||
open(my $unmod, $configunmod) or die "Could not open file '$configunmod' $!";
|
||||
open(my $fh, '>>', $config) or die "Could not open file '$config' $!";
|
||||
|
||||
# Create symlink to imperas.ic for deriv if exists
|
||||
my $baseimperas_ic = "$ENV{WALLY}/config/$basederiv{$key}/imperas.ic";
|
||||
if (! -e $baseimperas_ic) {
|
||||
my $baseimperas_ic = "$ENV{WALLY}/config/deriv/$basederiv{$key}/config.vh";
|
||||
}
|
||||
if (-e $baseimperas_ic) { # If imperas.ic exists for base derivative, create hardlink to it
|
||||
my $imperas_ic = "$dir/imperas.ic";
|
||||
system("ln -T $baseimperas_ic $imperas_ic");
|
||||
# Create symlink to imperas.ic for deriv buildroot
|
||||
if ($key eq "buildroot") {
|
||||
my $baseimperas_ic = "$ENV{WALLY}/config/$basederiv{$key}/imperas.ic";
|
||||
if (! -e $baseimperas_ic) {
|
||||
my $baseimperas_ic = "$ENV{WALLY}/config/deriv/$basederiv{$key}/config.vh";
|
||||
}
|
||||
if (-e $baseimperas_ic) { # If imperas.ic exists for base derivative, create hardlink to it
|
||||
my $imperas_ic = "$dir/imperas.ic";
|
||||
system("ln -T $baseimperas_ic $imperas_ic");
|
||||
}
|
||||
}
|
||||
|
||||
my $datestring = localtime();
|
||||
|
2
bin/wsim
2
bin/wsim
@ -90,7 +90,7 @@ else: EnableLog = 0
|
||||
prefix = ""
|
||||
if (args.lockstep or args.lockstepverbose or args.fcov or args.fcovimp):
|
||||
if (args.sim == "questa" or args.sim == "vcs"):
|
||||
prefix = "IMPERAS_TOOLS=" + WALLY + "/config/"+args.config+"/imperas.ic"
|
||||
prefix = "IMPERAS_TOOLS=" + os.path.join(WALLY, "config", args.config, "imperas.ic")
|
||||
if not os.path.isfile(prefix): # If config is a derivative, look for imperas.ic in derivative configs
|
||||
prefix = "IMPERAS_TOOLS=" + os.path.join(WALLY, "config", "deriv", args.config, "imperas.ic")
|
||||
# Force Questa to use 64-bit mode, sometimes it defaults to 32-bit even on 64-bit machines
|
||||
|
Loading…
Reference in New Issue
Block a user