/*************************************************************
rdmulti()
***************************************************************
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.
Added Option:
If more than one output buffer is connected, then the samples are
routed to each buffer in sequence mod the number of buffers.
Thus, if two column data is to be read and column one is to be placed on
buffer 0 and coulmn two on buffer 1 then simpley connect two buffers to
the star. This can also be used to read three or more columns.
The data in the file does not need tb be in column format.
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 read_file.s
param default
star Reader read_file.s
(The first version will read from the file with name input_file,
while the second version will read from standard input)
rdmulti
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.
Added Option:
If more than one output buffer is connected, then the samples are
routed to each buffer in sequence mod the number of buffers.
Thus, if two column data is to be read and column one is to be placed on
buffer 0 and coulmn two on buffer 1 then simpley connect two buffers to
the star. This can also be used to read three or more columns.
The data in the file does not need tb be in column format.
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 read_file.s
param default
star Reader read_file.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: April, 1991 S. H. Ardalan: Demux auto-fanout
*/