task bit_dec(bit b);
if(b)
begin
`define GC_TAG_ADDR_RANGE 35:16
`define GC_TAG_WIDTH 20
end
else
begin
`define GC_TAG_ADDR_RANGE 35:17
`define GC_TAG_WIDTH 19
end
in this condition, even b value is 1, GC_TAG_WIDTH and GC_TAG_ADDR_RANGE value getting 19 and 35:17 respectively. can anyone suggest the way to control the `define value depending on the requirement?