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/] [mpsoc_gen.pl] - Diff between revs 28 and 29

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

Rev 28 Rev 29
Line 1172... Line 1172...
                       next;
                       next;
                }
                }
 
 
                #update core id
                #update core id
                $soc->object_add_attribute('global_param','CORE_ID',$tile_num);
                $soc->object_add_attribute('global_param','CORE_ID',$tile_num);
 
                #update NoC param
 
                #my %nocparam = %{$mpsoc->object_get_attribute('noc_param',undef)};
 
                my $nocparam =$mpsoc->object_get_attribute('noc_param',undef);
 
                $soc->soc_add_instance_param('ni0' ,$nocparam );
 
                #foreach my $p ( sort keys %nocparam ) {
 
 
 
                #       print "$p = $nocparam{$p} \n";
 
                #}
 
 
                my $sw_path     = "$sw_dir/tile$tile_num";
                my $sw_path     = "$sw_dir/tile$tile_num";
                #print "$sw_path\n";
                #print "$sw_path\n";
                if( grep (/^$soc_name$/,@generated_tiles)){ # This soc is generated before only create the software file
                if( grep (/^$soc_name$/,@generated_tiles)){ # This soc is generated before only create the software file
                        generate_soc($soc,$info,$target_dir,$hw_dir,$sw_path,0,0);
                        generate_soc($soc,$info,$target_dir,$hw_dir,$sw_path,0,0);
Line 1405... Line 1413...
 
 
 
 
 
 
#programe the memory
#programe the memory
for i in $(ls -d */); do
for i in $(ls -d */); do
        sh ${i%%/}/write_memory.sh
        cd ${i%%/}
 
        sh write_memory.sh
 
        cd ..
done
done
 
 
#Enable the cpu
#Enable the cpu
$JTAG_MAIN -n 127  -d  "I:1,D:2:0,I:0"
$JTAG_MAIN -n 127  -d  "I:1,D:2:0,I:0"
# I:1  set jtag_enable  in active mode
# I:1  set jtag_enable  in active mode

powered by: WebSVN 2.1.0

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