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.3.0.tar.gz
(15.3 kB
view hashes)
Built Distribution
Close
Hashes for rvnewop-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0078c0aafbd648abffe620a0d8fb7637ba802c7a236e321a0ab515dc978176a |
|
MD5 | 2e3ec3fb741f3b15e29d9a1fab795096 |
|
BLAKE2b-256 | d32a9dbff00d4ccb2000eac2f52db38e187d65dce0721672e009c0418188aa07 |