The Memory Dump Converter dmp2txt
The tool dmp2txt converts the dumped BITCOV array to HOTA toolchain’s MON.txt format.
Syntax and Options of dmp2txt
dmp2txt [options] dump-file aux-file
- -h, --help
- Displays help on screen
- -l8, -l16, -l32, -l64, -l128, -b8, -b16, -b32, -b64, -b128
- Endianness (l/b) and number of bits per array element. 1 is default, and the options -l8 and -b8 are the same. These options are not needed when bits are used, but only for BYTECOV or use of integral counters.
- --dump2, --force
- Needed for support's debug purposes only.
- dump-file
- The array dumped to a file. dmp2txt detects the dump file format automatically (Intel hex, Motorola s-record, Tektronix and Verilog formats are recognized, a straight binary dump can also be used).
- aux-file
- The auxiliary file generated during instrumentation, named MON.aux by default.
The result is written to stdout. It can be directed to a file or directly piped to ctc2dat.
Examples
dmp2txt MON.hex MON.aux > MON.txt
dmp2txt MON.dmp MON.aux >> MON.txt
dmp2txt MON.dmp MON.aux | ctc2dat