Last active
July 9, 2017 23:59
-
-
Save hikalium/a721e6dba19550d573f0df787df92993 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module check(); | |
reg signed [15:0] a,b,c; | |
initial begin | |
b = 16'hffdd; // -35 | |
c = 16'h02; | |
a = b >>> c; // c will be -9 = 16'fff7 | |
$display("%x", a); | |
$finish; | |
end | |
endmodule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment