Python module containing system_verilog files for CV32E40P cpu.
Project description
pythondata-cpu-cv32e40p
Non-Python files needed for the cpu cv32e40p packaged into a Python module so they can be used with Python libraries and tools.
This is useful for usage with tools like LiteX.
The data files can be found under the Python module pythondata_cpu_cv32e40p
. The
pythondata_cpu_cv32e40p.data_location
value can be used to find the files on the file
system.
Example of getting the data file directly;
import pythondata_cpu_cv32e40p
my_data_file = "abc.txt"
with open(os.path.join(pythondata_cpu_cv32e40p.data_location, my_data_file)) as f:
print(f.read())
Example of getting the data file using litex.data.find
API;
from pythondata_cpu_cv32e40p import data_file
my_data_file = "abc.txt"
with open(data_file(my_data_file)) as f:
print(f.read())
The data files come from https://github.com/antmicro/cv32e40p
and are imported using git subtrees
to the directory
pythondata_cpu_cv32e40p/system_verilog.
Installing from git repository
Manually
You can install the package manually, however this is not recommended.
git clone https://github.com/litex-hub/pythondata-cpu-cv32e40p.git
cd pythondata-cpu-cv32e40p
sudo python setup.py install
Using pip with git repository
You can use pip to install the data package directly from github using;
pip install --user git+https://github.com/litex-hub/pythondata-cpu-cv32e40p.git
If you want to install for the whole system rather than just the current user,
you need to remove the --user
argument and run as sudo like so;
sudo pip install git+https://github.com/litex-hub/pythondata-cpu-cv32e40p.git
You can install a specific revision of the repository using;
pip install --user git+https://github.com/litex-hub/pythondata-cpu-cv32e40p.git@<tag>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-cv32e40p.git@<branch>
pip install --user git+https://github.com/litex-hub/pythondata-cpu-cv32e40p.git@<hash>
With requirements.txt
file
Add to your Python requirements.txt
file using;
-e git+https://github.com/litex-hub/pythondata-cpu-cv32e40p.git
To use a specific revision of the repository, use the following;
-e https://github.com/litex-hub/pythondata-cpu-cv32e40p.git@<hash>
Installing from PyPi
Using pip
pip install --user pythondata-cpu-cv32e40p
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
Built Distributions
File details
Details for the file pythondata-cpu-cv32e40p-0.0.post95.tar.gz
.
File metadata
- Download URL: pythondata-cpu-cv32e40p-0.0.post95.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e52ad49bd362c47ac05880f4fe58157d2da091aecfd14e4c54856c0a4c06e12f |
|
MD5 | f3a86924268d4acb92751e144a9afba7 |
|
BLAKE2b-256 | cd178383d32438125fee21933243c362796870def5ad50b8f050ea9e025c8cb4 |
File details
Details for the file pythondata_cpu_cv32e40p-0.0.post95-py3.9.egg
.
File metadata
- Download URL: pythondata_cpu_cv32e40p-0.0.post95-py3.9.egg
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f31f1685d45d1dd9b22d123860c97083e5c3d137d9aa8bea2615c4b5c046d8a9 |
|
MD5 | e4cbea6f79ce28c9efe3ffe0d5980160 |
|
BLAKE2b-256 | 76e83b7bce7660e78087521db1985eb3e5e17cde686a4643ec99eb5c88619a73 |
File details
Details for the file pythondata_cpu_cv32e40p-0.0.post95-py3.8.egg
.
File metadata
- Download URL: pythondata_cpu_cv32e40p-0.0.post95-py3.8.egg
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 173c2c0be4456de84ecfe7a9738ae6b855440064e240b4091f69436e107a4c92 |
|
MD5 | 58a9f1cd97b03260fa52cdd418a759fb |
|
BLAKE2b-256 | e84c36a34e781f3ccfae5fcb97bf6d346de3744ce51fd1378b9bd6e89a040357 |
File details
Details for the file pythondata_cpu_cv32e40p-0.0.post95-py3.7.egg
.
File metadata
- Download URL: pythondata_cpu_cv32e40p-0.0.post95-py3.7.egg
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64122eff8e5a18117678e4c2ae0dbe7caee7729bea797b9f2472e3c5824cd0c2 |
|
MD5 | 07cb6f7ce3742ef8ad762ea07247d1ab |
|
BLAKE2b-256 | ad2e1da03be67df4b5586d22d1475f953ca9cf8a0c8284395adaa0de57899dc9 |
File details
Details for the file pythondata_cpu_cv32e40p-0.0.post95-py3.6.egg
.
File metadata
- Download URL: pythondata_cpu_cv32e40p-0.0.post95-py3.6.egg
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2fd556981afa95f99859d6949d46e92268153e2063f33a7881d8bd546e28db2 |
|
MD5 | 68ce6e38329d0187c63db78ae9266f12 |
|
BLAKE2b-256 | 4e35323dc4d7bc49b41da314efcf1678a65a2dc7cd21e2e0098d2690ce98f4e5 |
File details
Details for the file pythondata_cpu_cv32e40p-0.0.post95-py3-none-any.whl
.
File metadata
- Download URL: pythondata_cpu_cv32e40p-0.0.post95-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3887f0f8bd47936a9d654e22c6c436104516b8059823198c57245facacb6ca5 |
|
MD5 | 03b306a907ab913b3cd20e09a4ea7c9d |
|
BLAKE2b-256 | 045270c0d9fd213ae799da33d6f584a6fe59261004977c192d1e4f23f72330ef |
File details
Details for the file pythondata_cpu_cv32e40p-0.0.post95-py2.7.egg
.
File metadata
- Download URL: pythondata_cpu_cv32e40p-0.0.post95-py2.7.egg
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 PyPy/7.3.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 962220dcdf61bccf16776f639c623af3d792b7b009e37ef7d880324598755ff6 |
|
MD5 | d3410302ba3979e66cba8c496c4dd80f |
|
BLAKE2b-256 | 74f28b617d4917fafa2fc701e1de76ed106e95ff7ffaa1c0044e235ad1f066b9 |
File details
Details for the file pythondata_cpu_cv32e40p-0.0.post95-py2-none-any.whl
.
File metadata
- Download URL: pythondata_cpu_cv32e40p-0.0.post95-py2-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/2.7.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f77f3dd324ff8342f9f51ced4e09b271a4a15054b87a375ddf46d21d5e6dd13 |
|
MD5 | ec8cb3493bceb7f9f8e3c7cba54a8d39 |
|
BLAKE2b-256 | 909ea9cf68c6547aaaa34a93a7de859e4c33f38fd73629ca7b9fa61b59a921ca |