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

Subversion Repositories wb_builder

[/] [wb_builder/] [trunk/] [generator/] [wishbone.pl] - Diff between revs 15 and 16

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

Rev 15 Rev 16
Line 107... Line 107...
  $slave[$slaves]{"size3"}="ffffffff";
  $slave[$slaves]{"size3"}="ffffffff";
};
};
 
 
sub read_defines {
sub read_defines {
$priority=0;
$priority=0;
 
$masters=0;
 
$slaves=0;
open(FILE,"<$_[0]") or die "could not read from $file";
open(FILE,"<$_[0]") or die "could not read from $file";
while($a = <FILE>)
while($a = <FILE>)
{
{
  if ($a =~ /^(syscon|intercon|filename)( *)(=)( *)([a-zA-Z0-9_\/\.]+)(;?)$/) {
  if ($a =~ /^(syscon|intercon|filename)( *)(=)( *)([a-zA-Z0-9_\/\.]+)(;?)$/) {
    if($1 eq "syscon")   { $syscon = $5; }
    if($1 eq "syscon")   { $syscon = $5; }

powered by: WebSVN 2.1.0

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