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 details)
Built Distribution
File details
Details for the file rvnewop-0.2.3.tar.gz
.
File metadata
- Download URL: rvnewop-0.2.3.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.24.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f7eb33ec83c628a9a1a859b7021bbd19b0c0eaa0a88155a82720ae6f9bab6c6 |
|
MD5 | a544e094fb91a0c1c4da002e2a3184b2 |
|
BLAKE2b-256 | 5c4c29c15792e738b0722117b1dc981f5cb89db8335590905e5b952480e60be0 |
File details
Details for the file rvnewop-0.2.3-py2.py3-none-any.whl
.
File metadata
- Download URL: rvnewop-0.2.3-py2.py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.24.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd5dfb12454aebf07227ace84c2703d95e503f9751ddc72bf7e603a7de793850 |
|
MD5 | 35f310d5addbadbe7962014f202dce9d |
|
BLAKE2b-256 | 621a4d6e20a7bd0a828f27afd7fe3a829b9302fa6e2fcadc72e4caf2bd04948b |