1
0
mirror of synced 2026-04-30 21:50:07 +00:00

sv: fix size cast clipping expression width

This commit is contained in:
Zachary Snow
2021-12-30 00:01:30 -07:00
committed by Zachary Snow
parent cb17eeaf50
commit 8c509a5659
3 changed files with 11 additions and 1 deletions

View 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