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.3.tar.gz
(26.6 kB
view hashes)
Built Distribution
Close
Hashes for register_printer-1.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8fb831f3ecf1c6bd07181bf2d14b6c9c1ffd42a1fc3dc994a32f3c8e9c3f41d |
|
MD5 | f4ed3d37286b6da95627d455b062c65f |
|
BLAKE2b-256 | 82f2c70a1b93d6fa12ef5c1320ef7afb9bad300e20a2c6a69cf3be0f8452a7da |