Bugfix in partsel.v signed indices test cases
authorClaire Wolf <claire@symbioticeda.com>
Fri, 1 May 2020 15:26:07 +0000 (17:26 +0200)
committerClaire Wolf <claire@symbioticeda.com>
Sat, 2 May 2020 09:21:01 +0000 (11:21 +0200)
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
tests/simple/partsel.v

index dd66ded55f9e91225cd3d99167e2f6b47fc2f3d2..5e9730d6bd14694924aa7fd7a4bf5e878e4ee500 100644 (file)
@@ -89,7 +89,7 @@ module partsel_test005 (
 endmodule
 
 module partsel_test006 (
-       input [31:0] din,
+       input [31:-32] din,
        input signed [4:0] n,
        output reg [31:-32] dout
 );
@@ -101,7 +101,7 @@ endmodule
 
 
 module partsel_test007 (
-       input [31:0] din,
+       input [31:-32] din,
        input signed [4:0] n,
        output reg [31:-32] dout
 );