Skip to main content

Wavedrom waves and registers for the terminal

Project description

Wavedrom ASCII

An ASCII (actually Unicode) representation of Wavedrom waves and bitfields.

Comparison

Example Wavedrom JSON:

{
  "signal": [
    {
      "name": "clk",
      "wave": "p......"
    },
    {
      "name": "bus",
      "wave": "x.34.5x",
      "data": "head body tail"
    },
    {
      "name": "wire",
      "wave": "0.1..0."
    }
  ]
}

Wavedrom image:

ASCII representation:

        ┌────┐    ┌────┐    ┌────┐    ┌────┐    ┌────┐    ┌────┐    ┌────┐    
  clk   ┘    └────┘    └────┘    └────┘    └────┘    └────┘    └────┘    └────
        ────────────────────╥─────────╥───────────────────╥─────────╥─────────
  bus   XXXXXXXXXXXXXXXXXXXX║ head    ║ body              ║ tail    ║XXXXXXXXX
        ────────────────────╨─────────╨───────────────────╨─────────╨─────────
                            ┌─────────────────────────────┐                   
  wire  ────────────────────┘                             └───────────────────

The Bitfield example from Wavedrom:

reg vl

Will be rendered as:

31  2928  262524      2019      1514  1211       7 6           0
┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐
│ nf  │ mop │v│  lumop  │   rs1   │width│   vd    │0 0 0 0 1 1 1│
└─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘

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

wavedrom-ascii-0.2.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

wavedrom_ascii-0.2.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file wavedrom-ascii-0.2.0.tar.gz.

File metadata

  • Download URL: wavedrom-ascii-0.2.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/5.4.0-56-generic

File hashes

Hashes for wavedrom-ascii-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4de6831a6c84bec52caf596246074b00c91e5048ff5af8f07a65d2fadc49b86c
MD5 15ac0aec98bca4e8ae684dfab995c150
BLAKE2b-256 588797130a902ae34ce57dfdc3b4caa47b8724c3ce86e0d8b232df65f6b5ede1

See more details on using hashes here.

File details

Details for the file wavedrom_ascii-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: wavedrom_ascii-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/5.4.0-56-generic

File hashes

Hashes for wavedrom_ascii-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 236bde329170cd990258c8dd61f1f4423857cefce6c2d8f3f007f4b8c77ecb11
MD5 badd1044807a3702bc2237c0f1cc4329
BLAKE2b-256 e88a1ee1cdf385dfcf829abcb2ee13c929706dfef226a285a28ddd9caad4655d

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