fprintf(stderr,"mockturtle-smem -D 0x<hex-number> -a 0x<number> [options] [value]\n\n");
fprintf(stderr,"This program reads/write to/from the Mock-Turtle shared memory. If you privide data, it will write these data into the shared memory. Then, it dumps the content after the write operation (if any). If you do not provide any data, it will simply read the current content of the shared memory\n\n");
fprintf(stderr,"-D device identificator in hexadecimal format\n");
fprintf(stderr,"-a address where start operation\n");
fprintf(stderr,"-n number of word (32bit) to read/write. The default is 1\n");
fprintf(stderr,"-a address where start operation (default: 0x00000000)\n");
fprintf(stderr,"-n number of word (32bit) to read/write. (default: 1)\n");
fprintf(stderr,"-m write operation mode. The default is 0\n");
fprintf(stderr," raw operations\n");
fprintf(stderr," 0 direct mode\n");
...
...
@@ -56,7 +56,7 @@ uint64_t hex_to_int(char **argv, int index)