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

Verilator bug in extending $signed #733

Closed
veripoolbot opened this issue Apr 6, 2014 · 2 comments
Closed

Verilator bug in extending $signed #733

veripoolbot opened this issue Apr 6, 2014 · 2 comments

Comments

@veripoolbot
Copy link
Contributor

@veripoolbot veripoolbot commented Apr 6, 2014


Author Name: Clifford Wolf (@cliffordwolf)
Original Redmine Issue: 733 from https://www.veripool.org
Original Date: 2014-04-06


The following module should output 4'b1111 but Verilator GIT 14fcfd8 outputs 4'b0001 instead.

module issue_005(y);
  wire [3:0] a;
  output [3:0] y;
  assign a = 4'b0010;
  assign y = $signed(|a);
endmodule

A self-contained test can be found here:

http://svn.clifford.at/handicraft/2014/verilatortest/ test003.{v,cc,sh}

@veripoolbot
Copy link
Contributor Author

@veripoolbot veripoolbot commented Apr 7, 2014


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2014-04-07T02:02:04Z


This was caused by the fix for #�, and did not exist in previous versions.

Please see notes in #�.

@veripoolbot
Copy link
Contributor Author

@veripoolbot veripoolbot commented Apr 8, 2014


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2014-04-08T01:34:08Z


Fixed in git; never in release.

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

Successfully merging a pull request may close this issue.

None yet
1 participant