URL
https://opencores.org/ocsvn/socgen/socgen/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 131 |
Rev 134 |
Line 87... |
Line 87... |
my $sim_variant = $ARGV[4];
|
my $sim_variant = $ARGV[4];
|
|
|
|
|
chdir "./${prefix}/${vendor}__${library}${sim_library_path}/icarus/${sim_name}";
|
chdir "./${prefix}/${vendor}__${library}${sim_library_path}/icarus/${sim_name}";
|
|
|
$cmd ="iverilog -f ../../testbenches/filelists/${sim_variant}.sim -D VCD 2> ./${sim_name}_elab.log | tee >> ./${$sim_name}_elab.log \n";
|
$cmd ="make sim \n";
|
if (system($cmd)) {}
|
if (system($cmd)) {}
|
$cmd ="./a.out 2> ./${sim_name}_sim.log | tee >> ./${sim_name}_sim.log \n";
|
#$cmd ="./a.out 2> ./${sim_name}_sim.log | tee >> ./${sim_name}_sim.log \n";
|
print " SIM Icarus $sim_name $sim_configuration $sim_variant \n ";
|
print " SIM Icarus $sim_name $sim_configuration $sim_variant \n ";
|
if (system($cmd)) {}
|
#if (system($cmd)) {}
|
$cmd ="grep PASSED ./${sim_name}_sim.log \n";
|
$cmd ="grep PASSED ./${sim_name}_sim.log \n";
|
if (system($cmd)) {}
|
if (system($cmd)) {}
|
$cmd ="rm a.out \n";
|
$cmd ="rm a.out \n";
|
if (system($cmd)) {}
|
if (system($cmd)) {}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.