-if and else always@(*)begin if(rst) a = 0; else if(c1) a = in1; end. 像以上這樣,所以要嘛把條件寫滿,或者給初始值,各舉一個例子. 條件寫滿:
確定! 回上一頁