OpenCores
URL https://opencores.org/ocsvn/socgen/socgen/trunk

Subversion Repositories socgen

[/] [socgen/] [trunk/] [tools/] [simulation/] [run_lint] - Diff between revs 124 and 128

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

Rev 124 Rev 128
Line 110... Line 110...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
my $parser = XML::LibXML->new();
my $parser = XML::LibXML->new();
 
 
 
 
 
 
my @components   = yp::lib::find_components("socgen:componentConfiguration",$vendor,$project);
my @components   = yp::lib::find_components("socgen:componentConfiguration",$vendor,$project);
 
 
foreach my $component (@components)
foreach my $component (@components)
   {
   {
   my $sogen_file     = $parser->parse_file(yp::lib::find_socgen("socgen:componentConfiguration",$vendor,$project,$component));
   my $sogen_file     = $parser->parse_file(yp::lib::find_socgen("socgen:componentConfiguration",$vendor,$project,$component));
 
   my $sim_library_path   = $sogen_file->findnodes("//socgen:componentConfiguration/socgen:sim/socgen:library_path/text()")->to_literal;
 
 
 
 
   #/*********************************************************************************************/
   #/*********************************************************************************************/
   #/   files for simulation                                                                     */
   #/   files for simulation                                                                     */
   #/                                                                                            */
   #/                                                                                            */
   #/*********************************************************************************************/
   #/*********************************************************************************************/
Line 136... Line 134...
      my($sim_name)           = $i_name ->findnodes('./text()')->to_literal ;
      my($sim_name)           = $i_name ->findnodes('./text()')->to_literal ;
      my($sim_configuration)  = $i_name ->findnodes('../socgen:configuration/text()')->to_literal ;
      my($sim_configuration)  = $i_name ->findnodes('../socgen:configuration/text()')->to_literal ;
      my($sim_variant)        = $i_name ->findnodes('../socgen:variant/text()')->to_literal ;
      my($sim_variant)        = $i_name ->findnodes('../socgen:variant/text()')->to_literal ;
 
 
      print "  lint     $sim_name        $sim_configuration   $sim_variant   ";
      print "  lint     $sim_name        $sim_configuration   $sim_variant   ";
      chdir  ".${work_site}/${vendor}__${project}/ip/${component}/sim/rtl_check/${sim_name}";
      chdir  ".${work_site}/${vendor}__${project}${sim_library_path}/rtl_check/${sim_name}";
 
 
      $cmd ="make lint";
      $cmd ="make lint";
      if (system($cmd)) {}
      if (system($cmd)) {}
 
 
      chdir $home;
      chdir $home;

powered by: WebSVN 2.1.0

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