1
0
rocket-chip/csrc
Schuyler Eldridge 7e794212d9 Cleanup emulator.cc, use getopt, add help text (#487)
This changes the emulator to conform to POSIX-style options (e.g.,
short/'-' and long/'--') while preserving legacy option parsing (i.e.,
'+'). Options are read from the user until the first
non-option (either POSIX or legacy) is encountered. This and
everything following is assumed to be the binary and any arguments the
user wants to run on the emulator. All non-options are passed directly
to the DTM. This allows for the same option to be passed, safely, to
both the emulator and the binary, e.g., "+verbose".

This introduces a dependency on <getopt.h>.

Closes #484.
2016-12-13 14:29:57 -08:00
..
comlog.cc copyright: ran scripts/modify-copyright 2016-11-27 22:15:43 -08:00
emulator.cc Cleanup emulator.cc, use getopt, add help text (#487) 2016-12-13 14:29:57 -08:00
float_fix.cc copyright: ran scripts/modify-copyright 2016-11-27 22:15:43 -08:00
jtag_vpi.c Use a random port number for JTAG VPI. 2016-10-26 11:40:45 -07:00
SimDTM.cc copyright: ran scripts/modify-copyright 2016-11-27 22:15:43 -08:00
verilator.h add STOP_COND to emulator & match vsim PRINTF_COND 2016-09-09 11:07:17 -07:00