title: Using parameters to create constant in verilog
body: <p>I want to take in a parameter and assign a number of zeroes equal to the paramter to a constant, and use this constant for comparison. how do I do it ? </p>
  
  <p>For example, say parameter is 3, I want to create a constant </p>
  
  <pre><code>n=3'b000;
  </code></pre>
  
  <p>and use this n in another statement. Only thing is, I don't know n. How do i initialize 'n' zeroes and to what verilog data type do I assign it to ?</p>