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.1.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for wavedrom_ascii-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31c5d6f62d786670ec3e8817947fbaf6ec17ac30f7e487c37edceb84f8e115c2 |
|
MD5 | be2f754beaceedcdb05106f0eeb670f3 |
|
BLAKE2b-256 | 197a4ab6b1879cc1a829315409ce7c458116352590eea0046669f405949de6b6 |