CocotbExt Wavedrom diagram generator
Project description
Cocotb Waves
Table of Contents
Introduction
This repository contains wavedrom svg generator for cocotb sims.
Installation
Installation from pip (release version, stable):
$ pip install cocotbext-waves
Usage
Example sampling AHB signals using cocotbext-ahb
.
from cocotbext.waves import waveform
...
waves = waveform(
clk=dut.hclk, name="ahb_test", hscale=3, debug=True
)
waves.add_signal(
[
dut.hsel,
dut.haddr,
dut.hburst,
dut.hsize,
dut.htrans,
dut.hwdata,
dut.hwrite,
dut.hready_in,
dut.hrdata,
dut.hready,
dut.hresp,
]
)
...
<Running sim, issuing txns>
...
waves.save()
Output:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cocotbext-waves-0.1.4.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for cocotbext_waves-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1826b4a007028ac03f4b6986113c2658d7378bc58642581d01207831def061f1 |
|
MD5 | 0276438a0a3147163b6cdbddf49d4948 |
|
BLAKE2b-256 | d688397640d8744e4817c9c5c7404e47022ca640345d85a52c9164508ae39fd7 |