# cocotb-vivado
[](https://pypi.org/project/cocotb-vivado/)
A limited Python/[cocotb](https://github.com/cocotb/cocotb/) interface to the [Xilinx Vivado Simulator](https://docs.xilinx.com/v/u/en-US/dh0010-vivado-simulation-hub) simulator.
Based on [cocotb-stub-sim](https://github.com/fvutils/cocotb-stub-sim).
## The project is at a proof of concept stage
- Only top-level ports are accessible (simulator limitation).
- It supports the `Timer` trigger (simulator limitation).
- Setting signal values is immediate, as one would use `setimmediatevalue` (simulator limitation).
- Only `Verilog` at the top level is supported (to do).
## Installation
```cmd
pip install cocotb-vivado==0.0.3 (for VIVADO <= 2022.2)
pip install cocotb-vivado (for VIVADO >= 2023.1)
```
## Usage
See the `tests` folder for examples.
```cmd
source ../Vivado/202X.X/settings64.sh
export LD_LIBRARY_PATH=$XILINX_VIVADO/lib/lnx64.o
pytest -s
```
Extra future: One does not need to recompile the project when running/changing tests .
### Acknowledgment
We'd like to thank our employer, [Dectris](https://dectris.com/) for supporting this work.
Raw data
{
"_id": null,
"home_page": "https://github.com/themperek/cocotb-vivado",
"name": "cocotb-vivado",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "SystemVerilog, Verilog, RTL, cocotb, Python, Vivado, Xilinx, xsim, xsi",
"author": "Tomasz Hemperek",
"author_email": "themperek@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/7d/c9/b6068d7896ea25f2db044f0612889e9a078fc3cd4778e1d0a2a293da2ace/cocotb-vivado-0.0.4.tar.gz",
"platform": "any",
"description": "# cocotb-vivado\n[](https://pypi.org/project/cocotb-vivado/)\n\nA limited Python/[cocotb](https://github.com/cocotb/cocotb/) interface to the [Xilinx Vivado Simulator](https://docs.xilinx.com/v/u/en-US/dh0010-vivado-simulation-hub) simulator. \nBased on [cocotb-stub-sim](https://github.com/fvutils/cocotb-stub-sim).\n\n## The project is at a proof of concept stage\n\n- Only top-level ports are accessible (simulator limitation).\n- It supports the `Timer` trigger (simulator limitation).\n- Setting signal values is immediate, as one would use `setimmediatevalue` (simulator limitation). \n- Only `Verilog` at the top level is supported (to do).\n\n## Installation\n\n```cmd\npip install cocotb-vivado==0.0.3 (for VIVADO <= 2022.2)\npip install cocotb-vivado (for VIVADO >= 2023.1)\n```\n\n## Usage\n\nSee the `tests` folder for examples.\n\n```cmd\nsource ../Vivado/202X.X/settings64.sh\nexport LD_LIBRARY_PATH=$XILINX_VIVADO/lib/lnx64.o\npytest -s\n```\n\nExtra future: One does not need to recompile the project when running/changing tests .\n\n### Acknowledgment\n\nWe'd like to thank our employer, [Dectris](https://dectris.com/) for supporting this work.\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Limited cocotb/Python interface for Xilinx Vivado Simulator",
"version": "0.0.4",
"project_urls": {
"Homepage": "https://github.com/themperek/cocotb-vivado"
},
"split_keywords": [
"systemverilog",
" verilog",
" rtl",
" cocotb",
" python",
" vivado",
" xilinx",
" xsim",
" xsi"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7dc9b6068d7896ea25f2db044f0612889e9a078fc3cd4778e1d0a2a293da2ace",
"md5": "2751a43c23c46d839d7946343a613b54",
"sha256": "9556c13ec2e9cd26b50b9246b5a1a09d7069dd48c1dc5a071ed0264f650394f0"
},
"downloads": -1,
"filename": "cocotb-vivado-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "2751a43c23c46d839d7946343a613b54",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12585,
"upload_time": "2024-10-01T09:56:57",
"upload_time_iso_8601": "2024-10-01T09:56:57.557901Z",
"url": "https://files.pythonhosted.org/packages/7d/c9/b6068d7896ea25f2db044f0612889e9a078fc3cd4778e1d0a2a293da2ace/cocotb-vivado-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-01 09:56:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "themperek",
"github_project": "cocotb-vivado",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "cocotb-vivado"
}