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.3.tar.gz
(14.5 kB
view hashes)
Built Distribution
Close
Hashes for rvnewop-0.2.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd5dfb12454aebf07227ace84c2703d95e503f9751ddc72bf7e603a7de793850 |
|
MD5 | 35f310d5addbadbe7962014f202dce9d |
|
BLAKE2b-256 | 621a4d6e20a7bd0a828f27afd7fe3a829b9302fa6e2fcadc72e4caf2bd04948b |