URL
https://opencores.org/ocsvn/zap/zap/trunk
Subversion Repositories zap
Compare Revisions
- This comparison shows the changes necessary to convert path
/zap/trunk
- from Rev 12 to Rev 13
- ↔ Reverse comparison
Rev 12 → Rev 13
/ZAP/hw/sim/run_sim_gui.pl
8,6 → 8,18
die "*E: Dialog does not exist! Please install dialog" if system("which dialog"); |
die "*E: XTerm does not exist! Please install xterm" if system("which xterm"); |
|
my $ivl_version = `iverilog -v`; |
|
$ivl_version =~ m/([0-9]+)\.([0-9]+)/; |
$ivl_version = $1; |
my $ivl_subversion = $2; |
|
if ( $1 >= 10 ) { |
print "*I: Icarus Verilog version check passed! Detected version $ivl_version.$ivl_subversion"; |
} else { |
die "*E: Older version of Icarus Verilog is being used. Please upgrade to 10.0 or higher..."; |
} |
|
my $system = 'dialog --backtitle "ZAP Simulation Options" --title "ZAP Simulation Options" --form "ZAP simulation options" 25 100 16\ |
"ZAP Root (ZAP_HOME)" 1 1 "../.." 1 25 25 30\ |
"Seed" 2 1 "0 " 2 25 25 30\ |