Age | Commit message (Collapse) | Author | Files | Lines |
|
Remove the 'ok' value since this is redundant - an invalid instruction can
already be identified by a nil return value.
Also, include the script flags in the 'DO NOT EDIT' header.
|
|
|
|
Adding these four CSRs to parse_opcodes:
- 0x7a4 tinfo
- 0x7a5 tcontrol
- 0x7a8 mcontext
- 0x7aa scontext
|
|
This part copy the implementation which has been merged in spike
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
about two parts
1. hypervisor related
2. missing high part for rv32
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
- Prevent got different result in different python env.
|
|
|
|
|
|
1. vleb is read-only CSR to keep vector implementation lenght in byte
2. mstatus.vs is similar to mstatus.fs and designed to keep vector extension
state
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
|
|
|
|
* (Partially) fix #30
With this change (and a renamed parse-opcodes) it's possible to as a
Python module without having to patch the repo. Example:
from parse_opcodes import parse_inputs
if __name__ == "__main__":
(namelist, pseudos, mask, match, arguments) = parse_inputs(["opcodes", "opcodes-rvc"])
* Fix #30: Rename parse-opcode to parse_opcode to enable module use
|