if(int_ctl) 等价于 if(int_ctl == 1);if(~int_ctl)等价于 if(int_ctl == 0);~是按位取反,而!是逻辑取反举个例,若data宽度为2,设值为2‘b10,则!data 值为0,~data为2'b01