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

Subversion Repositories socgen

[/] [socgen/] [trunk/] [tools/] [simulation/] [run_coverage] - Diff between revs 119 and 124

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

Rev 119 Rev 124
Line 98... Line 98...
 
 
my $parser = XML::LibXML->new();
my $parser = XML::LibXML->new();
 
 
 
 
 
 
my @components   = yp::lib::find_components("socgen:ip",$vendor,$project);
my @components   = yp::lib::find_components("socgen:componentConfiguration",$vendor,$project);
 
 
foreach my $component (@components)
foreach my $component (@components)
   {
   {
   my $socgen_ip_file     = $parser->parse_file(yp::lib::find_socgen("socgen:ip",$vendor,$project,$component));
   my $sogen_file     = $parser->parse_file(yp::lib::find_socgen("socgen:componentConfiguration",$vendor,$project,$component));
 
 
   #/*********************************************************************************************/
   #/*********************************************************************************************/
   #/   files for simulation                                                                     */
   #/   files for simulation                                                                     */
   #/                                                                                            */
   #/                                                                                            */
   #/*********************************************************************************************/
   #/*********************************************************************************************/
 
 
   foreach  my   $i_name ($socgen_ip_file->findnodes("//socgen:ip/socgen:testbenches/socgen:testbench/socgen:name"))
   foreach  my   $i_name ($sogen_file->findnodes("//socgen:componentConfiguration/socgen:sim/socgen:testbenches/socgen:testbench/socgen:name"))
      {
      {
      my($tb_name)     = $i_name ->findnodes('./text()')->to_literal ;
      my($tb_name)     = $i_name ->findnodes('./text()')->to_literal ;
      my($tb_variant)  = $i_name ->findnodes('../socgen:variant/text()')->to_literal ;
      my($tb_variant)  = $i_name ->findnodes('../socgen:variant/text()')->to_literal ;
      my($tb_version)  = $i_name ->findnodes('../socgen:version/text()')->to_literal ;
      my($tb_version)  = $i_name ->findnodes('../socgen:version/text()')->to_literal ;
 
 

powered by: WebSVN 2.1.0

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