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

Subversion Repositories socgen

[/] [socgen/] [trunk/] [tools/] [yp/] [create_yp] - Diff between revs 117 and 118

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

Rev 117 Rev 118
Line 258... Line 258...
          $library_match = "/${library}/";
          $library_match = "/${library}/";
          $name_match = "/${name}/";
          $name_match = "/${name}/";
 
 
          $_ = $t_local;
          $_ = $t_local;
          if(/\S+($vendor_match)(\S+)/)                     { $vendor_path    = $2; }
          if(/\S+($vendor_match)(\S+)/)                     { $vendor_path    = $2; }
 
          else                                              { $vendor_path      = ""; }
          if(/\S+($library_match)(\S+)/)                    { $library_path   = $2; }
          if(/\S+($library_match)(\S+)/)                    { $library_path   = $2; }
          if(/\S+($library_match)(\S+)($name_match)(\S+)/)  { $lib_comp_sep   = $2;
          else                                              { $library_path     = ""; }
                                                              $component_path = $4; }
          if(/\S+($library_match)(\S+)($name_match)(\S+)/)  { $lib_comp_sep     = $2; }
 
          else                                              { $lib_comp_path    = ""; }
 
          if(/\S?($name_match)(\S+)/)                       { $component_path   = $2; }
 
          else                                              { $component_path   = ""; }
 
 
 
 
 
 
             print  OUTFILE "   \n";
             print  OUTFILE "   \n";
             print  OUTFILE "   ${type}\n";
             print  OUTFILE "   ${type}\n";

powered by: WebSVN 2.1.0

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