Can I multiply real number with bit signed [15:0]?
In reply to saritr:
module test;
bit signed [15:0] a = -10;
real b;
initial
begin
b = 3 * a;
$display(" value of a is “,a);
$display(” value of b is %f ",b);
end
endmodule
Can I multiply real number with bit signed [15:0]?
In reply to saritr:
module test;
bit signed [15:0] a = -10;
real b;
initial
begin
b = 3 * a;
$display(" value of a is “,a);
$display(” value of b is %f ",b);
end
endmodule