DVI modules for cocotb
Project description
DVI and RGB interface modules for Cocotb
GitHub repository: https://github.com/daxzio/cocotbext-dvi
Introduction
DVI and RGB simulation models for cocotb.
Installation
Installation from git (latest development version, potentially unstable):
$ pip install https://github.com/daxzio/cocotbext-dvi/archive/master.zip
Installation for active development:
$ git clone https://github.com/daxzio/cocotbext-dvi
$ pip install -e cocotbext-dvi
Documentation and usage examples
See the tests directory and verilog-i2c for complete testbenches using these modules.
image_file = "/home/dkeeshan/projects/cocotbext-dvi/tests/images/160x120.bmp"
self.dvi_in = DVIDriver(dut, image_file)
def __init__(self, dut, image_file=None, dvi_prefix="tmds_in", clk_freq=25.0):
image_file = "/home/dkeeshan/projects/cocotbext-dvi/tests/images/160x120.bmp"
self.dvi_out = DVISink(dut, image_file)
def __init__(self, dut, image_file=None, dvi_prefix="tmds_out"):
def __init__(self, clk, image_file=None, vsync=None, hsync=None, data_valid=None, data0=None, data1=None, data2=None, logging_enabled=True):
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
cocotbext-dvi-0.1.0.tar.gz
(16.0 kB
view details)
File details
Details for the file cocotbext-dvi-0.1.0.tar.gz.
File metadata
- Download URL: cocotbext-dvi-0.1.0.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0dadaca41c36bc2b695ca1f569e06f52d007abdcfa3b6a70013ae27bc22e3b4
|
|
| MD5 |
816cc40333d2130810d4389d272f819c
|
|
| BLAKE2b-256 |
7440dd48a910756b2081deb030771c0bf4ae3f035536e6f72d00a38b0c957d4d
|