You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo-commands on
initialize
watchall
channel L e:0 :0 d:2
channel R e:0 :0 d:2
channel-sink R
channel-expect-args R 1 1 1 1 1
channel-rsource L
channel-reset-all
set Reset 1
cycle
set Reset 0
channel-show-all
channel-source-args L 1 1 1 1 1
channel-release-all
channel-show-all
cycle
prsim> source test.prsimrc
# initialize
# watchall
# channel L e:0 :0 d:2
# channel R e:0 :0 d:2
# channel-sink R
# channel-expect-args R 1 1 1 1 1
# channel-rsource L
# channel-reset-all
# set Reset 1
# cycle
0 Reset : 1
10 L.f : 0
10 L.t : 0
10 R.e : 0
10 L.e : 0 [by Reset:=1]
20 dut._R.d[0] : 1 [by R.e:=0]
20 dut._R.d[1] : 1 [by R.e:=0]
30 R.f : 0 [by dut._R.d[0]:=1]
30 R.t : 0 [by dut._R.d[1]:=1]
# set Reset 0
# channel-show-all
channels:
L : .e(init:0) 1x1of2 source-random,stopped, timing: global
R : .e(init:0) 1x1of2 sink,expect,stopped, timing: global {1,1,1,1,1,} @0
# channel-source-args L 1 1 1 1 1
Warning: reconfiguring channel from old source to new source.
# channel-release-all
# channel-show-all
channels:
L : .e(init:0) 1x1of2 source, timing: global {0,1,1,1,1,1,} @0
R : .e(init:0) 1x1of2 sink,expect, timing: global {1,1,1,1,1,} @0
# cycle
30 Reset : 0
40 R.e : 1
40 L.e : 1 [by Reset:=0]
50 L.f : 1 [by L.e:=1]
60 dut._R.d[0] : 0 [by L.f:=1]
channel-assert: value assertion failed on channel R, expected: 1, but got: 0
70 R.f : 1 [by dut._R.d[0]:=0]
ERROR: value assertion failed on channel `R' at index [0].
expected: 1, got: 0
... at line 17
Error encountered during source "test.prsimrc".
error at line 1
The text was updated successfully, but these errors were encountered:
L : .e(init:0) 1x1of2 source, timing: global {0,1,1,1,1,1,} @0
Where does that stray leading 0 come from?
fangism
changed the title
Source that was never released puts token on channel
channel-source-args doesn't completely reset previous channel-rsource effect
Jul 25, 2016
The text was updated successfully, but these errors were encountered: