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.20.tar.gz
(29.8 kB
view details)
Built Distribution
File details
Details for the file register_printer-1.1.20.tar.gz
.
File metadata
- Download URL: register_printer-1.1.20.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f532274da99587e8eb0e890e05b904793780dfb3faf14e4daa2d88fde51c3913 |
|
MD5 | 12ae051eb5f5f7a0544713ad91a97544 |
|
BLAKE2b-256 | b9190b8e6a39365022f41cab43bf8b6657c4f8730fbcc4e9c5a78deb5c7b14fa |
File details
Details for the file register_printer-1.1.20-py3-none-any.whl
.
File metadata
- Download URL: register_printer-1.1.20-py3-none-any.whl
- Upload date:
- Size: 49.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fa82ed1c0a4284b30b61eded7ed6b6562ee64c8b24ee56ef28c7e46bc4f0d6d |
|
MD5 | 45c1d4b1f4532d887771137156f7fea4 |
|
BLAKE2b-256 | 6ef5d2faca199305a906f36dbfa103d034d9a2cb7c78518aca0e3895ee5f3909 |