是的,不一样的。
cond:=openint="if00$openint" cond 的计算结果非0即1
if openint="if00$openint" then cond:=1 条件成立,cond的赋值为1 ,否则不重新赋值,即等于之前的cond或者上一周期的cond(具体等于多少看具体情况)
我靠,lee兄厉害!
我tnnd掉进了个好难察觉的陷阱,应该是
cond:=openint="if00$openint";
和
datt:=0;//差了这一句,结果多出了两个信号
if openint="if00$openint" then datt:=1;
这两句才是等价的。