33. Data Types

Question.6

What is the exact 8-bit binary pattern assigned to val_b?

reg [3:0] val_a = 4'b1100; // Unsigned default
wire signed [7:0] val_b;

assign val_b = $signed(val_a);

 

Need Help? Refer to the Quick Guide below

Select Answer