Navigation Menu

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
Labels
area: wrong runtime result Issue involves an incorrect runtine result from Verilated model resolution: fixed Closed; fixed

Comments

@veripoolbot
Copy link
Contributor


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


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


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


Fixed in git; never in release.

@veripoolbot veripoolbot added area: wrong runtime result Issue involves an incorrect runtine result from Verilated model resolution: fixed Closed; fixed labels Dec 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: wrong runtime result Issue involves an incorrect runtine result from Verilated model resolution: fixed Closed; fixed
Projects
None yet
Development

No branches or pull requests

1 participant