aboutsummaryrefslogtreecommitdiff
path: root/parse_opcodes
AgeCommit message (Collapse)AuthorFilesLines
2021-01-22Update Go instruction encoding generation (#34)Joel Sing1-4/+4
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.
2020-11-08Support generating Rust code (#52)Ngo Iok Ui (Wu Yu Wei)1-0/+13
2020-10-14Adding four trigger CSRs to the list (#50)Jan Matyas1-0/+4
Adding these four CSRs to parse_opcodes: - 0x7a4 tinfo - 0x7a5 tcontrol - 0x7a8 mcontext - 0x7aa scontext
2020-07-31hyperviosr: add csr mask and interrupt macro nameChih-Min Chao1-1/+5
This part copy the implementation which has been merged in spike Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
2020-04-14rvv: add new vcsr for vector spec 0.9 (#42)Chih-Min Chao1-0/+1
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
2020-03-31update csr to draft-20200326-af69f79 (#39)Chih-Min Chao1-1/+16
about two parts 1. hypervisor related 2. missing high part for rv32 Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
2020-03-29Using OrderedDict to keep encodings for match/mask. (#38)Kito Cheng1-2/+3
- Prevent got different result in different python env.
2020-02-28Add mcountinhibit CSRAndrew Waterman1-0/+1
2020-02-24Add N-extension CSRs and status bits. (#37)michael-roe1-0/+2
2019-11-28rvv: add vleb csr register and mstatus.vs fieldChih-Min Chao1-0/+1
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>
2019-08-03Fix crash introduced by #30Andrew Waterman1-1/+1
2019-08-03(Partially) fix #30 (#31)Tommy Thorn1-0/+1089
* (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