diff --git a/gateware/poetry.lock b/gateware/poetry.lock index 7685b83..d9d8f53 100644 --- a/gateware/poetry.lock +++ b/gateware/poetry.lock @@ -91,7 +91,7 @@ pyvcd = ">=0.2.4,<0.3.0" name = "atomicwrites" version = "1.4.0" description = "Atomic file writes." -category = "dev" +category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" @@ -99,7 +99,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" name = "attrs" version = "21.4.0" description = "Classes Without Boilerplate" -category = "dev" +category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" @@ -128,6 +128,36 @@ python-versions = ">=3.5.0" [package.extras] unicode_backport = ["unicodedata2"] +[[package]] +name = "cocotb" +version = "1.7.1" +description = "cocotb is a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python." +category = "main" +optional = false +python-versions = ">=3.6" + +[package.extras] +bus = ["cocotb-bus"] + +[[package]] +name = "cocotb-test" +version = "0.2.2" +description = "" +category = "main" +optional = false +python-versions = ">=3.7" +develop = false + +[package.dependencies] +cocotb = ">=1.5" +pytest = "*" + +[package.source] +type = "git" +url = "https://github.com/nelgau/cocotb-test.git" +reference = "master" +resolved_reference = "1acba0644139fc776ec113b84042359b058f6640" + [[package]] name = "colorama" version = "0.4.4" @@ -314,7 +344,7 @@ resolved_reference = "08251daae42ec8cfc54fb82865a5942727186192" name = "more-itertools" version = "8.12.0" description = "More routines for operating on iterables, beyond itertools" -category = "dev" +category = "main" optional = false python-versions = ">=3.5" @@ -322,7 +352,7 @@ python-versions = ">=3.5" name = "packaging" version = "21.3" description = "Core utilities for Python packages" -category = "dev" +category = "main" optional = false python-versions = ">=3.6" @@ -333,7 +363,7 @@ pyparsing = ">=2.0.2,<3.0.5 || >3.0.5" name = "pluggy" version = "0.13.1" description = "plugin and hook calling mechanisms for python" -category = "dev" +category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" @@ -344,7 +374,7 @@ dev = ["pre-commit", "tox"] name = "py" version = "1.11.0" description = "library with cross-python path, ini-parsing, io, code, log facilities" -category = "dev" +category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" @@ -364,7 +394,7 @@ pyusb = ">=1.0.0,<1.2.0 || >1.2.0" name = "pyparsing" version = "3.0.7" description = "Python parsing module" -category = "dev" +category = "main" optional = false python-versions = ">=3.6" @@ -386,7 +416,7 @@ cp2110 = ["hidapi"] name = "pytest" version = "5.4.3" description = "pytest: simple powerful testing with Python" -category = "dev" +category = "main" optional = false python-versions = ">=3.5" @@ -481,7 +511,7 @@ resolved_reference = "a9830731a8de6946bfee014e6b0188ee83a716f2" name = "wcwidth" version = "0.2.5" description = "Measures the displayed width of unicode strings in a terminal" -category = "dev" +category = "main" optional = false python-versions = "*" @@ -496,7 +526,7 @@ python-versions = "~=3.5" [metadata] lock-version = "1.1" python-versions = "^3.10" -content-hash = "2b9dada18d92722ad644077582a6e83a938940c0089005b62ece3a4ca3e8a258" +content-hash = "7eb0430e0d33c39ef7544e6291b14ec5b38beecf78fcc83ac1d5cda10605738c" [metadata.files] amaranth = [] @@ -523,6 +553,35 @@ charset-normalizer = [ {file = "charset-normalizer-2.0.10.tar.gz", hash = "sha256:876d180e9d7432c5d1dfd4c5d26b72f099d503e8fcc0feb7532c9289be60fcbd"}, {file = "charset_normalizer-2.0.10-py3-none-any.whl", hash = "sha256:cb957888737fc0bbcd78e3df769addb41fd1ff8cf950dc9e7ad7793f1bf44455"}, ] +cocotb = [ + {file = "cocotb-1.7.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:917e56ebac90829f32bda8a2f080bb3ad4339c962e1c24a4356bc4c0218d50fe"}, + {file = "cocotb-1.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:69564799e548640fc77ef31d0bc0249f16ffcaf67ee05a817b63e6a13bb2e4ae"}, + {file = "cocotb-1.7.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d805aa8fe5350ceb9aeed5c6195c629293390e1e4286085ed3df000cf944cd16"}, + {file = "cocotb-1.7.1-cp310-cp310-win32.whl", hash = "sha256:31ad6be3781979a6061952c65f3679495d3bc4a72de3b91f75c36fd201f19020"}, + {file = "cocotb-1.7.1-cp310-cp310-win_amd64.whl", hash = "sha256:f1a6b024590d2b5568f736c8d8f2112a56a32fc3f9b3c279bbe1c4eacbdeebd9"}, + {file = "cocotb-1.7.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:8ca82b64b922a43c161d010e18564e0fbaaf5146fd9d53eabee99e24c45c02dd"}, + {file = "cocotb-1.7.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:681139b2adf27d173cb3ca723e42382be3065fd458d44a808a695c969a3af31f"}, + {file = "cocotb-1.7.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:300c6416f076f04cca43502bd1a2f249327edf076b8b07dde13d85c180016be0"}, + {file = "cocotb-1.7.1-cp36-cp36m-win32.whl", hash = "sha256:2e44754e21ef9b51313b656c4b2b65c82c88f6846fa9f5e5e1f2fe170320b385"}, + {file = "cocotb-1.7.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f6b24a5209cddd7b62e740077b980fb0c81385fc5e2983e4531fb08f6297ed93"}, + {file = "cocotb-1.7.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:5078e824b8c9f96a937ac4ee0229bbff0cda03317e2f2febd05e2826d4bac9ea"}, + {file = "cocotb-1.7.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:145000852c7fad6e4a6e92740f36e5c809809efaac73ae736d01ab86583468d2"}, + {file = "cocotb-1.7.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c68c703a9d4230f406c855962c281ee2828e97167f795f2bab7adf839c4ec4df"}, + {file = "cocotb-1.7.1-cp37-cp37m-win32.whl", hash = "sha256:4f8425c5cdee26caeeaa0f262e07e7760883bbfb9536c666619c87e265ea11ec"}, + {file = "cocotb-1.7.1-cp37-cp37m-win_amd64.whl", hash = "sha256:77e5422e5bc7ce88b6aeacfb84ca41a8d6a9f5ff0ac2357e686c786f6c4a8e73"}, + {file = "cocotb-1.7.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c1046c0b8436cb7f7fd79fdb217cd54e2371bb51bb2d16de2e2c0acdd2d71fff"}, + {file = "cocotb-1.7.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ff9e0626fc24a6e1fa66ef39212aa623cbb3177a9df603d7a97a6b871cbcd740"}, + {file = "cocotb-1.7.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4e5c353009e25f34a14d8231e5114cf966c62a1d8838c15b2fc3fb19474502e9"}, + {file = "cocotb-1.7.1-cp38-cp38-win32.whl", hash = "sha256:140301388228e285b0a2a8ed743cd8a82ac0341052c81387768f0e06b48eca84"}, + {file = "cocotb-1.7.1-cp38-cp38-win_amd64.whl", hash = "sha256:dbec3c9a1b7ba322418162e8710f4432a1825f64f50aecba3f13fcfb6d7c6c3b"}, + {file = "cocotb-1.7.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:83f6df0d2b3f3ba429a9f2934a102a0c130f0d78f73162537e2bc0ef31d903e5"}, + {file = "cocotb-1.7.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2d3e91dd0e7e689eb6194418ea9a833b6b8d24d512794a98b8005320502ab869"}, + {file = "cocotb-1.7.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3e8148cdd68188baa9243d87c37badb19e7a1ddb6b582397e42526b033f92050"}, + {file = "cocotb-1.7.1-cp39-cp39-win32.whl", hash = "sha256:4873315122f7f673d762471dacb357b5d2c1e6658548ef4ee1b40f314d7a18d5"}, + {file = "cocotb-1.7.1-cp39-cp39-win_amd64.whl", hash = "sha256:ab84c58e56fd83710c5f443e5d97de9ba39a4375d40d00f422716ccbf2aaafc9"}, + {file = "cocotb-1.7.1.tar.gz", hash = "sha256:1f390bb6468d70e04acebeb9ff05b54be42cbbbbbb3bd6c75d1ec0a36cb97e23"}, +] +cocotb-test = [] colorama = [ {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, diff --git a/gateware/pyproject.toml b/gateware/pyproject.toml index 2822d27..9ec139f 100644 --- a/gateware/pyproject.toml +++ b/gateware/pyproject.toml @@ -18,6 +18,9 @@ luna = {git = "https://github.com/greatscottgadgets/luna.git", branch="main"} lambdasoc = {git = "https://github.com/nelgau/lambdasoc.git", branch="fix-compiler-rt"} litex = {git = "https://github.com/enjoy-digital/litex"} litedram = {git = "https://github.com/enjoy-digital/litedram.git"} +# Cosimulation testing dependencies +cocotb = "^1.7.1" +cocotb-test = {git = "https://github.com/nelgau/cocotb-test.git", branch="master"} [tool.poetry.dev-dependencies] pytest = "^5.2"