A tool to generate register codes.
Project description
RegisterPrinter
How to install
pip install register_printer
How to run
install dependencies
pip install -r requirements.txt
Usage
usage: python -m register_printer [-h] [-v]
[-f CONFIG_FILE_NAME | --input-json INPUT_JSON_FILE]
[-p EXCEL_FILES_PATH] [-o OUTPUT_PATH]
[--print] [--verbose] [-d] [-c] [-u] [-j]
[-r] [-x] [-a]
optional arguments:
-h, --help show this help message and exit
-v, --version Display version
-f CONFIG_FILE_NAME, --file CONFIG_FILE_NAME
Configuration input filename.
--input-json INPUT_JSON_FILE
Input JSON documents.
-p EXCEL_FILES_PATH Directory path of Excel source files.
-o OUTPUT_PATH, --output-path OUTPUT_PATH
Output path of generated files. Default "."
--print Print parsed document.
--verbose Logging more information.
-d, --gen-doc Generate register documents.
-c, --gen-c-header Generate register C header files.
-u, --gen-uvm Generate register UVM models.
-j, --gen-json Generate JSON documents.
-r, --gen-rtl Generate register RTL module.
-x, --gen-excel Generate excel files.
-a, --gen-all Generate all files, same as -d -c -u -r
How to build
python -m build
How to upload to pypi
python -m twine upload dist/*
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
register_printer-1.1.1.tar.gz
(26.2 kB
view details)
Built Distribution
File details
Details for the file register_printer-1.1.1.tar.gz
.
File metadata
- Download URL: register_printer-1.1.1.tar.gz
- Upload date:
- Size: 26.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afa4515e47fa6794889debf910779927f5b661fdef4a774f6e14e4c3fc15e9c0 |
|
MD5 | 57edc20f075ad3b37521d5aa28cdb9d5 |
|
BLAKE2b-256 | 0d1ad603b332eddc2cb00ffa9850d0cc1bff12cbeebc9097e797266d916f6014 |
File details
Details for the file register_printer-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: register_printer-1.1.1-py3-none-any.whl
- Upload date:
- Size: 44.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 891c64435cb12eb605e570dfa2fe2d69f062798249645f3a1c92ec1ba06c3f3e |
|
MD5 | 1663f784f8efbd4baab85d5c8bd50fc2 |
|
BLAKE2b-256 | c4a80aa60b19962dbdcd6471dd3a926cb12fd1e5f619a0daeeb6281ff6f46551 |