Hi ALL

I am working with ADS design suite, and I found out it has some perl modules in it that help convert citi files to the data set format .ds that the suite uses. I am trying to use the module but not really getting anywhere as well the syntax is confusing me, if anyone can help explain it for me?

use strict; use warnings; use dKitCircuit; use dKitResults; my $dir = "build-2"; opendir DIR, $dir or die "cannot open dir $dir: $!"; my @file= readdir DIR; closedir DIR; dKitResults->convertCitifile2Dataset('pathToFile'[,'setName']); #the moduleit specifies to use this, but couldn't get it to work, #so tried the below statement #dKitResults->convertCitifile2Dataset('build-2/\$file[1]','x'); #this allows it to compile, but doesn't work either foreach(@file){ print $_,"\n"; #dKitResults->convertCitifile2Dataset($dir."/".$_,"X"); } #output# syntax error at C:\Users\QUB\Desktop\hakim\scripts\convert.pl line 12, + near "'build-2/\$file[1]'[" Execution of C:\Users\QUB\Desktop\hakim\scripts\convert.pl aborted due + to co mpilation errors. Press any key to continue . . .

As well in the .pm it has ($;$) for the subfunction

sub convertCitifile2Dataset($;$) #UPDATE# dKitResults->convertCitifile2Dataset('build-2/wafer_807_T1_ME_build2_d +cbk.cti','choclate'); #WORKS

Also needed to copy certain bin files and .dll files from the ADS bin directory to StrawberryPerl as it required to connect to some server the suite uses. May have been different on Linux?? My First Time using Strawberry

Thanks for comments & help

If it helps any in the future, I searched using the Windows in the start menu for gsl37.dll as it was also looking for this. Right clicked it and opened the file containing and copied everything in it to the C:\Strawberry\bin directory


In reply to What does this mean? by hakim-djz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.