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

$clog2 returns wrong value #81

Closed
veripoolbot opened this issue May 2, 2009 · 2 comments
Closed

$clog2 returns wrong value #81

veripoolbot opened this issue May 2, 2009 · 2 comments
Assignees
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: patricio kaplan
Original Redmine Issue: 81 from https://www.veripool.org
Original Date: 2009-05-02
Original Assignee: Wilson Snyder (@wsnyder)


module top;
initial $display ("l=%d", $clog2(4));
endmodule

In vcs I get 2, in verilator I get 3.

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2009-05-02T02:20:26Z


Fixed in GIT for next release.

Thanks for bugging it.

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2009-05-02T11:57:29Z


In 3.703.

@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

2 participants