alam.tauqueer
Full Member level 2
Hi All,
Can anyone tell me what is the meaning of $clog2 in SV??
Please tell me the usage also and where I can get the information on it??
I have a expression like
localparam param1 = 2'h2;
localparam param2 = 4'h8;
logic [$clog2(param1*int'(param2))-1:0] out1;
regards,
tauqueer
Can anyone tell me what is the meaning of $clog2 in SV??
Please tell me the usage also and where I can get the information on it??
I have a expression like
localparam param1 = 2'h2;
localparam param2 = 4'h8;
logic [$clog2(param1*int'(param2))-1:0] out1;
regards,
tauqueer