A RISC-V New Instruction Recommender System
Project description
riscv-newop
A RISC-V New Instruction Recommender System
Installation
# preferably inside of a venv
python3 -m pip install rvnewop
Usage
from rvnewop import RV32
from bitarray import bitarray
isa_model = RV32("32I")
hex = "00e787b3"
# TODO clean this process up
binary = bitarray(bin(int(hex, 16))[2:].zfill(32))
print(isa_model.decode(binary))
output
add x15 x15 x14
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rvnewop-0.2.2.tar.gz
(14.5 kB
view hashes)
Built Distribution
Close
Hashes for rvnewop-0.2.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90231a7b03ca2a6cf2902adc60df1a3451fa43086d1d4d0c8d133c119c38c54f |
|
MD5 | 649e214edf774b3c154466e707af3f30 |
|
BLAKE2b-256 | 31b90b3cb55e733dc7ca647cd9f40b0759aae31248901c3cb469a7b12aa18749 |