Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALU 有问题 #1

Open
Rui-Tang opened this issue May 20, 2016 · 1 comment
Open

ALU 有问题 #1

Rui-Tang opened this issue May 20, 2016 · 1 comment

Comments

@Rui-Tang
Copy link

Rui-Tang commented May 20, 2016

A = 32'h8000_0000
B = 32'h8000_0000
这个时候溢出,结果为0,但是你们的符号位是有问题的
image

@Rui-Tang
Copy link
Author

同样我测试
A = 32'h7ffff_ffff
B = 32'h7fff_ffff
0 符号位也出现了错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant