title: How can I set a full variable constant?
body: <p>When the number size is variable and thus must be set by parameter, how can I set the maximum number? In the following, the result must be "FFFF", but the simulator returns just "F". Could anyone fix this problem?</p>
  
  <pre><code>`define SIZE 10
  module tb1;
      reg [15:0] a;
  
      initial begin
          a = `SIZE'hF;
          $display("a=%h",a);
      end
  endmodule
  </code></pre>