出错的RTL代码如下:
always @ (posedge clk or negedge rst_n) begin
if (~rst_n || ~arst || ~ena)
.....................
else
.....................
在综合的时候ERROR描述如下:
Error: the expression in the reset condition of the "if" statement in this "always" block can only be a simple identifier
or its negation。