- Mar 31, 2019
-
-
Andrew Waterman authored
-
- Mar 28, 2019
-
-
Andrew Waterman authored
DTM: Leverage WARLness of hartsel to skip nonexistent harts
-
- Mar 27, 2019
-
-
Andrew Waterman authored
-
- Feb 05, 2019
-
-
Andrew Waterman authored
Resolves #268
-
Andrew Waterman authored
-
- Feb 04, 2019
-
-
Dinesh Thirumurthy authored
-
- Oct 02, 2018
-
-
Andrew Waterman authored
I'm adding this to test DM clock gating, but it's a good idea in general.
-
- Sep 20, 2018
-
-
Andrew Waterman authored
This is an alternative to #53; see that PR for context.
-
- Sep 19, 2018
-
-
Andrew Waterman authored
-
- Aug 27, 2018
-
-
Florian Zaruba authored
-
- Apr 29, 2018
-
-
Prashanth Mundkur authored
-
- Mar 30, 2018
-
-
Palmer Dabbelt authored
Use $target_alias for TARGET_DIR if set
-
- Mar 28, 2018
-
-
Graham Markall authored
-
- Mar 17, 2018
-
-
Scott Beamer authored
-
- Mar 13, 2018
-
-
Prashanth Mundkur authored
Define a chunked_memif_t interface that serves memif_t, and is implemented by htif_t and htif_hexwriter. This allows the use of memif_t without needing to bring in htif_t.
-
- Mar 07, 2018
-
-
Schuyler Eldridge authored
This removes `bool permissive` from htif.cc, which was originally used to control whether or not htif was parsing arguments permissively. This instead uses getopt's builtin `int opterr` to hold this state. getopt then uses this to print/not print to stderr on unknown options. Resultingly, unknown VCS options will not produce any stderr output. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
- Mar 06, 2018
-
-
Schuyler Eldridge authored
Can't spell good Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
Schuyler Eldridge authored
This adds an option to disable permissive parsing (which can work as an alternative to `--`) as `+permissive-off`. This adds help text that HTIF can emit directly via a new `htif::usage` method. This can be accessed from VCS, but not from Verilotor/emulator.cc. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
Schuyler Eldridge authored
Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
Schuyler Eldridge authored
This adds an option `+permissive` that will enable old-style permissive option parsing. Any option that HTIF does not understand it will ignore. This must be explicitly turned off with `--` to indicate where the binary is. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
- Feb 14, 2018
-
-
Jonathan Neuschäfer authored
-
- Dec 13, 2017
-
-
Andrew Waterman authored
-
- Dec 02, 2017
-
-
Andrew Waterman authored
Approach for exposing HTIF options to other tools
-
- Nov 19, 2017
-
-
Schuyler Eldridge authored
This retains the legacy htif_t constructor using a vector of string to pass command line arguments. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@gmail.com>
-
Schuyler Eldridge authored
Does some minor cleanup of usage formatting. Adds a htif_t() constructor that does not do argument parsing. This is needed for something like `elf2hex` which wants to pass no arguments to htif_t. Note: `elf2hex` is currently non-working on master and not as a result of this. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@gmail.com>
-
Schuyler Eldridge authored
This changes the `htif_t` constructor to use getopt for option parsing adding support for POSIX-like `--` long options while preserving support for "legacy" `+` args. The options supported by `htif_t` are exposed to programs importing the `htif.h` header. This results in a change of the `htif_t` and `dtm_t` constructor APIs so that it can directly process command line arguments. Previously the `htif_t` constructor was: htif_t::htif_t(const std::vector<std::string>& target_args) Now it is: htif_t::htif_t(int argc, char** argv) As `htif_t` is a secondary consumer of command line arguments (e.g., it is constructed after the rocket-chip emulator), the options supported by `htif_t` are exposed via three new macros in `htif_t.h`: * HTIF_USAGE_OPTIONS -- usage string suitable to be appended to any program that will pass arguments to `htif_t` * HTIF_LONG_OPTIONS_OPTIND -- Base val for `htif_t` options * HTIF_LONG_OPTIONS -- `struct option` fragment for `htif_t`. All options index starting from `HTIF_LONG_OPTIONS_OPTIND`. Support for the currently unsupported option `+disk` now raises an exception. Space is provided for non-standard options which may be exposed to `htif_t`. Currently only the VCS options of the form `-cm XXX` are ignored. -
Schuyler Eldridge authored
This fixes the `syscall_t::set_chroot` method so that it will write out the location that it failed to chroot to, `where,` as opposed to the unset attribtue `chroot`.
-
- Jul 04, 2017
-
-
Megan Wachs authored
-
- Jun 29, 2017
-
-
Palmer Dabbelt authored
dtm: Fix HALTREQ/RESUMEREQ issue and don't just die
-
Megan Wachs authored
dtm: Make sure to clear HALTREQ/RESUMEREQ when done. Don't die, just print an error, to allow getting debugging waveforms when badness happens.
-
- Jun 15, 2017
-
-
Megan Wachs authored
* dtm: Start all harts at _start, not just hart 0 * DTM: additional cleanup for halt/resume different harts * dtm: Proper enumeration
-
- May 26, 2017
-
-
Howard Mao authored
-
- May 18, 2017
-
-
Palmer Dabbelt authored
Whitespace fixes
-
Palmer Dabbelt authored
-
- May 02, 2017
-
-
Andrew Waterman authored
-
- Mar 31, 2017
-
-
Megan Wachs authored
Debug v013
-
Megan Wachs authored
debug_v13: Support Debug v13
-
Megan Wachs authored
-
- Mar 30, 2017
-
-
Megan Wachs authored
-
Megan Wachs authored
-