Contents of Ack Package

Greg Edlund
gedlund@us.ibm.com
01/11/01

Revision 1.0

File               Description
----               -----------

ack.c              C source code

dvdt_zo.c          small C program for computing dv/dt and Zout from
                   50 Ohm test load waveforms

hspice.dat         HSPICE simulation example waveform for 50 Ohm-GND load

lab.dat            lab example waveform for 50 Ohm-GND load

out.dat            program output using example waveforms
                   two voltage waveforms against one common time axis

UserGuide.pdf      Ack User Guide



To compile, type the following command from the unix prompt:

cc ack.c -lm -o ack

Run the program using the following command:

ack -f1 hspice.dat -f2 lab.dat -e r -dx 0.05 -xu 1e-9 -yt 1.4 -yw 3.3 > out.dat

You should get the file out.dat, which contains three columns of floating
point data.  The first column is time, and the sencond and third columns
are voltage.  You should also get the following messages echoed to unix
standard error:

Found 501 datapoints in hspice.dat.
Found 301 datapoints in lab.dat.
Waveform 1 crosses y =  1.4000e+00 at x =  1.6615e+00.
Waveform 2 crosses y =  1.4000e+00 at x =  1.1407e+00.
Shifting waveform 2 right by  5.2086e-01.

Average Relative Error = 97.02 pct.
Maximum Relative Error = 15.40 pct.
Maximum Absolute Error =  0.508

*******************************************************************************

Greg Edlund
gedlund@us.ibm.com
10/23/01

Revision 1.1

Fixed bug in ack.c that was causing floating point overflows.
See notes in source code for details.

