Skip to content

Commit bf93d39

Browse files
committed
WIP: debuging
1 parent 834a4a9 commit bf93d39

File tree

5 files changed

+16
-15
lines changed

5 files changed

+16
-15
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,14 @@ jobs:
8282
container: ghcr.io/siliconcompiler/sc_runner:latest
8383
steps:
8484
- name: Check out Git repository
85-
uses: actions/checkout@v4
85+
uses: actions/checkout@v5
8686
- name: Run tests
8787
run: |
8888
python3 -m venv .venv
8989
. .venv/bin/activate
9090
9191
pip install --upgrade pip
92-
pip install .[dev]
92+
pip install -e .[dev]
9393
94-
pytest -n logical -m "eda"
94+
#pytest $GITHUB_WORKSPACE -n logical -m "eda"
95+
pytest -n logical -m "eda" --verbose

lambdalib/__init__.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
from siliconcompiler.library import LibrarySchema
55

66
# individual modules
7-
from . import auxlib
8-
from . import fpgalib
9-
from . import iolib
10-
from . import padring
11-
from . import stdlib
12-
from . import ramlib
13-
from . import veclib
7+
from lambdalib import auxlib
8+
from lambdalib import fpgalib
9+
from lambdalib import iolib
10+
from lambdalib import padring
11+
from lambdalib import stdlib
12+
from lambdalib import ramlib
13+
from lambdalib import veclib
1414

1515
__version__ = "0.5.0"
1616

lambdalib/ramlib/la_asyncfifo/testbench/tb_la_asyncfifo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ def load_cocotb_test():
171171
"DW": 32,
172172
"DEPTH": depth
173173
},
174-
output_dir_name=test_name
174+
output_dir_name=test_name,
175+
waves=False
175176
)
176177
assert (tests_failed == 0), f"Error test {test_name} failed!"
177178

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dev = [
3333
"pytest == 8.4.2",
3434
"pytest-xdist==3.8.0",
3535
"pytest-timeout == 2.4.0",
36-
"cocotb == 2.0.0",
36+
"cocotb @ git+https://github.com/cocotb/cocotb.git@770d72214362cb366097267873839f50c69e417e",
3737
"cocotb-bus @ git+https://github.com/cocotb/cocotb-bus.git@c53c6024391fa02263969b02a0e0de5a22974cfc"
3838
]
3939

@@ -44,4 +44,4 @@ markers = [
4444
testpaths = [
4545
"tests"
4646
]
47-
timeout = "60"
47+
timeout = "300"

tests/test_cocotb_runner.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import pytest
22

3-
from lambdalib.ramlib.la_asyncfifo.testbench import tb_la_asyncfifo
4-
53

64
@pytest.mark.eda
75
def test_la_asyncfifo():
6+
from lambdalib.ramlib.la_asyncfifo.testbench import tb_la_asyncfifo
87
tb_la_asyncfifo.load_cocotb_test()

0 commit comments

Comments
 (0)