Help for this page

Select Code to Download


  1. or download this
    my $match = "(?<=module )$ARGV[2].*?([\\(;])";
    print "$match";
    
    ...
    
    $string =~ s/$match/$ARGV[1]$1/sg;
    print "$1";
    
  2. or download this
    script.pl f5 NEW OLD
    (?<=module )OLD.*?([\(;])
    ...
        input B;
    
    endmodule