PIPO from LE vs PIPO from PERL

Status
Not open for further replies.

David (5)

Usenet Archive
Joined
Nov 7, 2001
Messages
11
Reaction score
0
I am creating a script in PERL that is to be used in the tapeout phase of a project. At one point, I need to XOR a *.gds that was created by the LO Eng., against a *.gds that I want to create using "pipo strmout CONFIG_FILE" within PERL. Everything works great, except that the two *.gds file's XOR results ends up creating a complete new database, indicating that the two files are completely different. All streamouts from the Cadence tools, whether from running an LVS runset, or by Export->Stream from the CIW are identical (which would be expected). But, to restate, streamouts from a PERL script (and Unix command line) do not equal streamouts from layoutPlus environment.

A couple of things attempted:
- Streamout a new *.gds from within Cadence, and XOR against LO eng.'s file (which was created from within Cadence):
Result: Perfect Match.

- 'Dump' pipo config from Export->Stream in the CIW and use that for the "pipo strmout CONFIG_FILE" command from PERL and/or Unix command line.
XOR Result: No Match.

- Streamin all *.gds files for visual compare (including XOR results)
Result: All look visually exact.

Other info:
- Virtuoso versions: 4.4.5 and 4.4.6. Same results
- *.gds filesizes: Match
- PIPO.LOG file contents: Match (Except # of memory used)
- pipo_xout_info file contents: Match
- Platform: Sun, Solaris 2.7

I am stumped, and also very novice to Cadence tools. I am certain I have overlooked the obvious. Is PIPO, when started from within a Cadence environment, gathering config information other than what can be set, and 'dumped' in the streamout GUI?

Any other tips?
 
It sounds like you are saying you have a smoking gun test case proving that pipo runs differently from the GUI as opposed to the command line.

If that is true, tar up your library, hitch up your NDA's, and ship the whole thing to Cadence, this is a bug.

Many people still use Dracula for XOR'ing databases. The company I work at now keeps Dracula around for just this reason, although I don't think we use it for much else anymore.

Grant Erwin
Kirkland, Washington

David wrote:
I am creating a script in PERL that is to be used in the tapeout phase of a project. At one point, I need to XOR a *.gds that was created by the LO Eng., against a *.gds that I want to create using "pipo strmout CONFIG_FILE" within PERL. Everything works great, except that the two *.gds file's XOR results ends up creating a complete new database, indicating that the two files are completely different. All streamouts from the Cadence tools, whether from running an LVS runset, or by Export->Stream from the CIW are identical (which would be expected). But, to restate, streamouts from a PERL script (and Unix command line) do not equal streamouts from layoutPlus environment.
...
 
(David) wrote:
I am creating a script in PERL that is to be used in the tapeout phase of a project. At one point, I need to XOR a *.gds that was created by the LO Eng., against a *.gds that I want to create using "pipo strmout CONFIG_FILE" within PERL. Everything works great, except that the two *.gds file's XOR results ends up creating a complete new database, indicating that the two files are completely different.

More information please. Does your XOR plot both FIRST andNot SECOND as well as SECOND andNot FIRST, or literally only FIRST xor SECOND?

If it's literally only XOR, what does it show? Same as FIRST, as though the SECOND were empty?

All streamouts from the Cadence tools, whether from running an LVS runset, or by Export->Stream from the CIW are identical (which would be expected). But, to restate, streamouts from a PERL script (and Unix command line) do not equal streamouts from layoutPlus environment.

A couple of things attempted:
- Streamout a new *.gds from within Cadence, and XOR against LO eng.'s file (which was created from within Cadence):
Result: Perfect Match.

- 'Dump' pipo config from Export->Stream in the CIW and use that for

You meant "Export->Stream out", right?

the "pipo strmout CONFIG_FILE" command from PERL and/or Unix command line.
XOR Result: No Match.

- Streamin all *.gds files for visual compare (including XOR results)
Result: All look visually exact.

Try the stream-in GUI to convert both GDS files to text. Then verify that the shapes are on the expected GDS layer numbers *and* datatype numbers *and* scale (dbPerMicron). Typically datatype numbers are not shown in the pipo output logs, so two logs may be identical though the datatype numbers are different.

What do you use for doing the XOR? Could the two GDS files have different dbPerMicron? Suppose some XOR tools might poorly handle two grids, one at 100 and another at 1000, and show the result of XOring a database with it's own 10x reduced little brother near a corner or origin.

Other info:
- Virtuoso versions: 4.4.5 and 4.4.6. Same results
- *.gds filesizes: Match
- PIPO.LOG file contents: Match (Except # of memory used)
- pipo_xout_info file contents: Match
- Platform: Sun, Solaris 2.7

I am stumped, and also very novice to Cadence tools. I am certain I have overlooked the obvious.

and specific enough to your environment to not yet be visible to us.

Is PIPO, when started from within a Cadence environment, gathering config information other than what can be set, and 'dumped' in the streamout GUI?

The GUI only writes a config file and starts a pipo subprocess. You can stop it's pipo subprocess, examine it's arguments and config file for anything relevant.

If the config contents are the same, two pipo processes may each be influenced by their current directory and environment variables, since these can influence which cds.lib is found and the set and paths of all libs visible to the process. You should be able to use pwdx to show the current dir of two running pipo's, and /usr/ucb/ps to dump their environment variables.

Do your Opus startup files change the process' working dir, confusing you as to which cds.lib a subprocess pipo would find first?

If you have the Cadence executable nchelp, then "nchelp -cdslib" when run as a subprocess of Opus vs run from the perl program might reveal if different libs are being used.

Can you demonstrate any clean XOR from the perl pipo using a trivial layout? Construct a very simple test case: A new dummy lib (known not to exist anywhere else) with one trivial test layout (cell name known not to exist anywhere else); and a one-line cds.lib giving an absolute path to this lib, placed in a newly made subdir. Run pipo from Opus and the perl pipo, from this dir, trying to demonstrate *any* successful clean XOR from these results. If clean, repeat this test, but adding in absolute paths to all your real libs, and XOR-ing the real cell.
 
Hi Reb,

Thank you very much for the strategies. I will investigate them and see what I can find out.

David

wrote:
(David) wrote:
> I am creating a script in PERL that is to be used in the tapeout phase
> of a project. At one point, I need to XOR a *.gds that was created by
> the LO Eng., against a *.gds that I want to create using "pipo strmout
> CONFIG_FILE" within PERL.
> Everything works great, except that the two *.gds file's XOR results
> ends up creating a complete new database, indicating that the two
> files are completely different.

More information please. Does your XOR plot both FIRST andNot SECOND as well as SECOND andNot FIRST, or literally only FIRST xor SECOND?

...
 
David,

Since all that the GUI does is write out a template file based on the contents of the form, and then spawn off "pipo strmout templateFile", it sounds to me as if the template file you're using in the perl script doesn't match what you're doing interactively.

You should be able to save the template from the GUI, and then check that against the template you're creating (I assume) in the perl script. Or try using the template from your perl script in the GUI...

Andrew.

On 4 Jan 2002 13:35:25 -0800, (David)
wrote:

I am creating a script in PERL that is to be used in the tapeout phase of a project. At one point, I need to XOR a *.gds that was created by the LO Eng., against a *.gds that I want to create using "pipo strmout CONFIG_FILE" within PERL. Everything works great, except that the two *.gds file's XOR results ends up creating a complete new database, indicating that the two files are completely different. All streamouts from the Cadence tools, whether from running an LVS runset, or by Export->Stream from the CIW are identical (which would be expected). But, to restate, streamouts from a PERL script (and Unix command line) do not equal streamouts from layoutPlus environment.
...
 
Status
Not open for further replies.

Latest threads

Back
Top