Skip to content

Commit 5d70678

Browse files
committed
add_mux -> add_enable_cond and add_mux. add_cond -> add_disable_cond
1 parent b8853cf commit 5d70678

File tree

18 files changed

+65
-77
lines changed

18 files changed

+65
-77
lines changed

tests/extension/thread_/stream_counter_stall/thread_stream_counter_stall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def mkLed():
4444
count.inc()
4545
)
4646

47-
util.add_cond(strm.stream_oready, 1, count == 0)
47+
util.add_disable_cond(strm.stream_oready, 1, count == 0)
4848

4949
def comp_stream(size, offset):
5050
strm.set_source('a', ram_a, offset, size)

tests/extension/thread_/stream_linebuffer2d_2_stall/thread_stream_linebuffer2d_2_stall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def mkLed():
6464
count.inc()
6565
)
6666

67-
util.add_cond(strm.stream_oready, 1, count == 0)
67+
util.add_disable_cond(strm.stream_oready, 1, count == 0)
6868

6969
# for sequential
7070
ram_bufs = [vthread.RAM(m, 'ram_buf' + str(i), clk, rst, datawidth, addrwidth)

tests/extension/thread_/stream_linebuffer2d_stall/thread_stream_linebuffer2d_stall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def mkLed():
5858
count.inc()
5959
)
6060

61-
util.add_cond(strm.stream_oready, 1, count == 0)
61+
util.add_disable_cond(strm.stream_oready, 1, count == 0)
6262

6363
def comp_stream(width, height, offset):
6464
strm.set_source('dummy_src', ram_dummy_src, offset, width * height * 2 * 2)

tests/extension/thread_/stream_linebuffer3d_stall/thread_stream_linebuffer3d_stall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def mkLed():
6161
count.inc()
6262
)
6363

64-
util.add_cond(strm.stream_oready, 1, count == 0)
64+
util.add_disable_cond(strm.stream_oready, 1, count == 0)
6565

6666
def comp_stream(channel, width, height, offset):
6767
strm.set_source('dummy_src', ram_dummy_src, offset, channel * width * height * 2 * 2)

tests/extension/thread_/stream_multipattern_stall/thread_stream_multipattern_stall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def mkLed():
5353
count.inc()
5454
)
5555

56-
util.add_cond(strm.stream_oready, 1, count == 0)
56+
util.add_disable_cond(strm.stream_oready, 1, count == 0)
5757

5858
def comp_stream():
5959
strm.set_source_multipattern('a', ram_a, offsets, patterns)

tests/extension/thread_/stream_read_modify_write_stall/thread_stream_read_modify_write_stall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def mkLed():
4747
count.inc()
4848
)
4949

50-
util.add_cond(strm.stream_oready, 1, count == 0)
50+
util.add_disable_cond(strm.stream_oready, 1, count == 0)
5151

5252
def comp_stream(numbins, size, offset):
5353
for i in range(numbins):

tests/extension/thread_/stream_read_ram_stall/thread_stream_read_ram_stall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def mkLed():
4343
count.inc()
4444
)
4545

46-
util.add_cond(strm.stream_oready, 1, count == 0)
46+
util.add_disable_cond(strm.stream_oready, 1, count == 0)
4747

4848
def comp_stream(size, offset):
4949
strm.set_source('a', ram_a, offset, size)

tests/extension/thread_/stream_reduce_stall/thread_stream_reduce_stall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def mkLed():
3737
count.inc()
3838
)
3939

40-
util.add_cond(strm.stream_oready, 1, count == 0)
40+
util.add_disable_cond(strm.stream_oready, 1, count == 0)
4141

4242
def comp_stream(size, offset):
4343
strm.set_source('a', ram_a, offset, size)

tests/extension/thread_/stream_ringbuffer_stall/thread_stream_ringbuffer_stall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def mkLed():
4545
count.inc()
4646
)
4747

48-
util.add_cond(strm.stream_oready, 1, count == 0)
48+
util.add_disable_cond(strm.stream_oready, 1, count == 0)
4949

5050
def comp_stream(size, offset):
5151
strm.set_source('a', ram_a, offset, size * 2)

tests/extension/thread_/stream_scratchpad_stall/thread_stream_scratchpad_stall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def mkLed():
4848
count.inc()
4949
)
5050

51-
util.add_cond(strm.stream_oready, 1, count == 0)
51+
util.add_disable_cond(strm.stream_oready, 1, count == 0)
5252

5353
def comp_stream(size, offset):
5454
strm.set_source('a', ram_a, offset, size * 2)

0 commit comments

Comments
 (0)