VerilogLanguageExtension icon indicating copy to clipboard operation
VerilogLanguageExtension copied to clipboard

localparam declaration missing hover text

Open gojimmypi opened this issue 5 years ago • 1 comments

for example, the second line here should have the ctr_width declaration as hover text: value ctr_width = 24:

    localparam ctr_width = 24;
    localparam ctr_max = 2**ctr_width - 1;

gojimmypi avatar Nov 29 '19 23:11 gojimmypi

this is a known issue. workaround is to place a space after the * as the current logic does not properly distinguish comment chars: // and /* and */

    localparam ctr_width = 24;
    localparam ctr_max = 2** ctr_width - 1;

gojimmypi avatar Jan 02 '20 20:01 gojimmypi