Skip to main content

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


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.11.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

register_printer-1.1.11-py3-none-any.whl (47.3 kB view details)

Uploaded Python 3

File details

Details for the file register_printer-1.1.11.tar.gz.

File metadata

  • Download URL: register_printer-1.1.11.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for register_printer-1.1.11.tar.gz
Algorithm Hash digest
SHA256 22fb527b943444a61a2c930efe84a7efcb4f53918591512c0387ac406be9f609
MD5 ce2010b9c7492889930228893c3763b7
BLAKE2b-256 3fafaed640c55d57ba08c0c1b37f53cf7e1162ab40517460703dca86a938b121

See more details on using hashes here.

File details

Details for the file register_printer-1.1.11-py3-none-any.whl.

File metadata

  • Download URL: register_printer-1.1.11-py3-none-any.whl
  • Upload date:
  • Size: 47.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for register_printer-1.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 647f38c2426ab4eb3ae156633361d355d210d813d26ad2c9a4fe2e81cf16ef85
MD5 e35ceb3a25aac61f20e9d1421ef345f8
BLAKE2b-256 be4f8730b6601691ec10940df64ec44b91c30f229ad520ce23d887355c4f8c08

See more details on using hashes here.

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