Enhancement to BTF - B3 Writing binary data.

From: Adam Krolnik (adamk@cyrix.com)
Date: Mon Apr 06 1998 - 22:09:55 PDT


Good morning:

<p>Just so this doesn't get lost, I would like to propose a method to write
binary data out to a file. By binary data, I mean writing the actual value
of the data to the file instead of the value converted to an ASCII representation.

Propose two methods:

1. Add a new format specification (section 13.1.1.2) '%x' that represents
"Write in binary value (which may not have an ASCII representation.)"

2. Add a new file I/O task $fwritex. This task writes its arguments binary value
to the specified file. [ Note, $fdisplay is not considered since the usefulness of
a newline character within binary data is considered out of place.]

Maybe both should be included to be consistent with the other tasks and format specifications.

<p> Adam Krolnik
     Verification Engineer
     Cyrix - NSM.
     Richardson TX. 75085



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:52:47 PDT and
sponsored by Boyd Technology, Inc.