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
import rvnewop
from bitarray import bitarray
isa_model = renewop.RV32("32I")
hex = "00e787b3"
# TODO clean this process up
binary = bitarray(bin(int(hex, 16))[2:].zfill(32))
print(isa_model.decode(binary))
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.1.tar.gz
(12.4 kB
view hashes)
Built Distribution
Close
Hashes for rvnewop-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aba7b70ed3a02b26f6a33c7b381a28248a6ef6ecb114468fa0dad86c8580ba18 |
|
MD5 | dd10d3938620576cb3c32e73f56fe80b |
|
BLAKE2b-256 | 41d58e02c7dd0768045fcac307efc32db91b9538fdbb1e557df6b166bc342a7a |