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:
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.1.tar.gz
(5.0 kB
view details)
Built Distribution
File details
Details for the file wavedrom-ascii-0.2.1.tar.gz
.
File metadata
- Download URL: wavedrom-ascii-0.2.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.10 Linux/5.4.0-104-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da19511bb35ed9590ba157d1bcf0e0ddc612fcfd7f4c29b8894f53fe0c5a11a1 |
|
MD5 | f500a4efd78c70da31e18c294d999633 |
|
BLAKE2b-256 | 873814b34f77741f28d173a667bc5fb90186d7021e1de63780474d9ec4d837cd |
File details
Details for the file wavedrom_ascii-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: wavedrom_ascii-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.10 Linux/5.4.0-104-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f25ca864c1130fa42e5cf5af475ad907ddba72bacd2602e7230cc9b7908f756 |
|
MD5 | b6c304b14f689dae7447ed3eff28731a |
|
BLAKE2b-256 | dd9adaf457d2ba64c7ac705f523d87b3c297a4ee39b7d69b8517fbb015fd7c82 |