Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
sim:start [2022/08/01 11:31]
rajit [Namespace sim::rand]
sim:start [2023/04/16 11:30]
rajit [Exported processes]
Line 32: Line 32:
 defproc file_source(chan!(int<W>) O); defproc file_source(chan!(int<W>) O);
 </code> </code>
-This process is also a ''W''-bit source, except the values produced are taken from a file. The identified ''ID'' is used to determine the file name, and the file is assumed to have at least one data value. By default, the file name is ''_infile_.{ID}''. The file format is a sequence of hexadecimal values, one per line. If ''LOOP'' is set to true, then the sequence of values specified in the file is repeated forever.+This process is also a ''W''-bit source, except the values produced are taken from a file. The identified ''ID'' is used to determine the file name, and the file is assumed to have at least one data value. By default, the file name is ''_infile_.{ID}''. The file format is a sequence of hexadecimal values, one per line. If ''LOOP'' is set to true, then the sequence of values specified in the file is repeated forever. The file name can be modified using [[run-time configuration options|tools:actsim#standard_sim_namespace_helper_functions]].
  
 <code act> <code act>