File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ async def test_almost_full(dut):
67
67
# Almost full should be low before writing to FIFO
68
68
assert dut .wr_almost_full .value == 0
69
69
70
- # Write to FIFO
70
+ # Write to FIFO
71
71
for i in range (0 , almost_full_level ):
72
72
await fifo_source .send (i )
73
73
@@ -165,9 +165,7 @@ async def fifo_rd_wr_test(
165
165
def test_la_asyncfifo ():
166
166
chip = siliconcompiler .Chip ("la_asyncfifo" )
167
167
168
- # TODO: Ask Peter how to set la_asyncfifo path
169
- # such that it can be found by pytest and when run locally
170
- chip .input ("../rtl/la_asyncfifo.v" )
168
+ chip .input ("ramlib/rtl/la_asyncfifo.v" , package = 'lambdalib' )
171
169
chip .use (ramlib )
172
170
173
171
for depth in [2 , 4 , 8 ]:
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def run_cocotb(
36
36
37
37
results_xml = None
38
38
# Need to check if we are running inside of pytest. See link below.
39
- # https://github.com/cocotb/cocotb/blob/d883ce914063c3601455d10a40f459fffa22d8f2/cocotb/runner.py#L313
39
+ # https://github.com/cocotb/cocotb/blob/d883ce914063c3601455d10a40f459fffa22d8f2/cocotb/runner.py#L313
40
40
if not os .getenv ("PYTEST_CURRENT_TEST" , None ):
41
41
results_xml = build_dir / "results.xml"
42
42
test_dir = top_level_dir
@@ -58,6 +58,7 @@ def run_cocotb(
58
58
test_dir = test_dir ,
59
59
results_xml = results_xml ,
60
60
build_dir = build_dir ,
61
+ timescale = timescale ,
61
62
waves = True
62
63
))
63
64
You can’t perform that action at this time.
0 commit comments