if(avalon_writedata[7:0] >= P_NUM_CHANNELS) begin $display("ERROR: Out of range access to channel select (%m, %t)", $time); end
Add a code snippet to your website: www.paste.org