OpenCores
URL https://opencores.org/ocsvn/an-fpga-implementation-of-low-latency-noc-based-mpsoc/an-fpga-implementation-of-low-latency-noc-based-mpsoc/trunk

Subversion Repositories an-fpga-implementation-of-low-latency-noc-based-mpsoc

[/] [an-fpga-implementation-of-low-latency-noc-based-mpsoc/] [trunk/] [mpsoc/] [perl_gui/] [lib/] [perl/] [simulator.pl] - Diff between revs 34 and 36

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 34 Rev 36
Line 52... Line 52...
 
 
 
 
 
 
 
 
        #verilate the noc
        #verilate the noc
 
        my $command = "rm -f  $script_dir/logfile1.txt  $script_dir/logfile2.txt";
 
        my ($stdout,$exit)=run_cmd_in_back_ground_get_stdout( $command);
 
 
        my $start = localtime;
        my $start = localtime;
        add_info($info_text, "verilate the NoC and make the library files");
        add_info($info_text, "verilate the NoC and make the library files");
        my $command = "cd \"$script_dir/\" \n   xterm   -l -lf logfile1.txt -e  sh verilator_compile_hw.sh";
        $command = "cd \"$script_dir/\" \n      xterm   -l -lf logfile1.txt -e  sh verilator_compile_hw.sh";
        my ($stdout,$exit)=run_cmd_in_back_ground_get_stdout( $command);
        ($stdout,$exit)=run_cmd_in_back_ground_get_stdout( $command);
        if($exit != 0){
        if($exit != 0){
                print "Verilator compilation failed !\n";
                print "Verilator compilation failed !\n";
                add_info($info_text, "Verilator compilation failed !\n$command\n $stdout\n");
                add_info($info_text, "Verilator compilation failed !\n$command\n $stdout\n");
                return;
                return;
        }
        }
Line 168... Line 171...
        message_dialog("Simulation has saved as lib/simulate/$name.SIM!");
        message_dialog("Simulation has saved as lib/simulate/$name.SIM!");
        return 1;
        return 1;
}
}
 
 
#############
#############
#       load_emulation
#       load_simulation
############
############
 
 
sub load_simulation {
sub load_simulation {
        my ($simulate,$info)=@_;
        my ($simulate,$info)=@_;
        my $file;
        my $file;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.