DAI Comparescan User's Guide
Frequently Asked Questions


Next Prev Top Contents Index Home Page Send Feedback

DAI Comparescan Input
Can I compare VCD files?
Can I translate a VCD file to an SST file?
Can I compare a VCD file with some other format (like QSIM)?
Is it better to use SST files in DAI Comparescan?
DAI Comparescan Output
How do I view a comparison report generated earlier?
Can I print a report of my errors?
Can I run the tool in batch mode?
User Interface
How do I run the program without the GUI?
Why can't DAI Comparescan allocate colors?
How do I change the colors in the GUI?
I can't read the text in the GUI.
I just changed my ~/.Xdefaults file and nothing happened.
DAI Comparescan Features
How can I compare a digital simulation with an anolog simulation?
How do I match an X?
How do I compare only the top level signals in my design?
Comparing modules at different levels in the hierarchy.
I want a different "tolerance" window for every signal.
I specified time in the rules file. What are the default units?
DAI Comparescan Error Messages
What does "Out of Memory" mean?
How does DAI Comparescan allocate virtual memory?
What does "fork failed" mean?
How do I find out how big my processes are?
How do I find out how much memory my machine has?


Frequently Asked Questions

DAI Comparescan Input


Can I compare VCD files?

Yes, but you may lose some information since a VCD file does not contain as much information as a SST file. The VCD file does not contain all the information needed to do a complete comparison.

The VCD file does not contain module port information, so any comparison with a -boundary switch will fail since it will not find any module ports.

Can I translate a VCD file to an SST file?

Yes.

Can I compare a VCD file with some other format (like QSIM)?

Yes.

Is it better to use SST files in DAI Comparescan?

Yes.

DAI Comparescan Output


How do I view a comparison report generated earlier?

Save the error database into a binary file using the File->Save or File->SaveAs from the GUI.

You can also save the error database using the -save filename on the command line.

Can I print a report of my errors?

Yes.

To print a short summary of the errors, use -r 1 on the command line.

To print the entire error report, use -r 2 on the command line.

All reports are printed on the standard output.

Can I run the tool in batch mode?

Yes.

Use the -batch command line option. When running in batch mode, you should normally specify a rules file to process on the command line.

User Interface


How do I run the program without the GUI?

Running the program without the GUI is called "batch mode". See above.

Why can't DAI Comparescan allocate colors?

When DAI Comparescan starts, it complains about "...cannot allocate colormap entry...". What does that mean? Can I still run the program?

The "cannot allocate colormap" warning is printed when DAI Comparescan cannot allocate all the colors it needs. This is usually caused by some other application using all the colors from the X server. Possible culprits are Netscape, FrameMaker, or some other color intensive application.

Warning: Cannot allocate colormap entry for "Blue"

Warning: Cannot allocate colormap entry for "gray"

Warning: Cannot allocate colormap entry for \

"#b0b000"

How do I change the colors in the GUI?

Use the .Xdefaults file. Look in Chapter 3 and Chapter 5.

I can't read the text in the GUI.

You probably have a "colormap" problem caused by too many graphic applications using the colormap in an unsocial way. Netscape is a probable suspect as is FrameMaker.

You can force DAI Comparescan to operate in a Black and White mode, by adding the following lines to your ~/.Xdefaults file:

DAI Comparescan*foregroundcolor : black

DAI Comparescan*backgroundcolor : white

If you don't want to use black and white mode, you'll need make the other graphics programs use less of the colormap.

Netscape has a resource named 'maxImageColors' which controls how many color cells it allocates from the default colormap at startup. The default value for this resource is 256 on an 8-bit system and this means that Netscape will hog all of the available color cells, leaving none for your application.

The solution is simple: supply a lower value for this resource, eg in your .Xdefaults file:

Netscape*maxImageColors: 100

A similar affect can be acheived by starting Netscape with the "-ncols" command line option:

netscape -ncols 100

Type netscape -h to see all the command line options for Netscape.

I just changed my ~/.Xdefaults file and nothing happened.

After you change your ~/.Xdefaults file you need to perform two operations so that your changes take effect immediately.

1. Inform the X server about the changes:

xrdb ~/.Xdefaults

This will reload the ~/.Xdefaults file into the X server.

2. Restart DAI Comparescan.

Exit DAI Comparescan via the File menubar option, then start it again.

You only need to do these two operations when you change your ~/.Xdefaults file and you want the changes to take effect immediately.

DAI Comparescan Features


How can I compare a digital simulation with an anolog simulation?

Use the threshold command.

How do I match an X?

Use the statemapping command.

How do I compare only the top level signals in my design?

compare test -depth 1 -internal

Comparing modules at different levels in the hierarchy.

How can I compare two modules that are at different levels in the hierarchy?

Just specify the two module names or signal names to be compared.

compare test.cpu.adder3 test.cpu.module2.module87.adder4

compare test.cpu.clk test.memory.refresh.clock

I want a different "tolerance" window for every signal.

You'll need to write a "rule" command for each signal:

compare -tol 45ns top.clk

compare -tol 30ns top.sum

compare -tol 15ns top.data

I specified time in the rules file. What are the default units?

The default unit for all times specified, either in the rules file, or in the Command Option menu is the lowest time unit of the SST files being compared.

eg. If the golden SST file has a timescale of 1ns and the test SST file has a timescale of 100ns, the timescale would be 1ns in DAI Comparescan.

You can always avoid timescale problems by specifying your time with the units:

compare top.module1 -tol 100ps

compare top.module2 -tol 150ps

compare top.module3 -pos 75ps -neg 40ps

DAI Comparescan Error Messages


What does "Out of Memory" mean?

"Out of Memory" means you ran out of virtual memory. On some machines virtual memory is the amount of swap space you have. On other machines virtual memory is the amount of physical RAM you have plus the amount of swap space you have.

"Out of Memory" cannot be fixed by deleting files from your disk.

"Out of Memory" can be fixed by adding more swap space. Ask your system administrator to add more swap space by using the "swapon" command.

How does DAI Comparescan allocate virtual memory?

What does "fork failed" mean?

When I try to start DAI Signalscan from DAI Comparescan, I get the message "fork failed".

A Fork is how a process starts another process. Comparescan starts Signalscan by "forking" a new process, and then executing Signalscan in that new process. If a fork fails it is usually because some sytem resources are unavailable - like no more processes allowed, no more virtual memory, etc.

See you System Administrator for more details.

How do I find out how big my processes are?

You can use "ps" to check a process that is alive.

On SunOs use "ps -clax":

F UID PID PPID CP PRI NI SZ RSS WCHAN STAT TT TIME COMMAND

20008021 272 5239 1209 0 1 01520 720 select S p5 0:01 comparescan

How do I find out how much memory my machine has?

On SunOs use "pstat -T"

277/1017 files

222/554 inodes

85/266 processes

36280/258044 swap



Next Prev Top Contents Index Home Page Send Feedback

DAI Comparescan User's Guide - Generated 26 FEB 1997
©Copyright 1997 Design Acceleration, Inc. All rights reserved