elseif(buf_wr||buf_rd)buf_raddr<=buf_raddr+1;// Separate read/write address? read address re-registered @ negedge //SuppressThisWarning ISExst Result of 10-bit expression is truncated to fit in 9-bit target.
if(rst)run_chn_d<=0;
elseif(run_seq)run_chn_d<=run_chn;
if(rst)run_seq_d<=0;
elserun_seq_d<=run_seq;
end
// re-register buffer write address to match DDR3 data