sv: fix size cast clipping expression width
This commit is contained in:
committed by
Zachary Snow
parent
cb17eeaf50
commit
8c509a5659
7
tests/simple/lesser_size_cast.sv
Normal file
7
tests/simple/lesser_size_cast.sv
Normal file
@@ -0,0 +1,7 @@
|
||||
module top (
|
||||
input signed [1:0] a,
|
||||
input signed [2:0] b,
|
||||
output signed [4:0] c
|
||||
);
|
||||
assign c = 2'(a) * b;
|
||||
endmodule
|
||||
Reference in New Issue
Block a user