Creating a 2-D net array in verilog
<p>I was trying to write a program using 2-D net array. But when the code is checked it shows an error (expecting ';', found '['). How should I declare a 2d net array and how to use it ?</p>

<p>Below is the simple code for I written for verification (shows the above error).</p>

<pre><code>module bin(a);
input [0:1] a[0:2];
endmodule
</code></pre>