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.0.tar.gz
(12.4 kB
view hashes)
Built Distribution
Close
Hashes for rvnewop-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdf6f4c550a3fc00f292c6d11bd413605e1f6f6528b434f8b5cbdf44fb5a39bf |
|
MD5 | d6a460d3269f5400ecd1891647fff09f |
|
BLAKE2b-256 | bc28d6a908bdf331ac90a69686dc6c0d793dc486aa7177990fa8bd33bc367c65 |