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.2.tar.gz
(14.5 kB
view details)
Built Distribution
File details
Details for the file rvnewop-0.2.2.tar.gz
.
File metadata
- Download URL: rvnewop-0.2.2.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 | afae4969cea5d60b9df1fc3adb85bd0988ba58310153fc79d739360c8962f59f |
|
MD5 | 0c6f7d41df9b0db5763055b459217ff4 |
|
BLAKE2b-256 | 55a56079d51e8962720b35ceab544826ce86cab44b432c85e6610be4ff08e9d2 |
File details
Details for the file rvnewop-0.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: rvnewop-0.2.2-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 | 90231a7b03ca2a6cf2902adc60df1a3451fa43086d1d4d0c8d133c119c38c54f |
|
MD5 | 649e214edf774b3c154466e707af3f30 |
|
BLAKE2b-256 | 31b90b3cb55e733dc7ca647cd9f40b0759aae31248901c3cb469a7b12aa18749 |