/*************************************************************
cxrdfile()
***************************************************************
This function performs the simple task of reading
sample values in from a file, and then placing them on
it's output buffer. The file may have multiple sample values
per line, which can be integer or float.
An example use for this routine is to access a stored waveform
as input to a simulation.
The parameters are:
file_name = name of file to read from, defaults to "stdin"
Typical usage:
param file input_file
star Reader cxrdfile.s
param default
star Reader cxrdfile.s
(The first version will read from the file with name input_file,
while the second version will read from standard input)
cxrdfile
This function performs the simple task of reading
sample values in from a file, and then placing them on
it's output buffer. The file may have multiple sample values
per line, which can be integer or float.
An example use for this routine is to access a stored waveform
as input to a simulation.
The parameters are:
file_name = name of file to read from, defaults to "stdin"
Typical usage:
param file input_file
star Reader cxrdfile.s
param default
star Reader cxrdfile.s
(The first version will read from the file with name input_file,
while the second version will read from standard input)
Programmer: R. T. Wietelmann / D.G.Messerschmitt
Date: June 5, 1982
Modified for V2.0 by D.G. Messerschmitt March 7, 1985
Modified: July 10, 1985 by D.J.Hait
Modified: April, 1988 L.J.Faber: add "auto-fanout"
Modified: August 27, 2001 Sasan Ardalan converted to complex
*/