Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve riscv expose_[csrs|custom] commands (#536)
* Improve riscv expose_[csrs|custom] commands * Add option to specify custom name for registers. * Allow to call commands multiple times without loss of previous data. * Make sure the commands can only be used in the config phase (before "init"). * Validity checks and warnings. * Change commands to be per target. * Fix memory leaks. * Also fix unrelated memory leaks to keep valgrind happy. Signed-off-by: Samuel Obuch <sobuch@codasip.com> * fixes after review * improve error message
- Loading branch information