Skip to main content

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


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)

Uploaded Source

Built Distribution

rvnewop-0.2.0-py2.py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page