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.2.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for cocotbext_waves-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 860a10a61283c2747b857f3c117bd6579c3f859ee89b8d3dcfc1aee229fd1667 |
|
MD5 | 6f123a5a53f1b45dc109825156d1e3f2 |
|
BLAKE2b-256 | 1dd5a2b71094d2709d6bc1099bd20f7cfa0546ac80676d009e1d250f79f6839e |