# "channel-test-b-14.prsimrc"
# copy-modified from "channel-test-b-07.prsimrc"
# @haco@ channel-test-b.haco-a
# @deps@ channel-dont-cares.txt
# testing source/sinks on different channels
# adding expect, not looped, should run out of asserts

source channel-test-b-01.prsimrc

channel-source-loop L channel-dont-cares.txt
channel-sink R
channel-expect-loop R channel-dont-cares.txt
channel-show L
channel-show R
channel-watchall

channel-reset-all
channel-show L
channel-show R
cycle
channel-show L
channel-show R
assert L.d[0] 0
assert L.d[1] 0
assert L.e 1
assert R.d[0] 0
assert R.d[1] 0
assert R.e 0

channel-unwatchall
watch L.e R.e
channel-release-all
queue

# because data is random
nocause

step 50
assert-queue
time
channel-show L
channel-show R

step 80
time
assert-queue
channel-show L
channel-show R
echo R is still asserting...

