NanDigits Design Automation

   Home | Solutions | Download | Applications | Purchase | About Us | Whats New

Go back to manual top

1.18. Perl Script Interface in GOF (Need ECOPRO license to run this feature)

  • From Version 2.203, GOF built a Perl Script Interface.
  • In GofViewer Actions->Run Perl Script

       

  • Run perl script window pops up, input the file script file.

      

  • print command will print on the result window.

      

  • Click  gofext_APIs.pm to read the example code.
  • The script should be a package naming GOFPERL
  • Every API called should have "&" prefix, E.G. "&get_driver"
  • Function "RUN" should be defined.

		

package GOFPERL;
sub RUN{

    # more code here
    my $driver = &get_driver($net, $path);

    #more code here ...
}

 

 

<<Previous Page   Next Page>>

Copyright © 2008 NanDigits Design Automation. All rights reserved.