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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

register_printer-1.1.21-py3-none-any.whl (49.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: register_printer-1.1.21.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

Hashes for register_printer-1.1.21.tar.gz
Algorithm Hash digest
SHA256 c134894df7349ba6187fae571b18f54a9963e99780b39a40a3070c4f0b1ff563
MD5 7cde597e9ff5b09488e4795b5464d104
BLAKE2b-256 4e06c67b5c68629edae7e821d1de6db165679b18f8b833d9b787935e7898c735

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for register_printer-1.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 d309e811b1f36abfcdbfdfb276e4627413e0849f2a4669ece1154259c2995432
MD5 bab8a3e24640c9e3a82b361b46cf4dc2
BLAKE2b-256 2089725bc718275ec9870c714be7e95b2b194cd4e73adfb5db1d5d541ae652ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page