File tree Expand file tree Collapse file tree 5 files changed +16
-15
lines changed
ramlib/la_asyncfifo/testbench Expand file tree Collapse file tree 5 files changed +16
-15
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 44from 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 = [
4444testpaths = [
4545 " tests"
4646]
47- timeout = " 60 "
47+ timeout = " 300 "
Original file line number Diff line number Diff line change 11import pytest
22
3- from lambdalib .ramlib .la_asyncfifo .testbench import tb_la_asyncfifo
4-
53
64@pytest .mark .eda
75def test_la_asyncfifo ():
6+ from lambdalib .ramlib .la_asyncfifo .testbench import tb_la_asyncfifo
87 tb_la_asyncfifo .load_cocotb_test ()
You can’t perform that action at this time.
0 commit comments